[SOLVED] OSE from svn ./configure failed: SDL not found

Discussions related to using VirtualBox on Linux hosts.
Post Reply
pjw1965
Posts: 18
Joined: 10. May 2007, 15:16

[SOLVED] OSE from svn ./configure failed: SDL not found

Post by pjw1965 »

Debian GNU/Linux 4.0 (Etch), Kernel 2.6.18-6-686 all prerequisitions (32bit) from <http://www.virtualbox.org/wiki/Linux%20 ... structions> installed.
Compiling OSE from svn failed. Has someone an idea?

# ./configure
Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.1.2, OK.
Checking for as86: found version 0.16.14, OK.
Checking for bcc: found version 0.16.14, OK.
Checking for iasl: found version 20060912, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.6.27, OK.
Checking for libxslt: found version 1.1.19, OK.
Checking for libIDL: found version 0.8.6, OK.
Checking for zlib: found version 1.2.3, OK.
Checking for libpng: found version 1.2.15beta5, OK.
Checking for SDL:
SDL not found at -L/usr/lib -lSDL -I/usr/include/SDL or SDL headers not found
Check the file /var/tmp/vbox/configure.log for detailed error information.

# cat /var/tmp/vbox/configure.log
...
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-L/usr/lib -lSDL -I/usr/include/SDL "
/usr/lib/libSDL.so: undefined reference to `mouse_seteventhandler'
/usr/lib/libSDL.so: undefined reference to `keyboard_close'
/usr/lib/libSDL.so: undefined reference to `keyboard_init_return_fd'
/usr/lib/libSDL.so: undefined reference to `keyboard_seteventhandler'
/usr/lib/libSDL.so: undefined reference to `keyboard_update'
collect2: ld returned 1 exit status

# dpkg -l | grep libsdl
ii libsdl-image1.2 1.2.5-2+etch1 image lo Layer 1.2
ii libsdl-image1.2-dev 1.2.5-2+etch1 developmlibray
ii libsdl-mixer1.2 1.2.6-1.1+b2 mixer li.2
ii libsdl-ttf2.0-0 2.0.8-3+b1 ttf librh FreeType 2 support
ii libsdl1.2-dev 1.2.11-8 Simple D
ii libsdl1.2debian 1.2.11-8 Simple D
ii libsdl1.2debian-oss 1.2.11-8 Simple Dptions)
Last edited by pjw1965 on 21. Apr 2008, 11:49, edited 1 time in total.
pjw1965
Posts: 18
Joined: 10. May 2007, 15:16

[SOLVED]: compiling OSE from svn failed: SDL not found

Post by pjw1965 »

The following prerequisition was missing:

# aptitude install libsvga1-dev

Please update the wiki page.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

This is not a bug of the configure script. The dependency is there because the Debian package is built against libsvga. And therefore an entry 'Recommends: libsvga1-dev' is contained in the libsdl1.2-dev package. Our configure script cannot check against each backend the SDL package is compiled for.
Post Reply