Compiling Problems - SDL 1.2 from CVS

Hello there… after having a terrible time getting my Voodoo Banshee to work
with 3d acceleration on my computer, and SDL apps now crash for the most part.
So, I decided to compile SDL for myself, but there is a installing error. Can
somebody help me out to where my error is?

Distro: Mandrake 2006 LE
X Server Card: tdfx
Video Card: Voodoo Banshee

Thanks in advance!
Kris

[root at localhost SDL12]# make install
/bin/sh ./build-scripts/mkinstalldirs /usr/local/bin
/usr/bin/install -c -m 755 ./sdl-config /usr/local/bin/sdl-config
/bin/sh ./build-scripts/mkinstalldirs /usr/local/include/SDL
for src in ./include/*.h; do
file=echo $src | sed -e 's|^.*/||';
/usr/bin/install -c -m 644 $src /usr/local/include/SDL/$file;
done
/usr/bin/install -c -m 644
include/SDL_config.h /usr/local/include/SDL/SDL_config.h
/bin/sh ./build-scripts/mkinstalldirs /usr/local/lib
/bin/sh ./libtool --mode=install /usr/bin/install -c
build/libSDL.la /usr/local/lib/libSDL.la
/usr/bin/install -c build/.libs/libSDL-1.2.so.0.7.3 /usr/local/lib/libSDL-
1.2.so.0.7.3
(cd /usr/local/lib && rm -f libSDL-1.2.so.0 && ln -s libSDL-1.2.so.0.7.3 libSDL-
1.2.so.0)
(cd /usr/local/lib && rm -f libSDL.so && ln -s libSDL-1.2.so.0.7.3 libSDL.so)
/usr/bin/install -c build/.libs/libSDL.lai /usr/local/lib/libSDL.la
/usr/bin/install -c build/.libs/libSDL.a /usr/local/lib/libSDL.a
ranlib /usr/local/lib/libSDL.a
chmod 644 /usr/local/lib/libSDL.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR’
flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH’ environment variable
    during execution
  • add LIBDIR to the `LD_RUN_PATH’ environment variable
    during linking
  • use the `-Wl,–rpath -Wl,LIBDIR’ linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf’

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

/usr/bin/install -c -m 644 build/libSDLmain.a /usr/local/lib/libSDLmain.a
/usr/bin/install: cannot stat `build/libSDLmain.a’: No such file or directory
make: *** [install-lib] Error 1

Hello there… after having a terrible time getting my Voodoo Banshee to work
with 3d acceleration on my computer, and SDL apps now crash for the most part.
So, I decided to compile SDL for myself, but there is a installing error. Can
somebody help me out to where my error is?

Go ahead and update code and try again. There was a bug in the Makefile
for a while yesterday.

See ya!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

Sam Lantinga <slouken devolution.com> writes:

Go ahead and update code and try again. There was a bug in the Makefile
for a while yesterday.

See ya!
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

Now that I have updated via CVS, there is an error in the make process, no
longer in the make install process

Error as follows:
gcc -g -O2 -D_GNU_SOURCE=1 -I./include -I/usr/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include/
-I/usr/X11R6/include -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c
./src/events/SDL_events.c -fPIC -DPIC -o build/.libs/SDL_events.o
In file included from ./src/events/…/video/SDL_sysvideo.h:37,
from ./src/events/SDL_sysevents.h:24,
from ./src/events/SDL_events.c:28:
./include/SDL_opengl.h:42:58: error: GL/glu.h: No such file or directory
make: *** [build/SDL_events.lo] Error 1

Am I missing a component that I am unaware of? I hope I am, because that would
explain why glxgears works fine, but any SDL apps that use the acceleration on
my 3dfx card won’t.

Thanks in advance!
Kris

Now that I have updated via CVS, there is an error in the make process, no
longer in the make install process

Error as follows:
gcc -g -O2 -D_GNU_SOURCE=1 -I./include -I/usr/include/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include/
-I/usr/X11R6/include -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -c
./src/events/SDL_events.c -fPIC -DPIC -o build/.libs/SDL_events.o
In file included from ./src/events/…/video/SDL_sysvideo.h:37,
from ./src/events/SDL_sysevents.h:24,
from ./src/events/SDL_events.c:28:
./include/SDL_opengl.h:42:58: error: GL/glu.h: No such file or directory

Hmm, you don’t have GLU on your system?

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment