GNUstep SVN Installation Guide

From GNUstepWiki
Revision as of 22:32, 5 March 2007 by Thecat (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 source /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.