Author Topic: Linux hates me (fs2open cvs won't compile)  (Read 2027 times)

0 Members and 1 Guest are viewing this topic.

Offline Annorax

  • 27
  • Wistful General
    • Steam
Linux hates me (fs2open cvs won't compile)
I'm running Ubuntu Breezy (5.10), which is based on (and for the most part identical to) Debian. Following the instructions in the Linux CVS HOWTO, I attempt to compile fs2_open, and get this instead. I'm guessing I don't have "sdl-config" or "SDL" or whatever the last thing autogen.sh needs. I haven't been able to find any packages with those names in the Ubuntu repositories in Synaptic Package Manager. Is my read on this problem accurate, and how can I fix it?

Code: [Select]
annorax@squirrel-ubuntu:~/src$ su
Password:
root@squirrel-ubuntu:/home/annorax/src # ./autogen.sh
bash: ./autogen.sh: No such file or directory
root@squirrel-ubuntu:/home/annorax/src # dir
fs2_open  get_fs2_open.sh  get_fs2_open.sh~
root@squirrel-ubuntu:/home/annorax/src # cd fs2_open
root@squirrel-ubuntu:/home/annorax/src/fs2_open # ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Running aclocal-1.9  ...
/usr/share/aclocal/libraw1394.m4:6: warning: underquoted definition of AC_LIB_RA
W1394_FLAGS
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/libraw1394.m4:19: warning: underquoted definition of AC_LIB_R
AW1394_HEADERS
/usr/share/aclocal/libraw1394.m4:41: warning: underquoted definition of AC_LIB_R
AW1394_LIBVERSION
/usr/share/aclocal/libraw1394.m4:75: warning: underquoted definition of AC_LIB_R
AW1394_RUNTEST
/usr/share/aclocal/libraw1394.m4:138: warning: underquoted definition of AC_LIB_
RAW1394
Running automake-1.9 --add-missing --copy --foreign  ...
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
code/Makefile.am: installing `./depcomp'
configure.ac:13: installing `./config.guess'
configure.ac:13: installing `./config.sub'
Running autoconf...
Running ./configure ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
Using Unix defines (for linux-gnu)
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for socklen_t... yes
checking for std::ios_base... yes
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!
root@squirrel-ubuntu:/home/annorax/src/fs2_open # make
make: *** No targets specified and no makefile found.  Stop.
root@squirrel-ubuntu:/home/annorax/src/fs2_open # apt-get install sdl
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sdl
root@squirrel-ubuntu:/home/annorax/src/fs2_open # apt-get install SDL
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package SDL
root@squirrel-ubuntu:/home/annorax/src/fs2_open # apt-get install sdl-config
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sdl-config
root@squirrel-ubuntu:/home/annorax/src/fs2_open # sdl-config --version
bash: sdl-config: command not found

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Linux hates me (fs2open cvs won't compile)
Make sure that you have the SDL-devel package installed (I'm not sure of the exact Ubuntu package name for it), and while your at it be sure to have OpenAL and it's devel package installed as well.

 

Offline ni1s

  • 26
Re: Linux hates me (fs2open cvs won't compile)
I completely forgot about the SDL-dev package.
Annorax, you need to get the libsdl-dev package.

The Wiki is fixed.
« Last Edit: March 17, 2006, 05:22:26 pm by ni1s »