LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SDL Error (https://www.linuxquestions.org/questions/linux-software-2/sdl-error-646513/)

fedorauser15 06-02-2008 06:00 PM

SDL Error
 
I am trying to compile zsnes. I installed the compiler, GCC and now it gives me an error message saying I need SDL. I have SDL 1.2.13 installed according to the Package Updater. Is there another SDL file i need? I'll post the terminal log here:
[timstover@localhost ~]$ cd /home/./../tmp/zsnes_1_51*/src
[timstover@localhost src]$ ./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 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 ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for nasm... nasm
checking for sdl-config... no
checking for SDL - version >= 1.2.0... 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.0 is required

knudfl 06-03-2008 05:08 AM

*** The sdl-config script installed by SDL could not be found :
should be in /usr/bin, if not, you need sdl-dev, SDL1.2-devel or
SDL-devel, depending on distro.

Rgds

fedorauser15 06-03-2008 07:22 PM

Got a dependency error when downloading the update:
Missing Dependency: SDL = 1.2.12-2.fc8 is needed by package SDL-devel
I dont know what the problem is. I know I have SDL.

knudfl 06-04-2008 03:35 AM

Fedora 8 : If you are using 'yum' to download and install, things should
fit together : # 'yum install SDL-devel'
Your post #1 says you have SDL-1.2.13-2.fc8.i386.rpm
If you don't get SDL-devel-1.2.13-2.fc8.i386.rpm you might update your repo list.
(Both versions exists, just google it)

The versions on my DVD are SDL-1.2.12-2.fc8.i386.rpm SDL-devel-1.2.12-2.fc8.i386.rpm

Rgds

fedorauser15 06-04-2008 04:37 PM

I figured out what the problem was. It was the wrong version of it.


All times are GMT -5. The time now is 03:58 AM.