Author Topic: Can't compile RC8 on openSUSE 10.2  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Can't compile RC8 on openSUSE 10.2
Hello, Im tryin to compile RC8 but its not really working.
This is the compile script I use:

Code: [Select]
#!/bin/bash
# fs2_open Compile Script
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
if [ -e ./fs2_open/ ]; then
cd fs2_open
if [ -e ./Makefile.in ]; then
make clean
./configure CFLAGS="$CFLAGS"
make
else
./autogen.sh CFLAGS="$CFLAGS"
make
fi
else
echo "No fs2_open directory found."
fi

and then I get this:
Code: [Select]
...
...
...
checking for sdl-config... no
checking for SDL - version >= 1.2.6... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL >= 1.2.6 not found!
make: *** No targets specified and no makefile found.  Stop.

But SDL is already installed in openSUSE 10.2, but I cant seem to find sdl-config.

  

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Can't compile RC8 on openSUSE 10.2
Make sure that the SDL devel package is installed, sdl-config is part of that.  You'll also need the OpenAL devel package and the libtheora devel package.  Theora support is new, and will be a requirement for RC8 and all future builds.