Linux Make fails on XBMCProjectm when compiling.... - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux Make fails on XBMCProjectm when compiling.... (/showthread.php?tid=132734) Pages:
1
2
|
Make fails on XBMCProjectm when compiling.... - hogfan - 2012-05-30 I am trying to update my XBMC installation by compiling from Git. I had not problems installing this way on my Mint LMDE machine. However, when I try to to do this on my Ubuntu Oneiric mini installation, make bombs out on ProjectM. I was not happy to see this when I came back home after leaving this compiling for several hours on my Atom box. I ran this to downloaded the latest from Git and compile as I did on my LMDE machine. Code: sudo apt-get update I am compiling myself because my Atom machine crashes launching XBMC after updating via a nightly PPA. After searching around I discovered that other users have this working when compiling with pulse audio disabled. My XBMC Crashlog was showing the audio engine failing to load, so I'm sure compiling with Pulseaudio disabled will resolve this. I do not want to use XBMCbuntu because I CANNOT deal with recompiling the Xbox dvd dongle driver for LIRC. It is a huge pain! Here are the lines where the "make" fails. Error2 means nothing to me. Can somebody provide some insight as to what the issue is with projectm so that I can get the make to complete successfully? I don't even care if I have ProjectM or not at the moment. Last time a checked the TRAC ticket on it was low priority for it screwing up the display by cutting off parts of the screen. Is there somewhere I should be looking to see what the problem is? I very much dislike un-useful error messages that don't point to the problem. Any help is appreciated. Code: xbmc@XBMC:~/xbmc$ make[1]: *** [libprojectM/libprojectM.so] Error 2 -hogfan RE: Make fails on XBMCProjectm when compiling.... - spiff - 2012-05-30 the snippet tells us exactly what you have told us - it fails. we need the actual error, not the lines telling it failed 2 levels down the tree.. RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-05-30 I guess I wasn't able to find the error in all the lines of the compile. I'll run it again while I'm at work today and post results on pastebin and link here this evening. -hogfan RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-05-31 Ok, here is the pastebin link to the failed compile: http://pastebin.com/raw.php?i=292nTq5N RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-05-31 Ok, it looks like it's complaining about not finding a rule to build the target file, but I'm not sure how to fix it. Any help appreciated. Code: make[1]: Entering directory `/home/xbmc/xbmc/xbmc/visualizations/XBMCProjectM' -hogfan RE: Make fails on XBMCProjectm when compiling.... - wsnipex - 2012-05-31 it doesn't find /usr/lib/i386-linux-gnu/libGL.so on x64 that lib is located in /usr/lib/x86_64-linux-gnu/mesa/libGL.so, so on i386 it is probably /usr/lib/i386-linux-gnu/mesa/libGL.so create a symlink: Code: ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so /usr/lib/i386-linux-gnu/libGL.so RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-05-31 Hmm. I tried creating the link, but it says that file exists: Code: xbmc@XBMC:~$ ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so /usr/lib/i386-linux-gnu/libGL.so So if it exists, why can't it find it? -hogfan RE: Make fails on XBMCProjectm when compiling.... - wsnipex - 2012-05-31 checked again on my x64 system. mesa/libGL.so is a symlink too, which again points to another symlink :lol: lrwxrwxrwx 1 root root 13 Mar 30 13:18 /usr/lib/x86_64-linux-gnu/libGL.so -> mesa/libGL.so lrwxrwxrwx 1 root root 10 Mar 30 13:18 /usr/lib/x86_64-linux-gnu/mesa/libGL.so -> libGL.so.1 lrwxrwxrwx 1 root root 12 Mar 30 13:18 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 -> libGL.so.1.2 -rw-r--r-- 1 root root 390352 Mar 30 13:18 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2 make sure that the symlink chain points to the real lib. btw, there are a couple of openGL related libs this those dirs, you might need to check them too. RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-06-02 Ok, I guess I really don't understand whats going on here. It looks to me like the chain is complete. I tried this, but File Exists everytime. Code: xbmc@XBMC:~$ sudo find / -name 'libGL.so' And all of this because all I need to do is compile with pulse disabled! RE: Make fails on XBMCProjectm when compiling.... - pumkinut - 2012-06-02 You can try copying the file to the directory where make is looking for it. It's an ugly solution, but if the symbolic links are working, it's worth a shot. RE: Make fails on XBMCProjectm when compiling.... - wsnipex - 2012-06-02 post the output of: ls -latr /usr/lib/i386-linux-gnu/libGL* ls -latr /usr/lib/i386-linux-gnu/mesa/libGL* RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-06-03 Code: xbmc@XBMC:~$ xbmc@XBMC:~/xbmc$ ls -latr /usr/lib/i386-linux-gnu/libGL* -hogfan RE: Make fails on XBMCProjectm when compiling.... - fritsch - 2012-06-03 There is something one should do before copy and pasting "Strings". Quote:Every Command is a string, but not every String is a command. (Eddy van Wiseguy) Try again. RE: Make fails on XBMCProjectm when compiling.... - hogfan - 2012-06-03 First command: Code: xbmc@XBMC:~$ ls -latr /usr/lib/i386-linux-gnu/libGL* Second Command: Code: xbmc@XBMC:~$ ls -latr /usr/lib/i386-linux-gnu/mesa/libGL* -hogfan RE: Make fails on XBMCProjectm when compiling.... - wsnipex - 2012-06-03 your symlink points to nothing, meaning libgl1-mesa-glx is not (properly) installed. |