[Scribus] Errors building from CVS
Peter Linnell
scribusdocs
Sat Nov 1 05:36:15 CET 2003
On Fri, 2003-10-31 at 23:18, Craig H. Anderson wrote:
> I have not been able to build from CVS. This is on a Debian
> system. Some notes follow.
>
>
> date
> Fri Oct 31 18:20:57 MST 2003
> export
> CVSROOT=:pserver:anoncvs at ahnews.music.salford.ac.uk:/usr/local/cvsroot
> cvs login # when it asks for a password, press return
> cvs -z3 co Scribus
> cd Scribus
> make -f Makefile.dist # see errors below
> ./configure
> make # see errors below
>
> ================== output from make -f Makefile.dist
> This Makefile is only for the CVS repository
> This will be deleted before making the distribution
>
> *** 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
> *** Creating configure
> *** Creating config.h template
> *** Creating Makefile templates
> scribus/Makefile.am:131: invalid unused variable name: `AM_LDFLAGS'
> scribus/libabout/Makefile.am:15: invalid unused variable name: `AM_LDFLAGS'
> scribus/libprefs/Makefile.am:15: invalid unused variable name: `AM_LDFLAGS'
> scribus/plugins/libchar/Makefile.am:16: invalid unused variable name:
> `AM_LDFLAGS'
> scribus/plugins/svgexplugin/Makefile.am:5: invalid unused variable name:
> `AM_LDFLAGS'
> scribus/plugins/svgimplugin/Makefile.am:5: invalid unused variable name:
> `AM_LDFLAGS'
> scribus/plugins/printpreview/Makefile.am:16: invalid unused variable name:
> `AM_LDFLAGS'
> scribus/plugins/scriptplugin/Makefile.am:11: invalid unused variable name:
> `AM_LDFLAGS'
> scribus/libpostscript/Makefile.am:23: invalid unused variable name:
> `AM_LDFLAGS'
> scribus/libpdf/Makefile.am:24: invalid unused variable name: `AM_LDFLAGS'
>
>
> ============================ Output from make
> cd . && autoheader
> make all-recursive
> make[1]: Entering directory `/home/craig/src/Scribus'
> Making all in scribus
> make[2]: Entering directory `/home/craig/src/Scribus/scribus'
> Making all in icons
> make[3]: Entering directory `/home/craig/src/Scribus/scribus/icons'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/craig/src/Scribus/scribus/icons'
> Making all in libabout
> make[3]: Entering directory `/home/craig/src/Scribus/scribus/libabout'
> /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../..
> -I/usr/include/freetype2 -I/usr/include/qt -I/usr/X11R6/include
> -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -c
> about.cpp
> mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/freetype2
> -I/usr/include/qt -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2
> -fno-exceptions -fno-check-new -Wp,-MD,.deps/about.pp -c about.cpp -fPIC
> -DPIC -o .libs/about.o
> about.cpp:2:21: about.moc: No such file or directory
> make[3]: *** [about.lo] Error 1
> make[3]: Leaving directory `/home/craig/src/Scribus/scribus/libabout'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/craig/src/Scribus/scribus'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/craig/src/Scribus'
> make: *** [all-recursive-am] Error 2
>
> output of dpkg -l
> ||/ Name Version Description
> +++-=================-=================-====================================
> ==============
> ii libqt3-mt-dev 3.2.1-6 Qt development files (Threaded)
> ii gcc-3.3 3.3.2-1 The GNU C compiler
> ii autoconf 2.57-11 automatic configure script builder
> ii m4 1.4-17 a macro processing language
> ii make 3.80-4 The GNU version of the "make"
> utility.
> ii automake 1.4-p4-1.1 A tool for generating GNU
> Standards-compliant Make
>
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus
>
<snipped from the docs>
Troubleshooting
The majority of problems when compiling Scribus comes from using old
versions of autoconf and automake (this caused large problems when I
first got involved with development, Franz and I were using totally
different version and that caused endless days of fun!). I would suggest
using the following versions:
autoconf 2.57
automake 1.6.3
make 3.79
You should also be using KDE 3 (pref 3.1.2 or 3.1.1a ) and Qt 3.1.2 or
Qt 3.2.1. Please ensure that you are also using gcc 3.2 or later.
http://scribus.net/documentation/compile-cvs.html
Hope that helps,
Peter
More information about the scribus
mailing list