Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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!
*** 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::
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.