Build Scribus 1.3.6.svn on OpenSolaris x64 – part 2 (UPDATED)

Full build instructions as copied/pasted from my bug report – note that this will enable you to build Scribus, but opening/saving Scribus project files is broken. If anyone has a workaround for this let me know…and hopefully the Scribus developers will have a fix soon.

EDIT: Saving files does work (there is a bug report here), given the following workaround. It seems Cmake ignores the install directory specified by -DCMAKE_INSTALL_PREFIX:PATH=~/scribusinstall. If you copy the contents of sfw_stage to ~/scribusinstall, saving .sla files apparently then works fine. See below for these commands, options, and directories in context.

Also be warned that this whole process can take a while – building Qt for example on an Intel Q8200 quad-core system took about a couple of hours.

 

**********************************************************************************
**********************************************************************************
BUILDING AND INSTALLING SCRIBUS 1.3.6.svn ON OPENSOLARIS DEVELOPMENT BUILD 134 X64
**********************************************************************************
**********************************************************************************

Saturday 13th March 2010

 

=> INSTALL OPENSOLARIS X64

Download osol-dev-134-x86.iso from http://www.genunix.org/

Test case system is an Intel Q8200 (Gigabyte EG31MF-S2 system board) with 4GB RAM.

 

=> INSTALL PREREQUISITE PACKAGES

Use the OpenSolaris IPS package manager GUI to install the following:

versioning/subversion
gcc-3
cmake
gettext
header-xorg

 

= BUILD AND INSTALL QT 4.6.2 FROM SOURCE

Download qt-everywhere-opensource-src-4.6.2.tar.gz from http://qt.nokia.com/downloads

Copy and unpack the file to /tmp

In /tmp/qt-everywhere-opensource-src-4.6.2/ run the following:

$ ./configure -platform solaris-g++ -no-webkit
$ gmake
$ pfexec gmake install

This installs Qt at the default location of /usr/local/Trolltech/Qt-4.6.2

(Note: if you encounter mmap errors when building, increase the swap space following the instructions at http://www.crypticide.com/dropsafe/article/2649)

Add the following to your ~/.profile (assuming ksh or bash)

QTDIR=/usr/local/Trolltech/Qt-4.6.2; export QTDIR

 

=> BUILD AND INSTALL SCRIBUS

$ mkdir ~/scribusinstall
$ mkdir ~/scribussource
$ cd ~/scribussource
$ svn co svn://scribus.info/Scribus/branches/Version135
$ cd Version135/Scribus
$ mkdir builddir
$ cd builddir
$ /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=~/scribusinstall
$ make
$ pfexec make install

Scribus binary is installed to ~/scribussource/Version135/Scribus/builddir/sfw_stage/bin. See the edit at the top of this page to complete the installation.

Scribus 1.3.5svn running on OpenSolaris

About these ads

3 thoughts on “Build Scribus 1.3.6.svn on OpenSolaris x64 – part 2 (UPDATED)

  1. Nich

    I am having a little problem and I am not the best C dev on the planet. Can someone point me in the right direction?

    —-
    Scanning dependencies of target 2geom
    [ 92%] Building CXX object scribus/plugins/tools/2geomtools/lib2geom/CMakeFiles/2geom.dir/svg-path.cpp.o
    In file included from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/sbasis.h:40,
    from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/concepts.h:34,
    from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/d2.h:39,
    from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/sbasis-to-bezier.h:4,
    from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/svg-path.cpp:31:
    /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/linear.h: In member function `bool Geom::Linear::isFinite() const':
    /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/linear.h:91: error: `isfinite’ is not a member of `std’
    /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/linear.h:91: error: `isfinite’ is not a member of `std’
    In file included from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/path.h:39,
    from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/sbasis-to-bezier.h:5,
    from /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/svg-path.cpp:31:
    /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/bezier.h: In member function `bool Geom::Bezier::isFinite() const':
    /export/home/nxn/scribus/scribus-1.3.6/scribus/plugins/tools/2geomtools/lib2geom/bezier.h:150: error: `isfinite’ is not a member of `std’
    make[2]: *** [scribus/plugins/tools/2geomtools/lib2geom/CMakeFiles/2geom.dir/svg-path.cpp.o] Error 1
    make[1]: *** [scribus/plugins/tools/2geomtools/lib2geom/CMakeFiles/2geom.dir/all] Error 2
    make: *** [all] Error 2

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s