./ configure error ---> reports sdl is missing though i have installed it

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
chefchenko
New user
Posts: 4
Joined: 19 Sep 2007, 19:18

./ configure error ---> reports sdl is missing though i have installed it

Post by chefchenko »

Hi there!

i've just downloaded the sources and extracted them. Then i run ./configure and it reports the following:
checking for SDL - version >= 1.1.4... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: SDL is not installed
anon@ps3:~/warzone2100-2.0.7$
any suggestions? My SDL is libsdl1.2Debian. I'm using ubuntu and have a cell Processor. (=PowerPC Prozessor, compiling should work the same way like it does for all PPC Processors)


Greetings
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: ./ configure error ---> reports sdl is missing though i have installed it

Post by DevUrandom »

Attach the "config.log" file, please.
chefchenko
New user
Posts: 4
Joined: 19 Sep 2007, 19:18

Re: ./ configure error ---> reports sdl is missing though i have installed it

Post by chefchenko »

alright. here is my config.log:
You do not have the required permissions to view the files attached to this post.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: ./ configure error ---> reports sdl is missing though i have installed it

Post by DevUrandom »

The most interesting thing is: "./conftest: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory"
chefchenko
New user
Posts: 4
Joined: 19 Sep 2007, 19:18

Re: ./ configure error ---> reports sdl is missing though i have installed it

Post by chefchenko »

ok. if i run "cmake ." within the physfs-1.1.1 root directory it outputs that a few things can not be found:
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Performing Test PHYSFS_IS_GCC4
-- Performing Test PHYSFS_IS_GCC4 - Success
-- Looking for sys/ucred.h
-- Looking for sys/ucred.h - not found
-- Looking for mntent.h
-- Looking for mntent.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Looking for inflate in z
-- Looking for inflate in z - found
-- Looking for readline/readline.h
-- Looking for readline/readline.h - not found
-- Looking for readline/history.h
-- Looking for readline/history.h - not found
-- Looking for doxygen...
-- Looking for doxygen... - NOT found
-- Looking for dot tool...
-- Looking for dot tool... - NOT found
-- Doxygen not found. You won't be able to build documentation.
-- PhysicsFS will build with the following options:
--  ZIP support: enabled
--  7zip support: enabled
--  GRP support: enabled
--  WAD support: enabled
--  HOG support: enabled
--  MVL support: enabled
--  QPAK support: enabled
--  CD-ROM drive support: enabled
--  Thread safety: enabled
--  Build own zlib: disabled
--  Build static library: enabled
--  Build shared library: enabled
--  Build wxWidgets test program: enabled
--  Build stdio test program: enabled
--    Use readline in test program: disabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/anon/physfs-1.1.1
is this alright or is something missing?

Thank you
chefchenko
New user
Posts: 4
Joined: 19 Sep 2007, 19:18

Re: ./ configure error ---> reports sdl is missing though i have installed it

Post by chefchenko »

ok guys,

it got the game running. Thanks for your hint with physfs.
I compiled it from source, but it didn't work correctly.

Thank you for your help.

Greetings chefchenko
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: ./ configure error ---> reports sdl is missing though i have installed it

Post by DevUrandom »

Your PhysFS config should be ok. (Don't forget to run make afterwards.)