What options are there for compiling Scribus?

Peter Kümmel syntheticpp at gmx.net
Fri Feb 25 20:42:47 CET 2005


Steven Boothe wrote:
> Ralf Habacker wrote:
> 
>> Hi Steven,
>>
>> for compiling qt3 you should use recent cvs branch QT_WIN32_3_3_BRANCH 
>> or a recent source snapshot from http://kde-cygwin.sf.net/snapshots/qt
>>
>> A compile instruction could be found under
>> http://cvs.sourceforge.net/viewcvs.py/kde-cygwin/qt-3/cygwin/Attic/README?rev=1.1.2.1&hideattic=0&view=markup 
>>
>>
>> The last cygwin binary package could be found here 
>> http://webdev.cegit.de/snapshots/kde-cygwin/qt/qt-x11-free-3.3.3-0.tar.bz2 
>>
>>
>> Regards
>> Ralf
> 
> 
> Just a brief note to thank you Ralf. These instructions are proving very 
> helpful as I go through these steps this morning. However it appears I 
> just ran into a snag:
> 
> Here are the steps that I performed to get here:
> 
> 1. Removed all entries of cygwin from the registry
> 2. Moved the old c:\cygwin to c:\cygwin.old
> 3. Started with fresh minimal install of cygwin with the following 
> development tools:
> 
>    - cvs
>    - make
>    - >=gcc 3.3.1
>    - recent binutils
>    - flex
>    - byacc
>    - XFree (at least base and prog)
>    - cygipc
> 
> 4. opened cygwin command line shell
> 5. export QTDIR=/home/cboothe/src/qt-3/build
> 6. export QT_SOURCE_TREE=/home/cboothe/src/qt-3
> 7. entered QTDIR and ran configure
> 
> cd $QTDIR $QT_SOURCE_TREE/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
> 
> (this went perfectly)
> 
> 8. compile the sources
> 
> make
> 
> Which resulted in the following error:
> 
> g++ -Wl,--enable-runtime-pseudo-reloc 
> -Wl,--script,/home/cboothe/src/qt-3/build/mkspecs/cygwin-g
> ++/i386pe.x-no-rdata -fno-exceptions -o ../../bin/moc ./qbuffer.o 
> ./qptrcollection.o ./qcstring.
> o ./qdatastream.o ./qdatetime.o ./qfile.o ./qdir.o ./qfileinfo.o 
> ./qgarray.o ./qgdict.o ./qglist
> .o ./qglobal.o ./qgvector.o ./qiodevice.o ./qregexp.o ./qstring.o 
> ./qlocale.o ./qunicodetables.o
>  ./qstringlist.o ./qtextstream.o ./qbitarray.o ./qmap.o ./qgcache.o 
> ./qtextcodec.o ./qutfcodec.o
>  ./moc_yacc.o ./qfile_unix.o ./qdir_unix.o ./qfileinfo_unix.o
> make[2]: Leaving directory `/home/cboothe/src/qt-3/build/src/moc'
> cd src && make
> make[2]: Entering directory `/home/cboothe/src/qt-3/build/src'
> g++ -c -pipe -fdata-sections -fno-exceptions -Wall -W -O2 -D_REENTRANT 
> -DQT_SHARED -DQT_NO_DEBUG
>  -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -DQT_NO_CUPS -DQT_NO_NIS 
> -DQT_NO_XINERAMA -DQT_NO_SHAPE
>  -DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE 
> -DQT_NO_XKB -DQT_NO_SM_SUPPO
> RT -DQT_NO_IPV6 -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG 
> -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE
> _MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP 
> -DQT_NO_STYLE_COMPACT -D
> QT_NO_STYLE_POCKETPC -I/home/cboothe/src/qt-3/mkspecs/cygwin-g++ 
> -I/home/cboothe/src/qt-3/src -I
> ../include -I/home/cboothe/src/qt-3/src/3rdparty/libpng 
> -I/home/cboothe/src/qt-3/src/3rdparty/zl
> ib -I/home/cboothe/src/qt-3/include -I/usr/X11R6/include -I. 
> -I.moc/release-shared-mt/ -o .obj/r
> elease-shared-mt/qtaddons_x11.o 
> /home/cboothe/src/qt-3/src/kernel/qtaddons_x11.cpp
> In file included from 
> /home/cboothe/src/qt-3/src/kernel/qtaddons_x11.cpp:25:
> /home/cboothe/src/qt-3/src/kernel/qt_x11_p.h:66:22: X11/Xlib.h: No such 
> file or directory
> /home/cboothe/src/qt-3/src/kernel/qt_x11_p.h:71:23: X11/Xutil.h: No such 
> file or directory
> /home/cboothe/src/qt-3/src/kernel/qt_x11_p.h:76:23: X11/Xatom.h: No such 
> file or directory
> make[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1
> make[2]: Leaving directory `/home/cboothe/src/qt-3/build/src'
> make[1]: *** [sub-src] Error 2
> make[1]: Leaving directory `/home/cboothe/src/qt-3/build'
> make: *** [init] Error 2
> 
> cboothe at IT-staff ~/src/qt-3/build
> 
> Can anyone see something that I may have did wrong or missed?

You also need the X11 headers: Xlib.h ....
Peter


More information about the kde-cygwin mailing list