Difference between revisions of "GNUstep SVN Installation Guide"
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | This page is a step-by-step " | + | 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. |
− | It's mainly a short summary of different documents available | ||
− | |||
− | + | <b>NOTE:</b> Instruction on installing GNUstep on Windows are available at [[Installation on Windows]]. | |
− | |||
− | |||
− | |||
− | |||
+ | == 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]]. | ||
+ | |||
+ | Or use git to check out each core component separately. E.g. for make: | ||
+ | git svn clone http://svn.gna.org/svn/gnustep/tools/make/trunk make | ||
+ | |||
+ | == Makefile Package == | ||
+ | You should install these packages as root. | ||
+ | <pre> | ||
+ | sudo | ||
+ | </pre> | ||
+ | Now, start with the Makefile Package. | ||
<pre> | <pre> | ||
− | + | cd core/make | |
− | ./configure | + | ./configure |
make | make | ||
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. <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: | ||
+ | <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 | ||
+ | </pre> | ||
+ | For csh or tcsh. | ||
− | == | + | == Base/Foundation Library == |
<pre> | <pre> | ||
− | + | cd core/base | |
./configure | ./configure | ||
make | make | ||
Line 32: | Line 45: | ||
</pre> | </pre> | ||
+ | == GUI/AppKit Library == | ||
<pre> | <pre> | ||
− | + | cd core/gui | |
./configure | ./configure | ||
make | make | ||
Line 39: | Line 53: | ||
</pre> | </pre> | ||
+ | == Backend Library == | ||
+ | The most stable GNUstep [[backend]] currently is the one dependent on cairo. The libart backend is no longer actively developed. You may want to try one of the different backends by using the configure option "--enable-graphics=" with either art, xlib, opal or cairo as parameter. | ||
<pre> | <pre> | ||
− | + | cd core/back | |
− | ./configure | + | ./configure |
make | make | ||
make install | make install | ||
</pre> | </pre> | ||
− | == Minimal configuration == | + | <!-- put this into platform:linux or sth! == Minimal configuration == |
− | + | You may need to install package to use default font used by GNUstep. On Debian Etch, install <tt>ttf-bitstream-vera</tt> package. --> | |
− | |||
− | |||
− | |||
− | You may |
Latest revision as of 15:50, 22 April 2017
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.
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.
Or use git to check out each core component separately. E.g. for make:
git svn clone http://svn.gna.org/svn/gnustep/tools/make/trunk make
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 cairo. The libart backend is no longer actively developed. You may want to try one of the different backends by using the configure option "--enable-graphics=" with either art, xlib, opal or cairo as parameter.
cd core/back ./configure make make install