Linux - HOW-TO compile XBMC from a GIT source

  Thread Rating:
  • 12 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
neil.j1983 Offline
Donor
Posts: 589
Joined: Jun 2009
Reputation: 28
Post: #166
i hope you don't mind, but for a few days i'm gonna leave it as it is!

next time (probably a week or so) i'll do it with the libnfs compile too.
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #167
No I dont mind mate its up to you, you only need to compile NFS if you have use for it...

I dont wanna pressure you please don't get the wrong idea.

Ill be here, gimme a holler btw I rep you up before check you user cp

Im glad it was simpler to solve and Im glad that you have it working... Trully.
find quote
neil.j1983 Offline
Donor
Posts: 589
Joined: Jun 2009
Reputation: 28
Post: #168
did a compile of gnif's audio engine, that compiled fine.
and did a compile including libnfs, that works fine.

regards.
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #169
Thats was a short few days... Wink

excellent. Ive updated the nvidia drivers on my ppa to latest stable, feel free if you want to.
find quote
dg69 Offline
Junior Member
Posts: 20
Joined: Apr 2010
Reputation: 0
Location: Sydney, Australia
Post: #170
@X3lectric... just wanted to say thanks for your efforts, I would have been lost in the world of linux without your help Smile
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #171
@ dg69 your welcome.
find quote
m3g4tr0n Offline
Senior Member
Posts: 141
Joined: Jan 2010
Reputation: 0
Post: #172
getting error below...any solution?

Code:
root@XBMCLive:~/setup/xbmc/lib/libnfs# make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make: Entering directory `/root/setup/xbmc/lib/addons/script.module.pil'
make: *** No targets specified and no makefile found. Stop.
make: Leaving directory `/root/setup/xbmc/lib/addons/script.module.pil'
root@XBMCLive:~/setup/xbmc/lib/libnfs#

inside script.module.pil directory there's a Makefile.in file
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #173
try
Code:
git reset --hard
git clean -xfd
and compile again.
find quote
m3g4tr0n Offline
Senior Member
Posts: 141
Joined: Jan 2010
Reputation: 0
Post: #174
done that

Code:
root@XBMCLive:~/setup/xbmc# git reset --hard
HEAD is now at f70c522 fixed: don't use frametime here for sanity
root@XBMCLive:~/setup/xbmc# git clean -xfd
Removing Makefile.include
Removing addons/script.module.pil/lib/
Removing lib/libnfs/.gitignore
Removing lib/libnfs/libnfs-48593f5.tar.gz
Removing lib/libnfs/libnfs-48593f5/
root@XBMCLive:~/setup/xbmc#

should i skip this and just compile xbmc?
make -C $HOME/setup/xbmc/lib/addons/script.module.pil
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #175
does it error out after this?
find quote
m3g4tr0n Offline
Senior Member
Posts: 141
Joined: Jan 2010
Reputation: 0
Post: #176
yes still gave the same error. but doing it manually inside the script.module.pil directory works

Code:
cd $HOME/setup/xbmc/lib/addons/script.module.pil

and then

Code:
curl -Ls --output Imaging-1.1.7.tar.gz http://www.effbot.org/downloads/Imaging-1.1.7.tar.gz
rm -rf Imaging-1.1.7
tar xf Imaging-1.1.7.tar.gz
rm -rf /root/setup/xbmc/addons/script.module.pil/lib/PIL
pushd Imaging-1.1.7 && /usr/bin/python setup.py build --build-lib /root/setup/xbmc/addons/script.module.pil/lib/PIL; popd

can you check if it's okay http://pastebin.com/pRr8wv2z

will any of these cause trouble?

--------------------------------------------------------------------
*** TKINTER support not available
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #177
dont know.

\\see below
(This post was last modified: 2011-08-03 15:54 by X3lectric.)
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #178
try this.

Code:
stop xbmc-live
cd $HOME/setup/xbmc
make distclean
git reset --hard
git clean -xfd
git pull --rebase
cd $HOME/setup/xbmc/lib/libnfs/
make -j4; make install
cd $HOME/setup/xbmc
./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse --disable-crystalhd
cd $HOME/setup/xbmc
make -j4
make -C $HOME/setup/xbmc/lib/addons/script.module.pil
make install prefix=/usr
start xbmc-live

thats from frst post see how the make -C pil is after xbmc make, since then it actually builds all make files.
find quote
X3lectric Offline
Closed Account
Posts: 1,756
Joined: Feb 2006
Location: in a Dropbox
Post: #179
ANNOUCEMENT

Corrected MAIN POST manual instruction and script so pil is always built with no errors.

especially since we are weeding out with git clean -xfd which and makedisclean which remove all makefiles form GIT dir.

Only after command make is executed, then all makefiles are created for all components that are part of the GIT build.

all is well.

cheers.
find quote
boykster Offline
Senior Member
Posts: 205
Joined: Nov 2009
Reputation: 16
Post: #180
Nice work!
find quote
Post Reply