GNUstep SVN Installation Guide

From GNUstepWiki

(Difference between revisions)
Revision as of 11:02, 9 March 2007
Pingi (Talk | contribs)
be all in all more helpful
← Previous diff
Revision as of 17:36, 3 February 2009
Hns (Talk | contribs)
Makefile Package
Next diff →
Line 3: Line 3:
<b>NOTE:</b> Instruction on installing GNUstep on Windows are available at [[Installation on Windows]]. <b>NOTE:</b> Instruction on installing GNUstep on Windows are available at [[Installation on Windows]].
-== Prerequisits ==+== Prerequisites ==
-Make sure to have the libraries mentioned as [[Dependencies]] installed &ndash; from their specific web sites or using your packaging system. (Note that some distris/flavours put header files into separate *-dev or *-devel packages. In this case these must be installed, too!) You may also want to have a look at the article [[Platform compatibility]] for notes on your platform.+Make sure to have the libraries mentioned as [[Dependencies]] installed &ndash; from their specific web sites or using your packaging system. (Note that some distributions/variants put header files into separate *-dev or *-devel packages. In this case these must be installed, too!) You may also want to have a look at the article [[Platform compatibility]] for notes on your platform.
==Download== ==Download==
svn co http://svn.gna.org/svn/gnustep/modules/core svn co http://svn.gna.org/svn/gnustep/modules/core
-See also [[using subversion]].+See also [[Using Subversion]].
 + 
== Makefile Package == == Makefile Package ==
 +You should install these packages as root.
 +<pre>
 +sudo
 +</pre>
 +Now, start with the Makefile Package.
<pre> <pre>
cd core/make cd core/make
Line 16: Line 22:
make install make install
</pre> </pre>
-For configurations options see <code>./configure --help</code>. For example <code>./configure --with-layout=fhs</code> enables a more FHS-conformable filesystem layout.+For configurations options see <code>./configure --help</code>. For example <code>./configure --with-layout=fhs</code> enables a more FHS-conformable filesystem layout. <code>./configure --prefix=MYPATH</code> will install into MYPATH instead of the standard /usr/GNUstep. Typical options are / (into root directly, as NeXT or Apple do), /usr/local/GNUstep, /opt/GNUstep.
Extra configuration needed every time you use "GNUstep" from a command-line: Extra configuration needed every time you use "GNUstep" from a command-line:

Revision as of 17:36, 3 February 2009

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.

NOTE: Instruction on installing GNUstep on Windows are available at Installation on Windows.

Contents

Prerequisites

Make sure to have the libraries mentioned as Dependencies installed – from their specific web sites or using your packaging system. (Note that some distributions/variants put header files into separate *-dev or *-devel packages. In this case these must be installed, too!) You may also want to have a look at the article Platform compatibility for notes on your platform.

Download

 svn co http://svn.gna.org/svn/gnustep/modules/core

See also Using Subversion.

Makefile Package

You should install these packages as root.

sudo

Now, start with the Makefile Package.

cd core/make
./configure
make
make install

For configurations options see ./configure --help. For example ./configure --with-layout=fhs enables a more FHS-conformable filesystem layout. ./configure --prefix=MYPATH will install into MYPATH instead of the standard /usr/GNUstep. Typical options are / (into root directly, as NeXT or Apple do), /usr/local/GNUstep, /opt/GNUstep.

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

For csh or tcsh.

Base/Foundation Library

cd core/base
./configure
make
make install

GUI/AppKit Library

cd core/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.

cd core/back
./configure --enable-graphics=cairo   #for standard backend leave this line out
make
make install