Compiling Scribus 1.3.5 SVN under OpenSuse 10.2

From Scribus Wiki
Jump to navigation Jump to search

If you want to stay always up to date with the Scribus developement, you have to compile the Subversion (SVN) version on your own. Beside the general procedure which is described in the documentation, here are some information which are specially targeting OpenSuse 10.2.

Additional packages which can be installed via YasT

Install the following packages via YasT:

  • subversion
  • gcc
  • gcc-c++
  • libpng-devel
  • libjpeg-devel
  • libtiff-devel
  • libxml2-devel
  • liblcms-devel
  • cups-devel
  • python-devel

Some of these packages have dependencies with more packages. Install them too, normally YasT lists them and you have just to admit.

Additional packages which has to be installed manually

  • The version of cmake which ships with OpenSuse is too old for compiling Scribus. Download the actual version from the cmakes homepage. The binary version is OK and will do the job.
  • Scribus 1.3.5 relies on Trolltech's QT library in version 4.x It's worth downloading the actual version of QT from Trolltech's homepage and compile it on your own. Make sure that you downloaded the OpenSource version of QT, Trolltech also offers commercial and evaluation versions. If you didn't changed the standard configuration, QT can now be find in /usr/local/Trolltech/Qt-X.X.X/. Set the environment variable QTDIR to that directory, in the bash: export QTDIR=/usr/local/Trolltech/Qt-X.X.X/ (replace the Xs with the correct version number of QT).


Let's go

Now, your system is ready to download Scribus SVN:

svn co svn://scribus.info/Scribus/trunk


Configuring with cmake:

/path/to/cmake/bin/cmake . -DCMAKE_INSTALL_PREFIX:PATH=/opt/scribusSVN/

Where /opt/scribusSVN is the directory where you want Scribus to get installed.


Compiling and installing:

make make install

For further information, take a look at the Scribus documentation.