LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-23-2006, 02:59 AM   #1
tsunamikitsune
Member
 
Registered: Jun 2006
Location: Dubuque, Iowa
Distribution: Ubuntu
Posts: 51

Rep: Reputation: 15
SDL 1.2 needed to install program


I'm trying to install ZSNES (a Super Nintendo emulator) and I ran into some problems....


These are the commands I was supposed to use from the ZSNES website:

Code:
sudo apt-get install build-essential nasm autoconf automake libsd1.2-dev zlib1g-dev libpng-dev subversion
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
cd zsnes/src
./autogen.sh
make
sudo make install
Everything worked ok up until the "./autogen.sh" part. When I tried it, it gave me this:

Code:
kitsune@kitsune-desktop:~/zsnes/src$ ./autogen.sh
Generating build information using aclocal and autoconf...
./autogen.sh: line 6: sdl-config: command not found
aclocal: couldn't open directory `/share/aclocal': No such file or directory
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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for nasm... nasm
./configure: line 2931: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'./configure: line
2931: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
I don't know how to get SDL, I tried searching for it in the package manager, but it didn't help.....

Can anyone help? I'm very lost.
 
Old 06-23-2006, 04:14 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
Try
apt-get install frozen-bubble :}


Cheers,
Tink
 
Old 06-23-2006, 04:47 AM   #3
tsunamikitsune
Member
 
Registered: Jun 2006
Location: Dubuque, Iowa
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks for the cool game, but I'm still having the same problem.....

I saw the SDL files install with the game, so I don't know why it still isn't working....
 
Old 06-23-2006, 07:13 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Just a guess: sometimes, if it says "command not found" it means the command is not in your PATH variable.

try: "updatedb"
followed by: "locate sdl-config"

assuming sdl-config is somewhere, then:
"echo $PATH" to see if the right directory is there
 
Old 06-23-2006, 07:37 AM   #5
tsunamikitsune
Member
 
Registered: Jun 2006
Location: Dubuque, Iowa
Distribution: Ubuntu
Posts: 51

Original Poster
Rep: Reputation: 15
Code:
root@kitsune-desktop:/home/kitsune# updatedb
root@kitsune-desktop:/home/kitsune# locate sdl-config
root@kitsune-desktop:/home/kitsune# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
root@kitsune-desktop:/home/kitsune#
Ok, I have no idea what I'm doing, so what does this mean?
 
Old 06-23-2006, 10:54 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Quote:
Originally Posted by tsunamikitsune
I'm trying to install ZSNES (a Super Nintendo emulator) and I ran into some problems....


These are the commands I was supposed to use from the ZSNES website:

Code:
sudo apt-get install build-essential nasm autoconf automake libsdl1.2-dev zlib1g-dev libpng-dev subversion
svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
cd zsnes/src
./autogen.sh
make
sudo make install
You are missing one letter !

 
  


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
SDL libraries needed for PERL / already there Trio3b Slackware 12 04-05-2006 03:47 PM
How to compile a program with SDL RHLinuxGUY Programming 5 01-03-2006 01:12 AM
SDL problem... simple program. RHLinuxGUY Programming 1 07-22-2005 07:04 PM
Looking for an IDE to program using SDL pujolasdf Linux - Software 2 04-02-2005 05:31 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 08:50 AM


All times are GMT -5. The time now is 10:26 PM.

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