gnome-print CVS 18 NOV 98
- From: Philippe Defert cern ch
- To: gnome-list gnome org
- Subject: gnome-print CVS 18 NOV 98
- Date: Thu, 19 Nov 1998 09:45:45 +0100
I compiled and linked gnome-print extracted from CVS on 18 NOV 98 for
the following platforms:
sparc-sun-solaris2.5.1
sparc-sun-solaris2.6
i686-pc-linux-gnulibc1 (redhat 4.1)
i686-pc-linux-gnu (redhat 5.1)
alpha-dec-osf4.0b
hppa1.1-hp-hpux10.20
powerpc-ibm-aix4.2.1.0
mips-sgi-irix6.4
- on sparc-sun-solaris2.5.1 and i686-pc-linux-gnulibc1, the intl lib
was not properly setup in "configure" I had to finish the link phase
by adding -lintl in the Makefile.
- on hppa1.1-hp-hpux10.20 and powerpc-ibm-aix4.2.1.0, I had a
compilation problem at:
: :/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -O2 -c gnome-font.c
: :gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -O2 -Wp,-MD,.deps/gnome-font.p -c -fPIC -DPIC gnome-font.c
:*:In file included from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57/include/stdlib.h:231,
:*: from /usr/local/include/gtk/gtkthemes.h:26,
:*: from /usr/local/include/gtk/gtk.h:109,
:*: from /usr/local/include/gnome.h:6,
:*: from gnome-font.c:2:
:*:/usr/local/lib/gcc-lib/hppa1.1-hp-hpux10.20/egcs-2.91.57/include/sys/wait.h:166: parse error before `('
:*:gmake: *** [gnome-font.lo] Error 1
:happi: Entering wait for 13313
:Error executing Run /usr/local/bin/gmake MAKE=/usr/local/bin/gmake
:%:Terminated with errors(code: 612)
:Error executing Run /usr/local/bin/gmake MAKE=/usr/local/bin/gmake
:%:Terminated with errors(code: 612)
This is due to the declaration of a macro called P_ALL in the file
parseAFM.h as
#define P_ALL (P_G | P_M | P_P | P_T | P_C).
This conflicts with the declaration of P_ALL in the sytem file
/usr/include/sys/wait.h as
typedef enum {P_ALL, P_PID, P_PGID} idtype_t;
It is solved by renaming P_ALL in gnome-print as PR_ALL.
- gnome-font-install contains a direct reference to /usr/bin/perl. and
a direct call to "gnome-config --datadir" which is not correct in an
installation procedure (make install) as many dirs can be redefined at
this moment with the prefix= option. It should have a flag called
--datadir and be called in the Makefile as
./gnome-font-install --datadir $(datadir) ...
datadir being already in the makefile. That would be much nicer and
really coherent.
Amicalement.
Philippe.
--
************************************************************************
* Philippe Defert: Computing and Networks Division *
* CERN, European Laboratory for Particle Physics *
************************************************************************
* URL: http://wwwcn.cern.ch/~defert | E*mail: Philippe.Defert@cern.ch *
************************************************************************
* Un monde nouveau, tu comprends ////\ *
* Rien ne sera plus jamais comme avant \\\// *
* C'est la fin de l'histoire, le rouge apres le noir | | *
* J.J. Goldman | | *
************************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]