Difference between revisions of "Platform:Linux"

From GNUstepWiki
Jump to navigation Jump to search
(Add link to Ubuntu instructions)
Line 20: Line 20:
  
 
=== Install from source: Dependencies ===
 
=== Install from source: Dependencies ===
If you want to compile from source install the following [[Dependencies]] packages (applies to both Debian and Ubuntu):
+
See [[GNUstep_under_Ubuntu_Linux]] for detailed instructions for Ubuntu (should apply to Debian as well). If you want to compile from source install the following [[Dependencies]] packages (applies to both Debian and Ubuntu):
  
 
<tt>gobjc, libx11-dev, libx11-xft, libxmu-dev, libtiff4-dev, libpng12-dev, libungif4-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libssl-dev, libgmp3-dev, libffcall1-dev, libcairo2-dev</tt> (universe), and <tt>svn</tt> if you want to download the svn version.
 
<tt>gobjc, libx11-dev, libx11-xft, libxmu-dev, libtiff4-dev, libpng12-dev, libungif4-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libssl-dev, libgmp3-dev, libffcall1-dev, libcairo2-dev</tt> (universe), and <tt>svn</tt> if you want to download the svn version.

Revision as of 19:58, 23 December 2013

This article or section is a stub (i.e., in need of additional material).
You can help us by expanding it


Debian / Ubuntu

Debian

Since Debian Sarge (3.1) you can use apt-get to obtain GNUstep packages.

# apt-get install x-window-system-core wmaker gnustep gnustep-devel gnustep-games

to install GNUstep, X11 and Window Maker.

The best way to get up-to-date GNUstep packages is to upgrade from stable to testing or unstable. If upgrading to Debian unstable is not desirable it is possible to simply add the unstable apt lines to the sources.list and specify the distribution when installing the packages, e.g.

# apt-get install -t unstable gnumail.app

This method might upgrade some other packages to satisfy dependencies, but will have a much smaller impact on the system since only the packages on which GNUstep depends will be upgraded.

Ubuntu

As Ubuntu is Debian-based you can likewise install gnustep libraries (and their dependencies) via

sudo apt-get install gnustep gnustep-devel

apt will also suggest a lot of apps to install.

Install from source: Dependencies

See GNUstep_under_Ubuntu_Linux for detailed instructions for Ubuntu (should apply to Debian as well). If you want to compile from source install the following Dependencies packages (applies to both Debian and Ubuntu):

gobjc, libx11-dev, libx11-xft, libxmu-dev, libtiff4-dev, libpng12-dev, libungif4-dev, libart-2.0-dev, libxml2-dev, libxslt1-dev, libssl-dev, libgmp3-dev, libffcall1-dev, libcairo2-dev (universe), and svn if you want to download the svn version.

Optional: libaspell-dev for GSspell.service

Please follow the instructions on GNUstep_SVN_installation_guide.

Gentoo

To install GNUstep libs and scripts, do

emerge gnustep-env

For a list of GNUstep-related ebuilds, see the Online Package Database. For the most recent packages, type ACCEPT_KEYWORDS="~x86" emerge package-name (or analogically for your cpu family: "~sparc", "~ppc" ...)

Slackware

Version 10.2

Libraries and accompanying applications will build with no modifications. Slackware 10.2 ships with GCC 3.3.6, so mixed Objective-C and C++ code is not supported, meaning additional frameworks/libraries may not be supported.

Version 11.0

This version of Slackware works the same as the previous (10.2). Libraries and applications will build with no modifications, but due to the GCC version used (3.4.6) Objective-C++ is not supported.

Version 12.0

GNUstep compiles and install on Slackware 12.0 perfectly. Unfortunately, this version of Slackware does not include an Objective-C++ compiler.

Version 12.2

Packages

Slackware packages have been created and can be found in:

  • GNUstep FTP (Please read gnustep-core.README before installing)

Build Scripts

SlackBuild scripts can be found at:

OpenSuse

Packages for GNUstep releases can be found on the Open Build Service (OBS).

Version 11.3

The package of pixman that comes with OpenSuse 11.3 seems to be broken for some graphic drivers. You may either downgrade or upgrade to another version of pixman (plus cairo) or use a different GNUstep backend. For me upgrading to the cairo version as provided by the GNOME Factory project on the OpenSuse Build Service worked perfectly. [1]

Version 11.4

Packages provided by Richard Stonehouse here (including installation instructions).

Version 12.1

Version 12.2

These versions require that you install a few dev packages (e.g. libffi dev, cairo dev, ...), then GNUstep SVN compiles out of the box.