[sldev] Missing glu.h - Compile failure on Ubuntu 6.10

Stef Wade Stef.Wade at stots.de
Tue Jan 9 10:30:49 PST 2007


Hi everybody,

so, I have grabbed the source last night and started compiling today.

I have followed the instructions on
https://wiki.secondlife.com/wiki/Compiling_the_viewer_%28Linux%29

After a while, the build exits with an error:
GL/glu.h is missing. (see below for details)

I tried to install the glu-package but apt-get has version-problems 
there. ("Broken Packages", see below for details)

So, where do I go from here? Ubuntu-Edgy problem?
Any hints?

Thanks,

Stefan

----8<-----------------------------------------------------------------------
g++-3.4 -o 
/tmp/stw/home/stw/Daten/SL-dev/linden/indra/i686-linux-client-release/llrender/llagpmempoolarb.o 
-c -g -pipe -Wall -Wno-trigraphs -DLL_USE_KDU=0 -falign-loops=16 
-fno-math-errno -fexceptions -fsigned-char -fno-strict-aliasing 
-ffast-math -DLL_MESA_HEADLESS=0 -DLL_MESA=0 -DLL_LINUX=1 
-DAPPID=secondlife -DLL_SDL=1 -DLL_X11=1 -DLL_GTK=1 -O2 -DNDEBUG 
-DLL_RELEASE=1 -Illcommon -Illmath -Illwindow -Illaudio -Illcharacter 
-Illdatabase -Illhavok -Illimage -Illinventory -Illmedia -Illmessage 
-Illprimitive -Illrender -Illscene -Illui -Illvfs -Illwindow -Illxml 
-Ilscript -I/home/stw/Daten/SL-dev/linden/libraries/include 
-I/home/stw/Daten/SL-dev/linden/libraries/include/havok 
-I/home/stw/Daten/SL-dev/linden/libraries/i686-linux/include "-I 
../libraries/i686-linux/include/gtk-2.0" "-I 
../libraries/i686-linux/include/glib-2.0" "-I 
../libraries/i686-linux/include/pango-1.0" "-I 
../libraries/i686-linux/include/atk-1.0" "-I 
../libraries/i686-linux/include/ELFIO" "-I 
../libraries/i686-linux/include/llfreetype2" 
/tmp/stw/home/stw/Daten/SL-dev/linden/indra/i686-linux-client-release/llrender/llagpmempoolarb.cpp
In file included from llwindow/llglstates.h:41,
                  from llwindow/llgl.h:255,
                  from 
/tmp/stw/home/stw/Daten/SL-dev/linden/indra/i686-linux-client-release/llrender/llagpmempoolarb.cpp:30:
llwindow/llglheaders.h:55:20: GL/glu.h: No such file or directory
scons: *** 
[/tmp/stw/home/stw/Daten/SL-dev/linden/indra/i686-linux-client-release/llrender/llagpmempoolarb.o] 
Error 1
scons: building terminated because of errors.
----8<-----------------------------------------------------------------------


This is how the attempt to install libglu1-mesa-dev fails:
----8<-----------------------------------------------------------------------
...$ LANG=C sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
   libgl1-mesa-dev: Depends: mesa-common-dev (= 6.5.1~20060817-0ubuntu3) 
but 6.5.1+cvs20060824 is to be installed
   libglu1-mesa-dev: Depends: libglu1-mesa (= 6.5.1~20060817-0ubuntu3) 
but 6.5.1+cvs20060824 is to be installed
E: Broken packages
----8<-----------------------------------------------------------------------

-- 
http://LinuxBasics.org                      http://Krone-Neuenburg.com
http://Stefan.Waidele.info                     http://sl.stots.de/blog


More information about the SLDev mailing list