LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2004, 02:23 AM   #1
Beomoss
LQ Newbie
 
Registered: Sep 2004
Location: State College, PA, USA
Distribution: Fedora Core 3
Posts: 7

Rep: Reputation: 0
Unhappy ./configure error: no sdl-config?


I'm a newbie running Fedora Core 3, and this is my first attempt at compiling a program from source. I got as far as running ./configure before I got an error. Here's the output of that command:

Code:
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for main in -lm... yes
checking for sdl-config... no
checking for SDL - version >= 1.0.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: lib SDL is needed
Would someone please explain to me what sdl-config is, and how I might go about putting it where it needs to be?

Many thanks in advance!

Last edited by Beomoss; 11-23-2004 at 02:43 AM.
 
Old 11-23-2004, 02:58 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Is SDL installed at all?


Cheers,
Tink
 
Old 11-23-2004, 04:15 AM   #3
Beomoss
LQ Newbie
 
Registered: Sep 2004
Location: State College, PA, USA
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
A very valid question!

I went to libsdl.org and got the latest version rpm available (1.2.7), but when I tried to install it, I was told that I already had a *newer* version of SDL installed. Based on a suggestion from another board, I was instructed to provide the output of 'rpm -qa |grep -i sdl', which is:

SDL_net-1.2.5-2
SDL-1.2.7-8
SDL_mixer-1.2.5-4

So, I guess it's installed, but not where it needs to be? Or is the issue perhaps related to what seems to be two different versions? Thanks for the help!
 
Old 11-23-2004, 04:40 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,524

Rep: Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503Reputation: 1503
Quote:
*** 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.
Since sdl is installed do as ./configure says, add in your PATH the sdl bin directory and/or set the SDL_CONFIG variable::
Code:
export PATH=/path/to/sdl/bin:$PATH
export SDL_CONFIG=/full/path/to/sdl-config
and re-run ./configure
 
Old 11-24-2004, 02:26 AM   #5
Beomoss
LQ Newbie
 
Registered: Sep 2004
Location: State College, PA, USA
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
Success!

THANK YOU!

From your help, I was able to track down and install the libraries I needed, and have now successfully compiled! Thank you for helping me along on the beginnings of my GNU/Linux journey!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 01:07 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 10:36 AM
krfb --config; Format of config file? Need to allow ports below 1024. SavvyPlayer Linux - Software 0 10-16-2004 09:28 PM
sdl-config --libs wont report on extension libraries unholy Programming 2 10-10-2004 08:29 AM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 05:04 PM


All times are GMT -5. The time now is 05:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration