Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 69501

Summary: kdebindings-3.3.0 can't find gl.h
Product: Gentoo Linux Reporter: Jonas Bofjäll <j-gentoo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Bofjäll 2004-10-30 06:45:55 UTC
From an emerge of kdebindings-3.3.0 (there seems to be no 3.3.1 one?):

/bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I/opt/blackdown-jdk-1.4.2/include -I/opt/blackdown-jdk-1.4.2/include/linux -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -frename-registers -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o Qt.lo `test -f 'Qt.cpp' || echo './'`Qt.cpp
In file included from Qt.cpp:10:
/usr/qt/3/include/qgl.h:79:20: GL/gl.h: No such file or directory

gl.h is present in /usr/X11R6/include/GL. The emerge should probably have a -I/usr/include/X11R6/include somewhere, but I don't know how or where to add it (or if it should be auto-detected somewhere).

Reproducible: Always
Steps to Reproduce:
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-10-30 09:12:34 UTC
"-I/usr/X11R6/include" is there in the command line.
Make sure /usr/X11R6/include/GL/gl.h is a link to an existant file,
you might need to use 'opengl-update', which should set up all the symlinks
to the real implementation-specific files in /usr/lib/opengl/.
Comment 2 Jonas Bofjäll 2004-11-13 09:56:04 UTC
Do I feel stupid now... The links were messed and opengl-update fixed it, thanks.