Problem compiling against Debian-Sarge

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Igor

Problem compiling against Debian-Sarge

Post by Igor »

Hi hitchhikers

I'm trying to compile agains Debian Sarge

Program versions are:

ii xlibmesa-gl 4.3.0.dfsg.1-8 Mesa 3D graphics library [XFree86]
ii xlibmesa-gl-dev 4.3.0.dfsg.1-8 Mesa 3D graphics library development files [XFree86]
ii xlibmesa-glu 4.3.0.dfsg.1-8 Mesa OpenGL utility library [XFree86]
ii xlibmesa-glu-dev 4.3.0.dfsg.1-8 Mesa OpenGL utility library development files [XFree86]
ii nvidia-glx 1.0.6111-1 NVIDIA binary XFree86 4.x driver
ii nvidia-glx-dev 1.0.6111-1 NVIDIA binary XFree86 4.x driver development files
ii libglut3 3.7-25 the OpenGL Utility Toolkit
ii libglut3-dev 3.7-25 development libraries and headers for GLUT
ii freeglut3 2.2.0-8 OpenGL Utility Toolkit
ii freeglut3-dev 2.2.0-8 OpenGL Utility Toolkit development files
ii libsdl-gfx1.2 2.0.9-4 drawing and graphical effects extension for SDL
ii libsdl-gfx1.2-dev 2.0.9-4 development files for SDL_gfx
ii libsdl-image1.2 1.2.3-5 image loading library for Simple DirectMedia Layer 1.2
ii libsdl-mixer1.2 1.2.5-9 mixer library for Simple DirectMedia Layer 1.2
ii libsdl-mixer1.2-dev 1.2.5-9 development files for SDL1.2 mixer library
ii libsdl-net1.2 1.2.5-3 network library for Simple DirectMedia Layer
ii libsdl-sound1.2 1.0.1-3 Decoder of several sound file formats for SDL
ii libsdl-ttf2.0-0 2.0.6-5 ttf library for Simple DirectMedia Layer with FreeType 2 support
ii libsdl1.2-dev 1.2.7-10 Simple DirectMedia Layer development files
ii gcc 3.3.4-2 The GNU C compiler
ii gcc-3.3 3.3.4-13 The GNU C compiler
ii gcc-3.3-base 3.3.4-13 The GNU Compiler Collection (base package)ii g++ 3.3.4-2 The GNU C++ compiler
ii g++-3.3 3.3.4-13 The GNU C++ compiler



But, when I run:

./linux_vegastrike-0.4.2.sh


I recieve the following error:

Using SDL Windowing System
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: see the Autoconf documentation
configure: WARNING: GL/glext.h: section "Present But Cannot Be Compiled"
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: GL/glext.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------- ##
configure: WARNING: ## Report this to the vegastrike lists. ##
configure: WARNING: ## ------------------------------------- ##
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no
checking for glut library... no
configure: error: GLUT library not found or too old version. 3.7 (beta) or later required.
Error running ./configure

But my glut is 3.7 (or greater) as showed in dpkg -l (above)

Config.log could be found in
ftp://200.170.224.47/config.log
igor

Solved!

Post by igor »

The problem was that I didn't have libxmu-dev installed!
igor

Output here

Post by igor »

configure:11061: checking for glut library
configure:11086: gcc -o conftest -g -O2 -L/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lutil -lSDL -lpthread -lGL -lGLU -lglut -lXi -lXmu >&5
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
configure:11092: $? = 1
igor

packages that I have installed

Post by igor »

autoconf
autoconf
automake
automake1.9
expat
gnu-standards
inetutils-tools
libexpat1-dev
libglut3-dev
libjpeg-dev
libopenal-dev
libpng3-dev
libsdl1.2-dev
libsdl-gfx1.2-dev
libsdl-mixer1.2-dev
libxmu-dev
libxmuu-dev
nvidia-glx-dev
python2.3-dev
xlibmesa-gl
zlib1g-dev
dandandaman
Artisan
Artisan
Posts: 1270
Joined: Fri Jan 03, 2003 3:27 am
Location: Perth, Western Australia
Contact:

Post by dandandaman »

So, did you solve the problem, or still want help? :-)

Dan.a
Post Reply