GNUstep on Ubuntu

This package helps you install GNUstep from source on a vanilla Ubuntu LTS.

Currently targeted release is Ubuntu 12.04 LTS.

Currently it also installs Clang from source, which is the lengthiest part of the installation.

Please launch the script from the root of your home folder (although it should work elsewhere). All content will be installed into the subdirectories of your current working directory.

  • llvm - contains clang and llvm
  • gnustep - contains gnustep
  • etoile - contains etoile

Etoile is currently not compiled nor installed.

Launch as follows (unless you already built LLVM and Clang from trunk):

WITH_TRUNK_LLVM=1 ./gnustep-ubuntu/GNUstep\ with\ libobjc2\ on\

You should end up with GNUstep in /GNUstep (that is, in your system's root). Consider adding the following to your ~/.bashrc; it'll be required before you can do anything:

export PATH=$PATH:~/llvm/Release+Asserts/bin
export CC=clang
export CXX=clang++
export OBJC=clang
. /GNUstep/System/Library/Makefiles/
export PATH=$PATH:/GNUstep/System/Tools

After a system reboot, the following line should not be necessary, since the file /etc/ is being created containing /GNUstep/lib. However, if it doesn't work for some reason, use this:


Written by Ivan Vucica based on Etoile's INSTALL file.

Alternative: use system Clang

To use system clang for building, do this:

CC=clang CXX=clang++ OBJC=clang ./gnustep-ubuntu/GNUSTEP\ with\ libobjc2\ on\

Other options

To skip checkout, use


To perform distclean, use

export WITH_CLEAN=1

To also build Debian packages (note: requires equivs package and manual application of patch on top of /usr/bin/equivs-build, as instructed in gnustep-make/Master/deb.make):

export WITH_DEB=1

Additional requirements

Theme 'Gtk'

Additionally requires libgtk2.0-dev and libgconf2-dev.


Use the following configure command:

CFLAGS=-I/GNUstep/Local/Library/Headers CXXFLAGS=-I/GNUstep/Local/Library/Headers ./configure


Opal requires previous installation of CoreBase.

Opal requires liblcms-dev.