[SOLVED] Compiling NetRadiant: Missing dependencies - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [SOLVED] Compiling NetRadiant: Missing dependencies (/showthread.php?tid=4177) |
Compiling NetRadiant: Missing dependencies - Maddin - 06-01-2013 So this is bugging me quiet a while now... I can´t seem to compile NetRadiant without running into dependency issues. On some systems it works, on others it doesn´t. Now, while using Ubuntu 13.04 (fresh install) I got this: Code: user@localhost:~/Programs/NetRadiant$ make The odd thing is that I have the library installed: Code: user@localhost:~$ dpkg -L libgtkglext1-dev | grep gtkglwidget.h I don´t really know how to set PKG_CONFIG_PATH right, I expect that this has something to do with the makefile but I don´t see anything wrong in there. Any help would be appreciated! RE: Compiling NetRadiant: Missing dependencies - g4spr0m - 06-01-2013 All I can say is, that I had this bug (with some other libary). I didn't really solved it, but after I changed a NetRadiant version to one provided by git, it all worked (at the time of first compilation i used version available from xonotic.org) without problems. Sysinfo: i used Kubuntu 12.04 32-bit. RE: Compiling NetRadiant: Missing dependencies - Mr. Bougo - 06-02-2013 (06-01-2013, 05:28 PM)Maddin Wrote: So this is bugging me quiet a while now... I can´t seem to compile NetRadiant without running into dependency issues. On some systems it works, on others it doesn´t. Now, while using Ubuntu 13.04 (fresh install) I got this: "both libraries" ??? You're missing libgtkglext1-dev, but I don't see anything else missing. What's the second one? RE: Compiling NetRadiant: Missing dependencies - Maddin - 06-02-2013 @g4spr0m: I tried every version, from github, from the xonotic development site, etc... nothing compiled successfully. @Mr.Bougo: Sorry, my fault, I first copied in the output of another NetRadiant version but forgot to change the text... it was already late when I wrote it. But still, nothing was really different except that the compiler complained about missing libraries which are actually installed. So the problem is still the same, it says that I am missing libraries although I have them. RE: Compiling NetRadiant: Missing dependencies - Mr. Bougo - 06-02-2013 Maddin, try this then: Code: make DEPENDENCIES_CHECK=verbose It will tell how the test failed exactly. EDIT: I remember itsme_ had the same problem in November, we had a chat over this on #xonotic on freenode. He had the exact same error and said: itsme_ Wrote:i reinstalled [gtkglext] and the packages it depends on (gtk2 glu libxmu pangox-compat), now it compilesI guess you could try that, reinstall gtkglext. RE: Compiling NetRadiant: Missing dependencies - Maddin - 06-02-2013 I tried reinstalling gtkglext already but it didn´t help. Now I just reinstalled my OS as it wasn´t stable enough (crashes all over after some time...), used a testing version of Gnome 3.9 which may have caused this problem too. So compiling works flawlessly now, I know that it was the brutal way to solve it but it worked. (I feel so noobish about it... ) Sorry for the trouble. RE: Compiling NetRadiant: Missing dependencies - Mr. Bougo - 06-02-2013 Welp! (06-02-2013, 12:56 PM)Maddin Wrote: (I feel so noobish about it... ) Not your fault. Although it's usually better to try and troubleshoot issues, because reinstalling everything is not a solution and how else are you going to learn or get bugs fixed RE: Compiling NetRadiant: Missing dependencies - Maddin - 06-02-2013 (06-02-2013, 01:46 PM)Mr. Bougo Wrote: Although it's usually better to try and troubleshoot issues, because reinstalling everything is not a solution and how else are you going to learn or get bugs fixed Actually, that´s what I thought. RE: Compiling NetRadiant: Missing dependencies - aa - 06-02-2013 Hm, I happened to be mssing gtkglext as well... RE: Compiling NetRadiant: Missing dependencies - Mr. Bougo - 06-02-2013 (06-02-2013, 03:40 PM)aa Wrote: Hm, I happened to be mssing gtkglext as well... What do you mean? If you are not in the exact same circumstances as Maddin described (OS, installed packages, same error), please detail it. If you are in the exact same circumstances, try what I said above. RE: Compiling NetRadiant: Missing dependencies - aa - 06-03-2013 No, my conditions are different. OS, etc... I finally managed to install gtkglext, so now it all runs as smothly as ever... ...Howether, when I tried to compile NetRadiant, It gave me a mistake, similar to Maddin: a missing dependency which is installed. Code: checking that the dependencies exist The problem seems in the PKG_CONFIG_PATH. I tried setting it, but it gave no results. When I try to set more then one path, export says that the others are dirrectories, and does not set them. RE: Compiling NetRadiant: Missing dependencies - g4spr0m - 06-03-2013 @aa That's the lib (libglib2.0-dev>gutils.h) I had problem with during compilation on Kubuntu 12.04 32-bit. I tried to set PKG_CONFIG_PATH too but without luck. Did you tried git version, which worked for me? I don't use this system on my own computers, so I can't give you any detailed info. RE: Compiling NetRadiant: Missing dependencies - Mr. Bougo - 06-03-2013 aa, g4spr0m: As I said, please follow my intsructions above: first try to reinstall the package, and if that doesn't succeed, compile with Code: make DEPENDENCIES_CHECK=verbose RE: Compiling NetRadiant: Missing dependencies - g4spr0m - 06-03-2013 Mr. Bougo, as I said above: I installed netradiant. I said also, that changing NetRadiant version on system i don't even use myself helped. I can't follow any instructions now, because: 1) I don't have any problems with installation, 2) I tried to help by describing SOLVED issue I've encountered in the past. 3)I don'r have access to system on which I had this problem (months ago). g4spr0m Wrote:after I changed a NetRadiant version to one provided by git, it all worked (...) without problems g4spr0m Wrote:I don't use this system on my own computers RE: Compiling NetRadiant: Missing dependencies - Mr. Bougo - 06-03-2013 Oh alright, I figured it was still a problem for you. I'll wait for aa's reply now. RE: Compiling NetRadiant: Missing dependencies - Maddin - 06-04-2013 @aa: It seems like your using an outdated version of NetRadiant which has a known dependency bug as far as I know. I had the same error before. That Code: Checking for glib/gutils.h (libglib2.0-dev)... not found, please install it or set PKG_CONFIG_PATH right! Use Code: git clone git://git.xonotic.org/xonotic/netradiant.git If you still get this error Code: Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... found and links. EDIT: I think we should have some wiki article or sticky help post/thread where we gather all these dependency problems as there are so many people out there who got problems... RE: Compiling NetRadiant: Missing dependencies - aa - 06-04-2013 Works so far... Cloned, now making. This takes a while for a while now. Finally!!! Installed, a working NetRadiant is in front of me now. Thank You, Maddin! |