Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure: error: Cannot find GL library
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tameritoke
n00b
n00b


Joined: 08 Sep 2005
Posts: 38
Location: Germany

PostPosted: Sat May 02, 2009 11:39 am    Post subject: configure: error: Cannot find GL library Reply with quote

Hi
I do have a problem getting "x11-libs/gtkglext-1.2.0" merged.

the configure error output is:

checking for glVertex3d in -lGLcore... no
checking for glVertex3d in -lGL... no
checking for glVertex3f in -lGL... no
checking for glVertex3i in -lGL... no
checking for glVertex3s in -lGL... no
checking for glVertex3d in -lMesaGL... no
configure: error: Cannot find GL library

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtkglext-1.2.0/work/gtkglext-1.2.0/config.log
*
* ERROR: x11-libs/gtkglext-1.2.0 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2920: Called gnome2_src_compile
* environment, line 2276: Called gnome2_src_configure
* environment, line 2290: Called econf '--disable-gtk-doc'
* ebuild.sh, line 525: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/x11-libs/gtkglext-1.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtkglext-1.2.0/temp/environment'.
*

I hope somebody is able to help me, and I don't know what I am doing wrong. On other packages, sometimes I see "-lGL no" not available

Thanks in advance



Tamer
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Sat May 02, 2009 12:56 pm    Post subject: Reply with quote

pls post the output of
Code:

eselect opengl list

_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
tameritoke
n00b
n00b


Joined: 08 Sep 2005
Posts: 38
Location: Germany

PostPosted: Sat May 02, 2009 9:04 pm    Post subject: eselect result Reply with quote

tux tamer # eselect opengl list
Available OpenGL implementations:
[1] xorg-x11 *
tux tamer #
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Sun May 03, 2009 10:12 am    Post subject: Reply with quote

next we need
Code:

emerge --info

Did you run
Code:

eselect opengl set  xorg-x11


What video card do you have?
ATI -> install ati-drivers or x11-drivers/xf86-video-ati,
NVIDIA -> install nvidia-drivers

What does
Code:
glxinfo | head -n 30
say?
Do you even have glxinfo? If not install mesa-progs.
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
tameritoke
n00b
n00b


Joined: 08 Sep 2005
Posts: 38
Location: Germany

PostPosted: Tue May 05, 2009 2:51 pm    Post subject: emerge --info Reply with quote

Hi!
emerge --info brings me this output:

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Fri, 01 May 2009 06:00:01 +0000
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake: 2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/lan$
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.jamit.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://de-mirr$
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --e$
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 avahi berkdb bzip2 cairo cli cracklib crypt cups dbus dri fortran gdbm gnome gpm gtk iconv ipv6 isdnlog java midi mmx mono mudflap multilib$
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I ran the command:

eselect opengl set xorg-x11

and then tried to emerge mesa-progs which ended also with an error:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[2]: *** [libglut.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0'
make: *** [all] Error 2
*
* ERROR: media-libs/freeglut-2.4.0-r1 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2827: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/environment'.
*

>>> Failed to emerge media-libs/freeglut-2.4.0-r1, Log file:

>>> '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'

* Messages for package media-libs/freeglut-2.4.0-r1:

*
* ERROR: media-libs/freeglut-2.4.0-r1 failed.
* Call stack:
* ebuild.sh, line 48: Called src_compile
* environment, line 2827: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/environment'.
*

For further help I would thank you


Tamer
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Tue May 05, 2009 2:56 pm    Post subject: Reply with quote

fist of all I need to know what video card you are using, then we need to install the right driver and after that we need to set VIDEO_CARDS in make.conf and recompile some stuff. But the very very very first thing you should do is: please read https://forums.gentoo.org/viewtopic-t-525.html :D, thank you
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
tameritoke
n00b
n00b


Joined: 08 Sep 2005
Posts: 38
Location: Germany

PostPosted: Tue May 05, 2009 7:40 pm    Post subject: sorry Reply with quote

Nvida GeForce 6200 with 512MB Ram and the driver in xorg.conf is nvidia (not nv), which I installed through the commandline (compiled and integrated as kernelmodule driver).

however, when I start the GUI Application NVIDIA XServer settings, and click on OpenGL Informations, I see "Fail to query the GLX server verndor"

Sorry, for the previous post. I made the entry in make.conf:

VIDEO_CARDS="nvidia", but what stuff do I need to recompile?!

Tamer
Back to top
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Tue May 05, 2009 7:58 pm    Post subject: Reply with quote

OK :D So, you use NVidia!! We are getting closer!

Recompile: try a
Code:

emerge --ask --verbose --update --deep --newuse world
, the nvidia-drivers should be pulled in automatically and the x-server should be recompiled

If you installed the linux driver from nvidia.com it might be good to remove it first, and install the gentoo package "nvidia-drivers", after that you should be able to do a
Code:

eselect opengl set nvidia


Edit: maybe you just have forgotten to put
Code:

Load           "glx"

inside the "Module" section of your xorg.conf?

Edit:
please also take a look at this

If you have any problems with these guides, feel free to ask :)
_________________
BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum