I'm trying to compile on mandriva 2006.
I have the latest nvidia drivers installed, as well as mesa.
I appreciate any help
when running configure, I get to the point where it is checking opengl stuff. Here is the relevant output :
Code: Select all
checking for SDL - version >= 1.1.4... yes
checking for presence of SDL_net... Found SDL_net in path
checking SDL/SDL_opengl.h usability... no
checking SDL/SDL_opengl.h presence... no
checking for SDL/SDL_opengl.h... no
checking for main in -lGL... yes
checking for main in -lGLU... no
checking for main in -lglu32... no
checking OpenGL... no
configure: error: OpenGL is currently mandatory
So... from the config.log :
configure:4925: checking for SDL - version >= 1.1.4
configure:5017: gcc -o conftest -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_R
EENTRANT conftest.c -lphysfs -lpng -ljpeg -lz -lm -L/usr/lib -Wl,-rpath,/us
r/lib -lSDL -lpthread >&5
configure:5020: $? = 0
configure:5022: ./conftest
configure:5025: $? = 0
configure:5044: result: yes
configure:5190: gcc -c -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/SDL conftest.c >&5
configure:5196: $? = 0
configure:5200: test -z
|| test ! -s conftest.err
configure:5203: $? = 0
configure:5206: test -s conftest.o
configure:5209: $? = 0
configure:5222: checking for presence of SDL_net
configure:5226: result: Found SDL_net in path
configure:5295: checking SDL/SDL_opengl.h usability
configure:5307: gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:61:
/usr/include/SDL/SDL_opengl.h:45:58: error: GL/glu.h: No such file or director
y
configure:5313: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Warzone 2100"
| #define PACKAGE_TARNAME "warzone-2100"
| #define PACKAGE_VERSION "2.0.5_rc1"
| #define PACKAGE_STRING "Warzone 2100 2.0.5_rc1"
| #define PACKAGE_BUGREPORT "http://wz.rootzilla.de/"
| #define PACKAGE "warzone-2100"
| #define VERSION "2.0.5_rc1"
| #define YYTEXT_POINTER 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPNG 1
| #define HAVE_LIBPHYSFS 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <SDL/SDL_opengl.h>
configure:5336: result: no
configure:5340: checking SDL/SDL_opengl.h presence
configure:5350: gcc -E conftest.c
In file included from conftest.c:27:
/usr/include/SDL/SDL_opengl.h:45:58: error: GL/glu.h: No such file or director
y
configure:5356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Warzone 2100"
| #define PACKAGE_TARNAME "warzone-2100"
| #define PACKAGE_VERSION "2.0.5_rc1"
| #define PACKAGE_STRING "Warzone 2100 2.0.5_rc1"
| #define PACKAGE_BUGREPORT "http://wz.rootzilla.de/"
| #define PACKAGE "warzone-2100"
| #define VERSION "2.0.5_rc1"
| #define YYTEXT_POINTER 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPNG 1
| #define HAVE_LIBPHYSFS 1
| /* end confdefs.h. */
| #include <SDL/SDL_opengl.h>
configure:5376: result: no
configure:5411: checking for SDL/SDL_opengl.h
configure:5418: result: no
configure:5429: checking for main in -lGL
configure:5453: gcc -o conftest -g -O2 conftest.c -lGL -lphysfs -lpng -ljpe
g -lz -lm >&5
configure:5459: $? = 0
configure:5463: test -z
|| test ! -s conftest.err
configure:5466: $? = 0
configure:5469: test -s conftest
configure:5472: $? = 0
configure:5485: result: yes
configure:5556: checking for main in -lGLU
configure:5580: gcc -o conftest -g -O2 conftest.c -lGLU -lphysfs -lpng -ljp
eg -lz -lm >&5
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
configure:5586: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Warzone 2100"
| #define PACKAGE_TARNAME "warzone-2100"
| #define PACKAGE_VERSION "2.0.5_rc1"
| #define PACKAGE_STRING "Warzone 2100 2.0.5_rc1"
| #define PACKAGE_BUGREPORT "http://wz.rootzilla.de/"
| #define PACKAGE "warzone-2100"
| #define VERSION "2.0.5_rc1"
| #define YYTEXT_POINTER 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPNG 1
| #define HAVE_LIBPHYSFS 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| main ();
| ;
| return 0;
| }
configure:5612: result: no
configure:5617: checking for main in -lglu32
configure:5641: gcc -o conftest -g -O2 conftest.c -lglu32 -lphysfs -lpng -l
jpeg -lz -lm >&5
/usr/bin/ld: cannot find -lglu32
collect2: ld returned 1 exit status
configure:5647: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Warzone 2100"
| #define PACKAGE_TARNAME "warzone-2100"
| #define PACKAGE_VERSION "2.0.5_rc1"
| #define PACKAGE_STRING "Warzone 2100 2.0.5_rc1"
| #define PACKAGE_BUGREPORT "http://wz.rootzilla.de/"
| #define PACKAGE "warzone-2100"
| #define VERSION "2.0.5_rc1"
| #define YYTEXT_POINTER 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPNG 1
| #define HAVE_LIBPHYSFS 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| main ();
| ;
| return 0;
| }
configure:5673: result: no
configure:5706: checking OpenGL
configure:5720: result: no
configure:5722: error: OpenGL is currently mandatory