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

signore at autistiche.org signore at autistiche.org
Tue Jan 9 15:15:07 PST 2007


hi stefan and all.

stefan, did you try removing mesa-common-dev?

i'm on ubuntu edgy (6.10) too - i met the same error during
my try-and-retry process (eventually i managed to get in world :))))

i have installed two of the packages you name:
libgl1-mesa-dev                            6.5.1~20060817-0ubuntu3
libglu1-mesa-dev                           6.5.1~20060817-0ubuntu3

..but i don't have mesa-commons-dev in my system, and it looks
it conflicts in yours one.


some things i do on debian-based distro when i'm desperate:
- re-check my sources.list file and do apt-get update
- try using aptitude or synaptic instead of apt-get


my sources.list file:

deb http://it.archive.ubuntu.com/ubuntu/ edgy main restricted universe
multiverse
deb http://it.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
universe multiverse
deb http://security.ubuntu.com/ubuntu edgy-security main restricted
universe multiverse


and here is what i did to compile the viewer code.


unpacked:

    * tar xzf slviewer-src-20070108c.tar.gz
    * tar xzf slviewer-linux-libs-20070108c.tar.gz
    * tar xzf fmodapi375linux.tar.gz

copied required FMOD headers and libraries into the
Second Life Viewer source tree:

    * cd into the FMOD directory
    * cp api/inc/* ../linden/libraries/i686-linux/include/
    * cp api/libfmod-3.75.so
./linden/libraries/i686-linux/lib_release_client/

installed via Synaptic:

    * gcc-3.4 gcc-3.4-base g++-3.4 scons
    * libglu1-mesa-dev libgl1-mesa-dev mesa-commons-dev
    * flex bison

then I tried to run scons. It couldn’t find gtk/gtk.h, so I edited
the indra/SConstruct file, removing the leading spaces from
the 6 ‘ ../libraries/’ strings from around line 187 onwards.

now, from the indra directory:

    * cp ../scripts/messages/message_template.msg newview/app_settings/

at this point, I managed to get in world.


some blogging i made about it:

http://tinyurl.com/yhm822 or
http://signore.wordpress.com/2007/01/08/compiling-the-second-life-viewer-source-code-on-ubuntu-edgy

http://tinyurl.com/yh7lkz or
http://www.secondlifeitalia.com/blog/index.php/2007/01/08/il-client-di-second-life-diventa-software-libero/

http://tinyurl.com/yff9sg or
http://www.secondlifeitalia.com/blog/index.php/2007/01/08/second-life-open-source-si-aprono-le-danze/


bye

signore iredell


More information about the SLDev mailing list