Difference between revisions of "GNUstep SVN Installation Guide"

From GNUstepWiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
Extra configuration needed every time you use "GNUstep" from a command-line:
 
Extra configuration needed every time you use "GNUstep" from a command-line:
 +
<pre>
 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 
or
 
or
source /usr/GNUstep/System/Library/Makefiles/GNUstep.csh
+
. /usr/GNUstep/System/Library/Makefiles/GNUstep.csh
 
+
</pre>
  
 
== Building Library ==
 
== Building Library ==

Revision as of 22:34, 5 March 2007

This page is a step-by-step "Howto compile the last svn version of GNUstep". It's mainly a short summary of different documents available (and for some too out-of-date). Wiki based, I hope this document will be the up-to-date installation guide.

Introduction

Three step are needed to build and install GNUstep from scratch :

  • Building the Makefile package: this set up an environement to build everything else.
  • Building library.
  • Minimal configuration.


Building Makefile package

svn co http://svn.gna.org/svn/gnustep/tools/make/trunk/ gnustep-make
./configure --prefix=/usr/GNUstep
make
make install

Extra configuration needed every time you use "GNUstep" from a command-line:

. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
or
. /usr/GNUstep/System/Library/Makefiles/GNUstep.csh

Building Library

svn co http://svn.gna.org/svn/gnustep/libs/base/trunk/ gnustep-base
./configure
make
make install
svn co http://svn.gna.org/svn/gnustep/libs/gui/trunk/ gnustep-gui
./configure
make
make install
svn co http://svn.gna.org/svn/gnustep/libs/back/trunk/ gnustep-back
./configure --enable-graphics=cairo --with-name=cairo --disable-glitz
make
make install

Minimal configuration

defaults write NSGlobalDomain GSBackend libgnustep-cairo

You may also need to install package to use default font used by GNUstep. On Debian Etch, install ttf-bitstream-vera package.