Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GL library
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
catalaur
n00b
n00b


Joined: 28 Jun 2006
Posts: 24

PostPosted: Sun Apr 27, 2008 5:17 pm    Post subject: GL library Reply with quote

Hello gentoo users!
I come with a huge problem. I just installed kde 4 and now I want gnome too. After setting proper use flags in make.conf I tryed to emerge gnome.
After emerging some packets I get the following error: GL library not found
After trying different solutions I came to this forum, last destination :D
Here is the error:

Code:

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   49:  Called src_compile
 *             environment, line 2792:  Called gnome2_src_compile
 *             environment, line 2171:  Called gnome2_src_configure
 *             environment, line 2185:  Called econf 'src_compile'
 *               ebuild.sh, line  513:  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'.
 *

 * Messages for package x11-libs/gtkglext-1.2.0:

 *
 * ERROR: x11-libs/gtkglext-1.2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2792:  Called gnome2_src_compile
 *             environment, line 2171:  Called gnome2_src_configure
 *             environment, line 2185:  Called econf 'src_compile'
 *               ebuild.sh, line  513:  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'.
 *
 * GNU info directory index is up-to-date.
 * IMPORTANT: 49 config files in '/etc' need updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.


CONFIG.LOG
Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gtkglext configure 1.2.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = gn2
uname -m = x86_64
uname -r = 2.6.23-gentoo-r9
uname -s = Linux
uname -v = #1 SMP Sun Mar 9 13:16:59 GMT 2008

/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3000+
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib64/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
PATH: /usr/kde/4.0/sbin
PATH: /usr/kde/4.0/bin
PATH: /usr/kde/3.5/sbin
PATH: /usr/kde/3.5/bin
PATH: /usr/qt/3/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1597: checking for a BSD-compatible install
configure:1652: result: /usr/bin/install -c
configure:1663: checking whether build environment is sane
configure:1706: result: yes
configure:1739: checking for gawk
configure:1755: found /bin/gawk
configure:1765: result: gawk
configure:1775: checking whether make sets $(MAKE)
configure:1795: result: yes
configure:1955: checking whether to enable maintainer-specific portions of Makefiles
configure:1964: result: no
configure:1986: checking build system type
configure:2004: result: x86_64-pc-linux-gnu
configure:2012: checking host system type
configure:2026: result: x86_64-pc-linux-gnu
configure:2080: checking for x86_64-pc-linux-gnu-gcc
configure:2096: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2106: result: x86_64-pc-linux-gnu-gcc
configure:2388: checking for C compiler version
configure:2391: x86_64-pc-linux-gnu-gcc --version </dev/null >&5
x86_64-pc-linux-gnu-gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2394: $? = 0
configure:2396: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --enable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)
configure:2399: $? = 0
configure:2401: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:2404: $? = 1
configure:2427: checking for C compiler default output file name
configure:2430: x86_64-pc-linux-gnu-gcc -O2 -pipe   conftest.c  >&5
configure:2433: $? = 0
configure:2479: result: a.out


.....................
.....................
.....................



                        || test ! -s conftest.err
configure:2821: $? = 0
configure:2824: test -s conftest.o
configure:2827: $? = 0
configure:2845: result: none needed
configure:2863: x86_64-pc-linux-gnu-gcc -c -O2 -pipe  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2869: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3013: checking for style of include used by make
configure:3041: result: GNU
configure:3069: checking dependency style of x86_64-pc-linux-gnu-gcc
configure:3152: result: gcc3
configure:3174: checking how to run the C preprocessor
configure:3209: x86_64-pc-linux-gnu-gcc -E  conftest.c
configure:3215: $? = 0
configure:3247: x86_64-pc-linux-gnu-gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3253: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "gtkglext"
| #define PACKAGE_TARNAME "gtkglext"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "gtkglext 1.2.0"
| #define PACKAGE_BUGREPORT "gtkglext-list@gnome.org"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3292: result: x86_64-pc-linux-gnu-gcc -E
configure:3316: x86_64-pc-linux-gnu-gcc -E  conftest.c
configure:3322: $? = 0
configure:3354: x86_64-pc-linux-gnu-gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3360: $? = 1
configure: failed program was:
 /* confdefs.h.  */
|
| #define PACKAGE_NAME "gtkglext"
| #define PACKAGE_TARNAME "gtkglext"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "gtkglext 1.2.0"
| #define PACKAGE_BUGREPORT "gtkglext-list@gnome.org"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3405: checking for strerror in -lcposix
configure:3435: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe   conftest.c -lcposix   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:3441: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "gtkglext"
| #define PACKAGE_TARNAME "gtkglext"
| #define PACKAGE_VERSION "1.2.0"
| #define PACKAGE_STRING "gtkglext 1.2.0"
| #define PACKAGE_BUGREPORT "gtkglext-list@gnome.org"
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char strerror ();
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Sun Apr 27, 2008 7:12 pm    Post subject: Reply with quote

Is your KDE4 starting correctly?

Can you also post following: /etc/X11/xorg.conf, emerge --info, eix -cIC gnome?
Back to top
View user's profile Send private message
catalaur
n00b
n00b


Joined: 28 Jun 2006
Posts: 24

PostPosted: Mon Apr 28, 2008 1:29 pm    Post subject: Reply with quote

KDE4 is working as good as it can being still beta.

emerge --info
Code:

--- Invalid atom in /etc/portage/package.use: KDE
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Sun, 27 Apr 2008 15:04:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.romnet.org/gentoo/ ftp://mirrors.evolva.ro/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi alsa amd64 arts avahi avi berkdb cairo cdparanoia cdr cli cracklib crypt cups curl dbus divx4linux dri dv dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif glut gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos lame ldap live mad midi mikmod mjpeg mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype unicode vcd vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


eix -cIC gnome (it wasn't installed)
Code:

gn2 ~ # eix -cIC gnome
[I] gnome-base/control-center (2.20.3(2)@04/27/08): The gnome2 Desktop configuration tool
[I] gnome-base/eel (2.20.0(2)@03/08/08): The Eazel Extentions Library
[I] gnome-base/gail (1.20.2@03/08/08): Accessibility support for Gtk+ and libgnomecanvas
[I] gnome-base/gconf (2.20.1-r1(2)@03/08/08): Gnome Configuration System and Daemon
[I] gnome-base/gdm (2.20.3@04/27/08): GNOME Display Manager
[I] gnome-base/gnome-applets (2.20.1(2)@04/27/08): Applets for the GNOME Desktop and Panel
[I] gnome-base/gnome-common (2.20.0(3)@03/08/08): Common files for development of Gnome packages
[I] gnome-base/gnome-desktop (2.20.3@03/08/08): Libraries for the gnome desktop that is not part of the UI
[I] gnome-base/gnome-keyring (2.20.3@03/08/08): Password and keyring managing daemon
[I] gnome-base/gnome-menus (2.20.3@03/08/08): The GNOME menu system, implementing the F.D.O cross-desktop spec
[I] gnome-base/gnome-mime-data (2.18.0@03/08/08): MIME data for Gnome
[I] gnome-base/gnome-mount (0.6@03/08/08): HAL wrapper for (un)mounting and ejecting disks
[I] gnome-base/gnome-panel (2.20.3@04/27/08): The GNOME panel
[I] gnome-base/gnome-session (2.20.3@04/27/08): Gnome session manager
[I] gnome-base/gnome-vfs (2.20.1-r1(2)@03/08/08): Gnome Virtual Filesystem
[I] gnome-base/gnome-volume-manager (2.17.0-r1@04/27/08): Daemon that enforces volume-related policies
[U] gnome-base/libbonobo (2.20.3@03/08/08 -> 2.20.4): GNOME CORBA framework
[I] gnome-base/libbonoboui (2.20.0@03/08/08): User Interface part of libbonobo
[I] gnome-base/libglade (2.6.2(2.0)@03/08/08): Library to construct graphical interfaces at runtime
[I] gnome-base/libgnome (2.20.1.1@03/08/08): Essential Gnome Libraries
[I] gnome-base/libgnomecanvas (2.20.1.1@03/08/08): The Gnome 2 Canvas library
[U] gnome-base/libgnomekbd (2.20.0@04/27/08 -> 2.20.0-r1): Gnome keyboard configuration library
[U] gnome-base/libgnomeprint (2.18.3(2.2)@03/08/08 -> 2.18.4(2.2)): Printer handling for Gnome
[U] gnome-base/libgnomeprintui (2.18.1(2.2)@03/08/08 -> 2.18.2(2.2)): User interface libraries for gnome print
[I] gnome-base/libgnomeui (2.20.1.1@03/08/08): User Interface routines for Gnome
[U] gnome-base/libgtop (2.20.1(2)@04/27/08 -> 2.20.2(2)): A library that provides top functionality to applications
[I] gnome-base/librsvg (2.20.0(2)@03/08/08): Scalable Vector Graphics (SVG) rendering library
[I] gnome-base/nautilus (2.20.0-r1@03/08/08): A file manager for the GNOME desktop
[U] gnome-base/orbit (2.14.10(2)@03/08/08 -> 2.14.12(2)): ORBit2 is a high-performance CORBA ORB
[I] gnome-extra/bug-buddy (2.20.1(2)@04/27/08): A graphical bug reporting tool
[I] gnome-extra/evolution-data-server (1.12.3@03/09/08): Evolution groupware backend
[I] gnome-extra/evolution-webcal (2.12.0@04/27/08): A GNOME URL handler for web-published ical calendar files
[I] gnome-extra/fast-user-switch-applet (2.20.0-r1@04/27/08): Fast User Switching Applet for Gnome Desktop
[I] gnome-extra/gconf-editor (2.20.0@04/27/08): An editor to the GNOME 2 config system
[I] gnome-extra/gnome-media (2.20.1(2)@04/27/08): Multimedia related programs for the GNOME desktop
[I] gnome-extra/gnome-system-monitor (2.20.2@04/27/08): The Gnome System Monitor
[I] gnome-extra/gnome-utils (2.20.0.1@04/27/08): Utilities for the Gnome2 desktop
[I] gnome-extra/gnome2-user-docs (2.20.1@04/27/08): GNOME end user documentation
[U] gnome-extra/gtkhtml (2.6.3(2)@04/27/08 3.16.3(3.14)@04/27/08 -> 2.11.1(2) 3.2.5(3.2) 3.6.2(3.6) 3.12.3(3.8) 3.16.3(3.14)): Lightweight HTML Rendering/Printing/Editing Engine
[I] gnome-extra/gucharmap (1.10.2@04/27/08): Unicode character map viewer
[I] gnome-extra/libgda (1.2.4(1)@04/27/08): Gnome Database Access Library
[I] gnome-extra/libgsf (1.14.7@03/08/08): The GNOME Structured File Library
[I] gnome-extra/nautilus-cd-burner (2.20.0@04/27/08): CD and DVD writer plugin for Nautilus
[I] gnome-extra/yelp (2.20.0@04/27/08): Help browser for GNOME
[I] gnome-extra/zenity (2.20.1@04/27/08): Tool to display dialogs from the commandline and shell scripts
Found 45 matches.

/etc/X11/xorg.conf
Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder26)  Thu Feb 14 18:13:41 PST 2008

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib64/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
   Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Section "Extensions"
    Option "Composite" "Enable"
EndSection

Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Mon Apr 28, 2008 2:34 pm    Post subject: Reply with quote

eselect opengl set nvidia maybe ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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