Difference between revisions of "GNUstep SVN Installation Guide"

From GNUstepWiki
Jump to navigation Jump to search
(Made it a little more general!)
Line 1: Line 1:
This page is a step-by-step "Howto compile the last svn version of GNUstep".
+
This page is a step-by-step "How-to compile the latest svn version of GNUstep". It's mainly a short summary of different documents available. Wiki based, I hope this document will be the up-to-date installation guide.
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 ==
 
== Introduction ==
Three step are needed to build and install GNUstep from scratch :
+
Three step are needed to build and install GNUstep:
* Building the Makefile package: this set up an environement to build everything else.
+
* Build the Makefile package: sets up an environment for GNUstep;
* Building library.
+
* Build core libraries;
 
* Minimal configuration.
 
* Minimal configuration.
  
  
== Building Makefile package ==
+
== Makefile Package ==
 
<pre>
 
<pre>
 
svn co http://svn.gna.org/svn/gnustep/tools/make/trunk/ gnustep-make
 
svn co http://svn.gna.org/svn/gnustep/tools/make/trunk/ gnustep-make
Line 21: Line 19:
 
<pre>
 
<pre>
 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh
or
+
</pre>
 +
For Bourne compatible shells, or
 +
<pre>
 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.csh
 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.csh
 
</pre>
 
</pre>
  
== Building Library ==
+
== Core Libraries ==
 +
You will need at least the core libraries in order to run most GNUstep tools and/or applications.
 +
 
 +
=== Base/Foundation Library ===
 
<pre>
 
<pre>
 
svn co http://svn.gna.org/svn/gnustep/libs/base/trunk/ gnustep-base
 
svn co http://svn.gna.org/svn/gnustep/libs/base/trunk/ gnustep-base
Line 33: Line 36:
 
</pre>
 
</pre>
  
 +
=== GUI/AppKit Library ===
 
<pre>
 
<pre>
 
svn co http://svn.gna.org/svn/gnustep/libs/gui/trunk/ gnustep-gui
 
svn co http://svn.gna.org/svn/gnustep/libs/gui/trunk/ gnustep-gui
Line 40: Line 44:
 
</pre>
 
</pre>
  
 +
=== Backend Library ===
 +
The most stable GNUstep backend currently is the one dependent on libart, but is no longer actively developed.  The libcairo has become the official backend but is still unstable.
 
<pre>
 
<pre>
 
svn co http://svn.gna.org/svn/gnustep/libs/back/trunk/ gnustep-back
 
svn co http://svn.gna.org/svn/gnustep/libs/back/trunk/ gnustep-back
./configure --enable-graphics=cairo --with-name=cairo --disable-glitz
+
./configure --enable-graphics=cairo --disable-glitz
 
make
 
make
 
make install
 
make install
Line 48: Line 54:
  
 
== Minimal configuration ==
 
== Minimal configuration ==
<pre>
 
defaults write NSGlobalDomain GSBackend libgnustep-cairo
 
</pre>
 
 
 
You may also need to install package to use default font used by GNUstep. On Debian Etch, install <tt>ttf-bitstream-vera</tt> package.
 
You may also need to install package to use default font used by GNUstep. On Debian Etch, install <tt>ttf-bitstream-vera</tt> package.

Revision as of 01:35, 6 March 2007

This page is a step-by-step "How-to compile the latest svn version of GNUstep". It's mainly a short summary of different documents available. Wiki based, I hope this document will be the up-to-date installation guide.

Introduction

Three step are needed to build and install GNUstep:

  • Build the Makefile package: sets up an environment for GNUstep;
  • Build core libraries;
  • Minimal configuration.


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

For Bourne compatible shells, or

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

Core Libraries

You will need at least the core libraries in order to run most GNUstep tools and/or applications.

Base/Foundation Library

svn co http://svn.gna.org/svn/gnustep/libs/base/trunk/ gnustep-base
./configure
make
make install

GUI/AppKit Library

svn co http://svn.gna.org/svn/gnustep/libs/gui/trunk/ gnustep-gui
./configure
make
make install

Backend Library

The most stable GNUstep backend currently is the one dependent on libart, but is no longer actively developed. The libcairo has become the official backend but is still unstable.

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

Minimal configuration

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