Installing Scribus on Win32: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 79: Line 79:


------------------------------------
------------------------------------
'''Compiling from Scribus from source is still a work in progress, but please feel free to add your own notes especially if you have any success!'''
Release Name: [http://sourceforge.net/project/shownotes.php?release_id=277342 scribus-1.2cvs]
Notes: Compiling instructions:
* unpack scribus-1.2.1-src.tar.bz2
* preconfigure:
* make -f Makefile.dist
* CFLAGS="-fdata-sections" CXXFLAGS="-fdata-sections" LDFLAGS="-Wl,--enable-runtime-pseudo-reloc,--script,$(QTDIR)/mkspecs/cygwin-g++/i386pi.x-no-rdata" ./configure  --prefix=/opt/scribus/1.2
* make CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms"
-----------------------
Notes for reference:
<pre>
cboothe@IT-staff ~/src
$ cd scribus-1.2.1cvs/
cboothe@IT-staff ~/src/scribus-1.2.1cvs
$ make -f Makefile.dist
This Makefile is only for the CVS repository
This will be deleted before making the distribution
autoconf: not found
*** Creating acinclude.m4
!!! If you get recursion errors from autoconf, it is advisable to set the
    environment variable M4 to something including "--nesting-limit=500"
*** Creating aclocal.m4
aclocal: not found
make[1]: *** [cvs] Error 127
make: *** [all] Error 2
cboothe@IT-staff ~/src/scribus-1.2.1cvs
$
</pre>

Revision as of 01:38, 8 March 2005

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!