Message: 11 Date: Fri, 25 Mar 2005 14:17:53 +0100 From: Alexander Dalloz <ad+lists@xxxxxxxxx> Subject: Re: gnome-print To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> Message-ID: <1111756673.11539.45.camel@xxxxxxxxxxxxxxxxxxxxx> Content-Type: text/plain; charset="us-ascii"
Am Fr, den 25.03.2005 schrieb Peter Lesterhuis um 14:07:
[ ... ]Hi, I am trying to compile gnome-print. I installed: libgnomeprintui22-devel-2.8.0-1 libgnomeprint22-2.8.0-2 gnome-python2-gnomeprint-2.6.0-3 libgnomeprintui22-2.8.0-1 libgnomeprint22-devel-2.8.0-2 gnome-libs gnome-libs-devel
I untarred the gnome-print tarball. After <./configure> I get this output: [peter@cello gnome-print-0.9]$ ./configure
checking for xmlNewDoc in -lxml... Unknown library `xml' no configure: error: Could not link sample xml program
Now I don't know how to go on. Does anyone have an idea how this can be solved?
Peter.
Install libxml-devel or libxml2-devel. Don't know which one you need for compilation.
Alexander
I did as you suggested and installed libxml-devel. Now ./configure went smoothly without errors. But now after issuing the make-command I get this error:
[peter@cello gnome-print-0.9]$ make
make all-recursive
make[1]: Entering directory `/home/peter/gnome-print-0.9'
Making all in intl
make[2]: Entering directory `/home/peter/gnome-print-0.9/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/peter/gnome-print-0.9/intl'
Making all in po
make[2]: Entering directory `/home/peter/gnome-print-0.9/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/peter/gnome-print-0.9/po'
Making all in libgnomeprint
make[2]: Entering directory `/home/peter/gnome-print-0.9/libgnomeprint'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../intl -I../intl -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DPROFILEDIR=\"""\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DBINDIR=\""/usr/local/bin"\" -DDATADIR=\""/usr/local/share"\" -g -O2 -Wall -Wunused -c gnome-print-ps.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../intl -I../intl -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -DPROFILEDIR=\"\" -DGNOMELOCALEDIR=\"/usr/local/share/locale\" -DBINDIR=\"/usr/local/bin\" -DDATADIR=\"/usr/local/share\" -g -O2 -Wall -Wunused -c -fPIC -DPIC gnome-print-ps.c -o gnome-print-ps.lo
gnome-print-ps.c:394: error: duplicate `static'
gnome-print-ps.c: In function `gnome_print_ps_textline':
gnome-print-ps.c:535: warning: implicit declaration of function `abs'
make[2]: *** [gnome-print-ps.lo] Error 1
make[2]: Leaving directory `/home/peter/gnome-print-0.9/libgnomeprint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/peter/gnome-print-0.9'
make: *** [all-recursive-am] Error 2
I read the output, but I do not understand what is going wrong. Somebody who does?
Or should I give it up. (I vaguely remember having read that gnome-print will be in FC4, so perhaps I only have to be patient). Anyhow help would be appreciated.
Peter.