LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-05-2006, 04:33 AM   #1
secret_force
LQ Newbie
 
Registered: Oct 2005
Posts: 28

Rep: Reputation: Disabled
Installing Wesnoth with terminal


I want to install Wesnoth 1.1.7 as this is stil under development it's not yet in the repository, however I want to try it out.
Now I downloaded the source, did "tar -zxvf wesnoth-1.1.7.tar.gz"
It worked, then I did cd wesnoth-1.1.7 This worked as well. So I continued with ./configure and I got this list

checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking how to create a ustar tar archive... gnutar
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH


So what do they mean with this last line. How can I change it.
 
Old 07-05-2006, 04:48 AM   #2
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
no idea what distro you have, but i would have thought they all still come with gcc, if not, install that.

http://gcc.gnu.org/
 
Old 07-05-2006, 06:34 AM   #3
secret_force
LQ Newbie
 
Registered: Oct 2005
Posts: 28

Original Poster
Rep: Reputation: Disabled
thanks I it helped, I got one step further. however he is now complaining about sdl.
BTW I have ubuntu.
 
Old 07-05-2006, 08:21 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Find SDL and install it then. Since you're using Ubuntu, presumably you can install it using apt-get: sudo apt-get install libsdl. This may not be correct, as I don't use Debian, so am just guessing here. Edit: you may need the libsdl-dev (it might be "devel" instead of "dev") package as well.

Last edited by Nylex; 07-05-2006 at 08:23 AM.
 
Old 07-05-2006, 09:35 AM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Code:
apt cache search libsdl
wil lsearch the cache of apt get to find anything with libsdl in it
 
Old 07-05-2006, 02:12 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I could be wrong, but shouldn't there be a dash between "apt" and "cache" in that line?
 
Old 07-05-2006, 05:29 PM   #7
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
you should install all the development packages for Ubuntu or it will be one problem after another. I don't think Ubuntu comes with it by default.

regards,
...aaron
 
Old 07-05-2006, 05:35 PM   #8
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
You might want to try installing the package called build-essential. It's a meta-package with dependencies that bring in most of the things you need for compiling.
 
Old 07-05-2006, 09:31 PM   #9
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
I compiled Wesnoth from source on Debian. There are several SDL requirements, and apt-get can install them for you. I would do:

Code:
apt-cache search sdl
Then install everything you get that begins libsdl - in my case apt-cache finds all this:

Code:
libsdl-console - console that can be added to any SDL application
libsdl-console-dev - development files for libsdl-console
libsdl-erlang - Erlang bindings to the Simple Direct Media Library
libsdl-gfx1.2-4 - drawing and graphical effects extension for SDL
libsdl-gfx1.2-dev - development files for SDL_gfx
libsdl-image1.2 - image loading library for Simple DirectMedia Layer 1.2
libsdl-image1.2-dev - development files for SDL 1.2 image loading libray
libsdl-mixer1.2 - mixer library for Simple DirectMedia Layer 1.2
libsdl-mixer1.2-dev - development files for SDL1.2 mixer library
libsdl-net1.2 - network library for Simple DirectMedia Layer
libsdl-net1.2-dev - Development files for SDL network library
libsdl-ocaml - OCaml bindings for SDL - runtime files
libsdl-ocaml-dev - OCaml bindings for SDL - development files
libsdl-perl - SDL bindings for the Perl language
libsdl-ruby1.8 - Ruby/SDL interface for Ruby
libsdl-sge - extension of graphic functions for the SDL multimedia library
libsdl-sge-dev - development files for libsdl-sge
libsdl-sound1.2 - Decoder of several sound file formats for SDL
libsdl-sound1.2-dev - Development files for SDL_sound
libsdl-stretch-0-2 - stretch functions for Simple DirectMedia Layer
libsdl-stretch-dev - development files for SDL_stretch library
libsdl-ttf1.2 - TrueType font library for Simple DirectMedia Layer
libsdl-ttf1.2-dev - development files for libsdl-ttf1.2
libsdl-ttf2.0-0 - ttf library for Simple DirectMedia Layer with FreeType 2 support
libsdl-ttf2.0-dev - development files for SDL ttf library (version 2.0)
libsdl1.2-dev - Simple DirectMedia Layer development files
libsdl1.2debian - Simple DirectMedia Layer
libsdl1.2debian-all - Simple DirectMedia Layer (with all available options)
libsdl1.2debian-alsa - Simple DirectMedia Layer (with X11 and ALSA options)
libsdl1.2debian-arts - Simple DirectMedia Layer (with X11 and aRts options)
libsdl1.2debian-esd - Simple DirectMedia Layer (with X11 and esound options)
libsdl1.2debian-nas - Simple DirectMedia Layer (with X11 and NAS options)
libsdl1.2debian-oss - Simple DirectMedia Layer (with X11 and OSS options)
You could tell apt-get to install all those goodies, or compile a few for yourself.

I actually installed the SDL stuff from source as well, I ended up installing SDL_image-1.2.5, SDL_mixer-1.2.7, SDL_net-1.2.6, and automake-1.9. The 3 SDL source tar.gz's can be found on the SDL homepage, and I got automake 1.9 from sourceforge. Automake is needed to compile the SVN version of the game, which is even newer than 1.17. It is the closest to 1.18 or whatever is coming next, through the subversion tool.

Peace,
JimBass
 
  


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
Battle for Wesnoth paul_mat Linux - Software 2 06-04-2006 10:17 PM
Battle for Wesnoth zoli_stir Linux - Games 2 06-01-2006 12:09 PM
Wesnoth 0.9.5 in Hoary? How to install? craigevil Ubuntu 3 08-18-2005 07:43 PM
Installing wesnoth game MalachiX Linux - Newbie 1 03-08-2005 03:47 PM
Wesnoth 0.8 can't find sdl_image webwolf70 Linux - Software 0 11-18-2004 01:03 PM

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

All times are GMT -5. The time now is 01:45 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