This is a discussion on Xscreensaver within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> When I attempt to emerge xscreensaver, gle always bombs out with: checking for shmat... yes checking for IceConnectionNumber in ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| When I attempt to emerge xscreensaver, gle always bombs out with: checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for glGetError in -lGL... no configure: error: Cannot find required GL library !!! ERROR: media-libs/gle-3.0.1-r2 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. So I figured I was just missing some opengl library some where. I emerged opengl-update, (didn't fix the issue), I did an emerge opengl and it installed some nvidia driver, (not too sure what the deal is there but...), didn't fix the issue. I thought it might be my USE flag, (http://www.gentoo.org/doc/en/handboo...?part=2&chap=2 has a blurb about opengl), so I tried building gle with: USE="opengl" emerge gle but the same error. Does anyone know what library I need here or what I need to emerge to fix this? Thanks -Cam |
| |||
| cameron enlightened us with: > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for glGetError in -lGL... no > configure: error: Cannot find required GL library Check the config.log to see what's going on. You can find it in the work directory, probably something like /var/tmp/gle-3.0.1-r2/work. > I thought it might be my USE flag, > (http://www.gentoo.org/doc/en/handboo...?part=2&chap=2 > has a blurb about opengl), so I tried building gle with: > > USE="opengl" emerge gle Never use that! Read "man portage", and use /etc/portage/package.use. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| |||
| The config.log has: ..... snip .... configure:3400: gcc -o conftest -O2 -march=i686 -fomit-frame-pointer -pipe -Wall conftest.c -lGL -lSM -lICE -L/usr/X11R6/lib -lX11 - lm 1>&5 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status configure: failed program was: #line 3389 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char glGetError(); int main() { glGetError() ; return 0; } Even with this error, still not sure what to do about it.... -Cam Sybren Stuvel wrote: > cameron enlightened us with: > >>checking for shmat... yes >>checking for IceConnectionNumber in -lICE... yes >>checking for glGetError in -lGL... no >>configure: error: Cannot find required GL library > > > Check the config.log to see what's going on. You can find it in the > work directory, probably something like /var/tmp/gle-3.0.1-r2/work. > > >>I thought it might be my USE flag, >>(http://www.gentoo.org/doc/en/handboo...?part=2&chap=2 >>has a blurb about opengl), so I tried building gle with: >> >>USE="opengl" emerge gle > > > Never use that! Read "man portage", and use /etc/portage/package.use. > > Sybren |
| |||
| cameron enlightened us with: > cannot find -lGL Try playing around with opengl-update. XOrg comes with it's own GL libs if I'm not mistaken. Sybren -- The problem with the world is stupidity. Not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself? |
| |||
| The directory /usr/lib/opengl/xorg-x11/lib/ only had 1 file in it so I re-emerged xorg-x11 and it added 5 more files to that dir. The compile then worked fine. I have no idea what originally happened to those files, but it is all good now. Thanks -Cam Sybren Stuvel wrote: > cameron enlightened us with: > >>cannot find -lGL > > > Try playing around with opengl-update. XOrg comes with it's own GL > libs if I'm not mistaken. > > > Sybren |
| ||||
| I found this thread via Google and while my problem was the same, the conditions were different so I figured I'd post to help anyone else that has the same issues. I was trying to emerge Gnome, and as part of that did xscreensaver (the gle package also gives the same error). I ran into the exact same problems as the original poster, but had a different solution. I ran *opengl-update --get-implementation * and found out that even though I had rebuilt opengl, it was still using an older ATI implementation that came along with some drivers. (You might see nvidia if using one of thost cards). I ran *opengl-update xorg-x11 * which changed me back to the x11 implementation, then tried emerging gle and it worked fine. I was then able to emerge xscreensaver with no problems. Hurrah! -- drnick |