Linux HOW-TO Compile Kodi from GIT - Script - - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110) +--- Thread: Linux HOW-TO Compile Kodi from GIT - Script - (/showthread.php?tid=142337) |
RE: HOW-TO Compile XBMC from GIT - Script - - mikebzh44 - 2012-12-11 Thanks. Yes, as I develop some mod or script, I need to test it under Eden and Frodo and under different OS. For windows, it's very easy with portable mode. Too bad that linux did not provide such a mode. I will try compile Frodo with your script with --prefix=/usr/local And I think I will make an other script to start XBMC Eden or Frodo (depending on parameter) and copy/rename userdata folder. RE: HOW-TO Compile XBMC from GIT - Script - - ab5031 - 2012-12-19 Thanks for the great job. It's working for me. I upgraded ASROCK ION-3D 525 + Ubuntu 10.10 + XBMC from ppa to XBMC 12.0 RC1 . Only one problem. XBMC did not autostart. I insert /etc/init.d script (from here: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_for_Linux) but when it start xbmc could not find any sound device. But when I manual start script by command from keyboard (sudo /etc/init.d/xbmc start) everything working fine. Any idea to fix this? RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2012-12-19 I dont get any result on that link you posted to wiki, but I would presume its a old script. Try this: xbmc autostart via upstart/xinit http://forum.xbmc.org/showthread.php?tid=143844&pid=1225202#pid1225202 If your page you followed was http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_for_Linux you need to undo all the things you did before using new one That is way unnecessary way to autostart xbmc anyway and you probbably made a mistake somewhere or those are wrong, I wouldn't know either way since I use what I pointed you towards. uNi RE: HOW-TO Compile XBMC from GIT - Script - - ab5031 - 2012-12-19 Many thanks for so quick reply. Yes - it's working. again BUT - in this case not working "power-off system" only "exit", "suspend' and 'hibernate" were appear. This happen also if I indicate user: RUN_AS=root (not xbmc) in wiki Init Script. Wiki script is better for me due to all previouse XBMC settings stay in forse in this case. Also simlink to xbmc-live present in /etc/init.d. May be this is a problem? RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2012-12-19 No idea xbmc-live is no longer used and I dont use it anymore, Everything works for me with what I use. Including hibernate suspend shutdown etc. etc. There is no need in any scenario to run as root, so I have no idea what it is that you are trying to do, but Im sure you cant be doing it properly if you have so many problems. In the link I posted it includes proper user groups/permission for the user running xbmc and this is needed for proper operation of XBMC. Code: sudo usermod --group adm,sudo,cdrom,audio,video,plugdev,fuse xbmc Where xbmc above is the user running xbmc, in my case the user is called xbmc for both simplicity and because the HTPC is only running XBMC. To have proper xbmc power functions you also need in addition. make a custom-actions.pkla in /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla Code: [Actions for xbmc user] Given that I dont think you installed and configured your system properly my suggestion is to use this Minimal Ubuntu install + XBMC -Script- And then remove xbmc and compile ontop, which is basically what you need to do. Or continue banging your head. uNi RE: HOW-TO Compile XBMC from GIT - Script - - ab5031 - 2012-12-20 Thanks again for your reply. Yes I will follow your advice and install Ubuntu minimal + XBMC. Just last question - is it any way to transfer XBMC setting to the new installation? RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2012-12-20 You can backup your userdata folder. http://wiki.xbmc.org/index.php?title=userdata uNi RE: HOW-TO Compile XBMC from GIT - Script - - ab5031 - 2012-12-21 Hello again! I solved my previouse issue were XBMC could not find audo device. I just reinstall alsa-utils by apt-get. So now everything working perfect. Also I forgot indicate that I using NVIDIA provided (from here) video driver which give as for me better picture and libbluray I installed from git (from here) Thanks again for script Regards, Alex RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2012-12-21 Glad you solved your problem FYI Nvidia drivers should be from x-swat ppa https://launchpad.net/~ubuntu-x-swat/+archive/x-updates And libbruray you just add --enable-libbluray to the ./configure options in the script (its on the main post all the useful ./configure options, there is absolutely no need to compile it from videolan all dependencies are already installed via script. uNi RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2013-02-24 Updated to work with xbmcbuntu uNi RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2013-04-11 God this thread is so popular I need my own subforums just fro this. uNi RE: HOW-TO Compile XBMC from GIT - Script - - tesona1977 - 2013-04-13 hey uNiversal... what about a to wrap this up in a "real" debian package? all the dependencies goes into the control file...all the makes goes into the rules file...and thats it. reproducable...clean...and a good way to hand your own xbmc version to a friend. and its also pretty easy and clean to uninstall all this stuff if you need to. EDIT: something i forgot. you can use git-buildpackage to automatically fetch git and built the package....very smart....isnt it http://packages.debian.org/squeeze/git-buildpackage RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2013-04-13 Feel free to do it and post it. uNi RE: HOW-TO Compile XBMC from GIT - Script - - Dashiva - 2013-04-17 Something bad happened during upgrade. Started with a fresh install from http://forum.xbmc.org/showthread.php?tid=141369 post 1. After that i followed the guide here in post 1. Everything starts ok, but after a while it halts with the following error message. checking for main in -ljpeg... yes checking for main in -ltiff... no configure: error: Could not find a required library. Please see the README for your platform. start: Unknown job: xbmc-live I'm lost.... how to proceed? The system I'm using is an Asrock 330HT with 64Gb ssd and 4 Gb RAM Thanks in advance! Regards /Dashiva RE: HOW-TO Compile XBMC from GIT - Script - - un1versal - 2013-04-17 ah sorry about that its missing libtiff-dev which was added recently but somehow I missed it. do: Code: sudo apt-get install libtiff-dev libtiff5-dev libtiff4-dev -y Code: sudo ./gcs.sh update Main post will be updated shortly. --**edit. Done its should be all right now Code: wget http://pastebin.com/raw.php?i=jMYunGNE -O ~/gcs.sh is the latest. note, you need to have run the previous script but have edited out the ppa so that xbmc doesnt get installed from ppa, however this script will overrite those files, I removed the ppa from the minimal install script and when it came to xbmc used this instead. The point is, you need to run the minimal ubuntu install script because at least the autostart of xbmc (via xinit in my case) and other tweaks will be done that this doesnt do. uNi |