What options are there for compiling Scribus?

Steven Boothe steven at poiema.org
Tue Feb 22 00:34:17 CET 2005


Hello all:

I am continuing to work through various issues as they crop up. 
Currently I have been following the instructions at:
http://kde-cygwin.sourceforge.net/qt3/compiling.php
in order to satisfy the 1. requirement for compiling Scribus:

> -----instructions-----
> 1. install qt-3.3.3 release (qt-3.3.1 does not work)

The problem I encounter is listed after following these steps:

----begin steps------
# install development tools with the Cygwin Installer, at least
     - cvs
     - make
     - >=gcc 3.3.1
     - recent binutils
     - flex
     - byacc
     - XFree (at least base and prog)
     - cygipc
# gcc-2 (for the gcc2 version)
# ld patch for gcc3.3
# The qt source requires yacc, which could be emulates through byacc. 
(It was reported that using bison doesn't work)
Create a yacc wrapper by entering the following lines into a bash shell:

cat >/usr/local/bin/yacc
byacc $*

Then enter RETURN and CTRL-D to close the cat command.
# download last qt 3.2.3 sources
# unpack the source archive

cd <any-src-dir>
tar -xjf qt-3.2.3-2-src.tar.bz2

# create some missing links which are not set by cygwin

ln -s /usr/lib/libcygipc.a /usr/lib/libipc.a

# prepare configuring (this creates the links in the include directory)

cd <qt-src-dir>

make -f Makefile.cvs
------end steps------

output of last steps:

$ make -f Makefile.cvs
cd include && headers=`ls q*.h 2>/dev/null` &&\
[ "x$headers" != "x" ] && rm -f $headers;
[ -d include/private ] || mkdir -p include/private
if test -z ; then \
         cd include && ln -f -s ../src/*/q*.h . && ln -f -s 
../extensions/*/src/q*.h . && \
         ln -f -s ../tools/designer/uilib/q*.h . &&\
         ln -f -s ../tools/assistant/lib/q*.h . && rm -f q*_p.h && \
         rm qtmultilineedit.h qttableview.h && \
         cd private && rm -f q*.h && ln -f -s ../../src/*/q*_p.h .; \
else \
         cd include && ln -f -s /src/*/q*.h . && ln -f -s 
/extensions/*/src/q*.h . && \
         ln -f -s /tools/designer/uilib/q*.h . &&\
         ln -f -s /tools/assistant/lib/q*.h . && rm -f q*_p.h && \
         rm qtmultilineedit.h qttableview.h && \
         cd private && rm -f q*.h && ln -f -s /src/*/q*_p.h .; \
fi

cboothe at IT-staff /src/qt-3
$ echo yes | ./configure -platform cygwin-g++ -fast -plugin-imgfmt-mng 
-thread -no-stl \ -qt-zlib -qt-gif -
qt-libpng -qt-libjpeg -qt-libmng -no-g++-exceptions -no-xft -no-xkb \ 
-disable-opengl -prefix /opt/qt/3.3
  -qt-zlib: unknown argument
  -disable-opengl: unknown argument

(Note: I went ahead and changed the value for -prefix from /opt/qt/3.2 
to 3.3)



More information about the kde-cygwin mailing list