LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-02-2008, 06:00 PM   #1
fedorauser15
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Rep: Reputation: 0
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
 
Old 06-03-2008, 05:08 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
*** 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
 
Old 06-03-2008, 07:22 PM   #3
fedorauser15
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 06-04-2008, 03:35 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

Last edited by knudfl; 06-04-2008 at 02:47 PM.
 
Old 06-04-2008, 04:37 PM   #5
fedorauser15
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Original Poster
Rep: Reputation: 0
I figured out what the problem was. It was the wrong version of it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL is installed, included and linked, but will not compile SDL code mansizerooster Programming 10 05-31-2006 04:18 AM
Sourcecompiling Problem...The sdl-config script installed by SDL could not be found. deepclutch Debian 1 12-15-2005 12:15 PM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 07:50 AM
SDL error mabs General 1 07-15-2004 06:54 PM
SDL Error While Compiling... Chryzmo Linux - Newbie 1 09-01-2003 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration