Compiling Wesnoth using scons

June 28, 2009 | In Linux | No Comments

Building and Installing Wesnoth from source is supposed to be this easy:

#update the working copy
>svn update

# Build
>scons

#Install
> sudo scons install

Instructions for compiling Wesnoth at:  http://www.wesnoth.org/wiki/CompilingWesnoth

Some hints:

  1. compiling requires dev version of libraries    Development files–
    This package contains files needed if you wish to use the xxxx
    library in your own programs.
  2. read the build and install output.  Look for missing libraries!

sample output — read the error messages!!

checking for Boost smart_ptr library… (cached) yes
Checking for Simple DirectMedia Layer library version >= 1.2.7… yes
Checking for SDL_net library… no
Base prerequisites are not met.
Client prerequisites are not met. wesnoth, cutter and exploder cannot be built.
Checking for C library X11… yes
Checking for fribidi_utf8_to_unicode(NULL,0,NULL) in C library fribidi… no
Can’t find libfribidi, disabling freebidi support.
Checking for C header file poll.h… yes
Checking for C header file sys/poll.

was SDL-net in ubuntu … not SDL_net

Prerequisites

You need to have the development packages of these libraries and a compiler (such as gcc) installed to build Wesnoth. You will also need theruntime packages to actually run Wesnoth.

The following libraries are optional. If they are available at configure time, desktop notifications will be enabled:

To be able to build things, you also need some dependencies to have a working “build system”. On *nix based systems, when not using any IDE (as in “you are building in a terminal”) these are the possible options for build systems (yes, several are possible and all should work):

  • autoconf >=2.60
  • automake >=1.9

Or

Or

source:   http://www.wesnoth.org/wiki/CompilingWesnoth


Powered by WordPress RSS XMLRSS Feed - Syndicate this Site and comments feed
linux GNUpowered by Apache tomcatMySQL ABPHP - The Language the Web Runs on

^Top^ Gare CalhounGare CalhounGare CalhounGare CalhounGare Calhoun