Installing Scribus on Win32

From Scribus Wiki
Revision as of 01:38, 8 March 2005 by Hap0 (talk | contribs)
Jump to navigation Jump to search
This article is part of the HOWTOs series.
Installation Usage PDF issues Imposition Other

This first part of the documentation deals with compiling QT from the kde-cygwin project at: http://kde-cygwin.sourceforge.net/qt3/index.php .

By posting these instructions here, hopefully others will be encouraged to engage the process of both documenting and applying the documentation to achieve a working recipe for building Scribus for Windows.

Instructions for building QT/X11 from latest source:

  • Remove all entries of cygwin from the registry
  • Move previous cygwin install c:\cygwin to c:\cygwin.old
  • Install Cygwin with the following packages:
  + autoconf
  + binutils
  + byacc
  + cvs
  + flex
  + gcc
  + jpeg
  + lcms
  + libart_lgpl
  + libjpeg6b
  + libpng
  + libpng12
  + libpng12-devel
  + libtiff5
  + libtiff5-devel
  + libxml2
  + libxml2-devel
  + make
  + xorg-X11-base
  + xorg-X11-devel
  + xorg-X11-fscl
  + xorg-X11-fsrv

Obtain source:

  • cd ~/
  • cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/kde-cygwin login
  • <enter>
  • cvs -z6 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/kde-cygwin co -r QT_WIN32_3_3_BRANCH qt-3

Later you can update the sources by

  • cd ~/src/qt-3
  • cvs -z6 update

But for now we'll continue with:

  • cd ~/src/qt-3
  • export QTDIR=$PWD
  • export PATH=$QTDIR/bin:$PATH
  • export QMAKESPEC=cygwin-g++
  • make -f Makefile.cvs
  • "echo yes | ./configure -platform cygwin-g++ -plugin-imgfmt-mng -qt-zlib -qt-gif -qt-libpng -qt-libjpeg -qt-libmng -no-g++-exceptions -thread -no-stl -no-sm -no-xft -no-xkb -no-xrender -disable-opengl -disable-sql -prefix /opt/qt/3.3 -fast"

Compile the sources

  • make (Huge thanks to Ralf and Peter of the kde-cygwin project!!!)




Later after the above has been worked out, one might proceed with the following:

For pre-compiled binaries download the following files and place them in your cygwin directory (usually c:\cygwin):

Now start the cygwin BASH shell and do the following:

cd /
tar jxvf *.bz2
cd ~
Xwin -multiwindow -clipboard &
/opt/scribus/1.2/bin/scribus.exe

Begin Scribing!