[Scribus] Re: Compiling cvs on Mandrake 9.2

Craig Bradney cbradney
Tue Dec 7 19:25:21 CET 2004


On Tuesday 07 December 2004 18:34, Christoph Sch?fer wrote:
> Owen schrieb:
> > On Mon, 06 Dec 2004 05:47:34 +0100
> >
> > Christoph Sch?fer <christoph-schaefer at gmx.de> wrote:
> >>OK, I surrender.
> >>
> >>Despite all hints and tips from Peter and Craig, ./configure still ends
> >>with the same error message.
> >>
> >>Maybe it's time to update my distro, but it certainly won't be Mandrake
> >>anymore (been Mandrake customer for 4 years), because these folks seem
> >>to 'forget' about their products once they're sold.
> >>
> >>However, many, many thanks to Craig and Peter for your patience!!!
> >
> > I have just built qt-3.3.3 on Mdk 10, this should work for you
> >
> > 1. Download qt-x11-free-3.3.3.tar.bz2 from
> > ftp://ftp.trolltech.com/qt/source/
> >
> > 2. unarchive it and cd into the qt-x11-free-3.3.3 directory
> >
> > 3. we are now going to build it in /opt so change to su and execute
> >
> >
> > bash
> > export QTDIR=$PWD &&
> > export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH &&
> > export PATH=$PWD/bin:$PATH &&
> > ./configure -prefix /opt/qt-3.3.3 -qt-gif -system-libpng \
> >    -system-libmng -system-zlib -system-libjpeg -no-exceptions \
> >    -thread -plugin-imgfmt-png &&
> > make &&
> > make install &&
> > ln -sfn qt-3.3.3 /opt/qt &&
> > ln -s libqt-mt.so /opt/qt/lib/libqt.so &&
> > cp -r doc/man /opt/qt/doc &&
> > cp -r examples /opt/qt/doc
> > exit
> >
> > (all that is from the BLFS book, but note you will need all those
> > libraries in the configure line above)
> >
> > Assuming all goes well you will end up with qt in /opt
> >
> > 4. Now try building scribusCVS with this
> >
> > ./configure --prefix=/install/directory/ --with-qt-dir=/opt/qt
> >
> >
> > That leaves your old QT intact for all the other programs that might use
> > it. It doesn't stuff anything and lets you keep up with the latest CVS
> >
> > All you have to lose is a lot of cpu time building qt
>
> Thanks for your advice, Owen.
>
> I did something similar (installed QT 3.3. in /opt/qt33, edited
> /etc/profiles.d/qt3.sh, so QTDIR is now /opt/qt33).
>
> ./configure runs without problems now, but make still fails.
>
> Here are the error messages:
>
> stylereader.cpp:419: error: `XML_PARSE_RECOVER' undeclared (first use
> this function)
> stylereader.cpp:419: error: (Each undeclared identifier is reported only
> once for each function it appears in.)
> stylereader.cpp: In function `static void
> StyleReader::startElement(void*, const xmlChar*, const xmlChar**)':
> stylereader.cpp:718: warning: unused parameter `void*user_data'
> stylereader.cpp: In function `static void StyleReader::endElement(void*,
> const xmlChar*)':
> stylereader.cpp:731: warning: unused parameter `void*user_data'
> make[6]: *** [stylereader.lo] Fehler 1
> make[6]: Leaving directory
> `/home/christoph/scribus-1.2.1cvs/scribus/plugins/gettext/sxwim'
> make[5]: *** [all-recursive] Fehler 1
> make[5]: Leaving directory
> `/home/christoph/scribus-1.2.1cvs/scribus/plugins/gettext/sxwim'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory
> `/home/christoph/scribus-1.2.1cvs/scribus/plugins/gettext'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/home/christoph/scribus-1.2.1cvs/scribus/plugins'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/christoph/scribus-1.2.1cvs/scribus'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/christoph/scribus-1.2.1cvs'
> make: *** [all] Fehler 2

Sounds like you dont have libxml2.6+ and its devel package.

Craig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20041207/1db453a7/attachment.pgp 



More information about the scribus mailing list