celestia 1.3.1 configure fails at checking for GL/gl.h Reproducible: Always Steps to Reproduce: 1. emerge -Duv celestia [earlier having been 1.3.0-r1] Actual Results: Calculating world dependencies ...done! [ebuild U ] app-sci/celestia-1.3.1 [1.3.0-r1] +gnome +kde 0 kB Calculating world dependencies ...done! >>> emerge (1 of 1) app-sci/celestia-1.3.1 to / >>> md5 src_uri ;-) celestia-1.3.1.tar.gz * Please note: * if you experience problems building celestia with nvidia drivers, * you can try: * opengl-update xfree * emerge celestia * opengl-update nvidia * ------------ * NOTE: the gnome and kde GUIs are mutually exclusive, kde is * recommended. If you're getting the wrong one, run either: * 'USE="gnome -kde" emerge celestia' (for the gnome interface) * or: * 'USE="kde" emerge celestia' (for the kde interface) * as appropriate. >>> Unpacking source... >>> Unpacking celestia-1.3.1.tar.gz to /portage/tmp/portage/celestia-1.3.1/work * Applying celestia-1.3.1-gtkmain.patch... [ ok ] >>> Source unpacked. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for a BSD-compatible install... /bin/install -c -p checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking whether to include debugging code... no checking whether to be pedantic... no checking whether to do profiling... no checking whether to enable GLUT... no checking interface to build... KDE checking whether to disable GTK.... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -frepo... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking GL/gl.h usability... no checking GL/gl.h presence... no checking for GL/gl.h... no configure: error: No gl.h found. See INSTALL file for ddetails about how to correct this problem. !!! ERROR: app-sci/celestia-1.3.1 failed. !!! Function src_compile, Line 72, Exitcode 1 !!! (no error message) Expected Results: compiled and installed Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -msse -mmmx -m3dnow -O2 -fomit-frame-pointer -frerun-loop-opt -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/portage/packages" PORTAGE_TMPDIR="/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d aalib alsa apm avi berkdb bonobo cdr crypt cups dga directfb doc dvd dvdr encode esd fbcon foomaticdb freetype gdbm gif gnome gnutls gpm gstreamer gtk gtk2 guile imap imlib ipv6 jabber java joystick jpeg kde kerberos libg++ libwww mad maildir mbox mikmod mmx motif mozcalendar mozilla mpeg mpeg4 ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sasl sdl slang slp spell sse ssl stroke svga tcltk tcpd tetex tiff truetype type1 unicode usb vim-with-x wmf x86 xchattext xine xml2 xmms xv zlib"
try opengl-update && emerge celestia && opengl-update ati/nvidia
Tried: 1. opengl-update xfree 2. emerge celestia and got: --- /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -o celestia -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib celestiacore.o configfile.o destination.o eclipsefinder.o favorites.o imagecapture.o url.o -lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui -lkio kde/libkdegui.a ../celengine/libcelengine.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -lGLU -lGL -lSM -lICE -lm -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -lz -lGL kde/libkdegui.a(kdeglwidget.o)(.text+0x2e): In function `KdeGlWidget::KdeGlWidget[not-in-charge](QWidget*, char const*, CelestiaCore*)': : undefined reference to `QGLWidget::QGLWidget[not-in-charge](QWidget*, char const*, QGLWidget const*, unsigned)' kde/libkdegui.a(kdeglwidget.o)(.text+0xfe): In function `KdeGlWidget::KdeGlWidget[in-charge](QWidget*, char const*, CelestiaCore*)': : undefined reference to `QGLWidget::QGLWidget[not-in-charge](QWidget*, char const*, QGLWidget const*, unsigned)' kde/libkdegui.a(kdeglwidget.o)(.text+0x1b8): In function `KdeGlWidget::~KdeGlWidget [not-in-charge]()': : undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()' kde/libkdegui.a(kdeglwidget.o)(.text+0x1d8): In function `KdeGlWidget::~KdeGlWidget [in-charge]()': : undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()' kde/libkdegui.a(kdeglwidget.o)(.text+0x1fc): In function `KdeGlWidget::~KdeGlWidget [in-charge deleting]()': : undefined reference to `QGLWidget::~QGLWidget [not-in-charge]()' kde/libkdegui.a(kdeglwidget.moc.o)(.text+0x101): In function `KdeGlWidget::staticMetaObject()': : undefined reference to `QGLWidget::staticMetaObject()' kde/libkdegui.a(kdeglwidget.moc.o)(.text+0x20b): In function `KdeGlWidget::qt_invoke(int, QUObject*)': : undefined reference to `QGLWidget::qt_invoke(int, QUObject*)' kde/libkdegui.a(kdeglwidget.moc.o)(.text+0x23b): In function `KdeGlWidget::qt_emit(int, QUObject*)': : undefined reference to `QGLWidget::qt_emit(int, QUObject*)' kde/libkdegui.a(kdeglwidget.moc.o)(.text+0x273): In function `KdeGlWidget::qt_property(int, int, QVariant*)': : undefined reference to `QGLWidget::qt_property(int, int, QVariant*)' kde/libkdegui.a(kdeglwidget.moc.o)(.text+0x1c9): In function `KdeGlWidget::qt_cast(char const*)': : undefined reference to `QGLWidget::qt_cast(char const*)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0xac): undefined reference to `QGLWidget::setMouseTracking(bool)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x108): undefined reference to `QGLWidget::reparent(QWidget*, unsigned, QPoint const&, bool)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x148): undefined reference to `QGLWidget::paintEvent(QPaintEvent*)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x150): undefined reference to `QGLWidget::resizeEvent(QResizeEvent*)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1c0): undefined reference to `QGLWidget::makeCurrent()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1c4): undefined reference to `QGLWidget::swapBuffers()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1c8): undefined reference to `QGLWidget::setFormat(QGLFormat const&)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1cc): undefined reference to `QGLWidget::setContext(QGLContext*, QGLContext const*, bool)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1d0): undefined reference to `QGLWidget::renderPixmap(int, int, bool)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1d4): undefined reference to `QGLWidget::grabFrameBuffer(bool)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1d8): undefined reference to `QGLWidget::makeOverlayCurrent()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1dc): undefined reference to `QGLWidget::updateGL()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1e0): undefined reference to `QGLWidget::updateOverlayGL()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1f0): undefined reference to `QGLWidget::initializeOverlayGL()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1f4): undefined reference to `QGLWidget::resizeOverlayGL(int, int)' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1f8): undefined reference to `QGLWidget::paintOverlayGL()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x1fc): undefined reference to `QGLWidget::glInit()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTV11KdeGlWidget+0x200): undefined reference to `QGLWidget::glDraw()' kde/libkdegui.a(kdeglwidget.moc.o)(.gnu.linkonce.r._ZTI11KdeGlWidget+0x8): undefined reference to `typeinfo for QGLWidget' collect2: ld returned 1 exit status make[4]: *** [celestia] Error 1 make[4]: Leaving directory `/portage/tmp/portage/celestia-1.3.1/work/celestia-1.3.1/src/celestia' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/portage/tmp/portage/celestia-1.3.1/work/celestia-1.3.1/src/celestia' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/portage/tmp/portage/celestia-1.3.1/work/celestia-1.3.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/portage/tmp/portage/celestia-1.3.1/work/celestia-1.3.1' make: *** [all] Error 2 !!! ERROR: app-sci/celestia-1.3.1 failed. !!! Function src_compile, Line 74, Exitcode 2 !!! (no error message) --- Looks like kde doesn't like my compile attempts :) USE="gnome -kde" emerge celestia did not work either, it died during configure in search of jpeg support which I do have. USE="-gnome -kde" emerge celestia compiled and installed... interesting... But results in: $ celestia nStars: 112522 GLUT: Fatal Error in celestia: OpenGL GLX extension not supported by display: :0.0 Propably needs a X restart?
Sorry, forgot to mention that I ran 'opengl-update ati' before trying to run celestia and had ran 'opengl-update xfree' before compile.
remove this bug, my ati-drivers package was messed up some how. :) This symlink was missing: # ls -lart /usr/lib/opengl/ati/include lrwxrwxrwx 1 root root 16 Apr 26 14:52 /usr/lib/opengl/ati/include -> ../xfree/include
Might have still some issues... Did not compile with "USE=gnome kde" nor with "USE=gnome -kde", but with "USE=-gnome -kde" it compiled and installed but ended up giving me an odd light show... :) Meaning that it looked like the polygons or whatever it uses to form the objects were breaking all the time. "USE=kde" failed as well in compile...
"USE=kde" failed as well in compile... What about providing some more detail, like the error message, for example? Thanks in advance.
No reaction for nearly a month, considering this as INVALID.