Re: Unable to compile gnome-print-0.34
- From: Lauris Kaplinski <lauris ximian com>
- To: Elardus Viljoen <elardus obsidianlabs com>
- Cc: Gnome List <gnome-list gnome org>
- Subject: Re: Unable to compile gnome-print-0.34
- Date: 06 Mar 2002 00:03:40 +0200
Hello!
Sorry, I was forced offline for some time...
On Thu, 2002-02-28 at 08:07, Elardus Viljoen wrote:
> I compiled freetype 2.0.7 with prefix set to /usr. The same prefix is
> used when compiling gnome-print.
>
> libfreetype.so.6 (libc6) => /usr/lib/libfreetype.so.6
> libfreetype.so (libc6) => /usr/lib/libfreetype.so
> libfreetype.so (libc6) => /usr/X11R6/lib/libfreetype.so
Hmmm... it is probably installed by XFree, but bad things can
really happen, if different FT versions will be mixed. Although
I think the XFree one will be not linked to build normally (but
not sure...)
Also your error happens in compiling, not linking/running phase,
so the guilty party should be freetype-config, that does not
set up correct include paths...
> Hmmm ... the last line bugs me. On other workstations at work only the
> first two libs are found...
>
> > What does
> >
> > freetype-config --cflags
>
> /usr/bin/freetype-config: line 104: syntax error: unexpected end of
> file
Hmmm... Now that is weird.
> Should I attach the file in question (about 2K) on my next email?
freetype-config? You can do that, although I am not expert
neither in freetype nor shell/perl stuff.
You can also check, whether you have different freetype-configs
lying around (maybe from prev install).
Also, what does it do without arguments?
Best wishes,
Lauris Kaplinski
> > > Hi!
> > >
> > > When compiling gnome-print-0.34 the following occurs:
> > >
> > > .
> > > .
> > > .
> > >
> > > usr/lib/gnome-libs/include -I/usr/include/gtk-1.2
> > > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
> > > -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gnome-xml
> > > -DPROFILEDIR=\""/usr/share/gnome-print/0.34/profiles/"\"
> > > -DGNOMEPRINT_LIBDIR=\""/usr/lib"\" -s -O2 -march=i686
> > > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> > > -I/usr/X11R6/include -I/usr/include
> > > -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DBINDIR=\""/usr/bin"\"
> > > -DDATADIR=\""/usr/share"\"
> > > -DFONTMAPDIR_STATIC=\""/usr/share/gnome/fonts"\"
> > > -DFONTMAPDIR_DYNAMIC=\""/usr/etc/gnome/fonts"\" -s -O2 -march=i686
> > > -Wall -Wunused -c gnome-print-ps2.c
> > > rm -f .libs/gnome-print-ps2.lo
> > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../intl -I/usr/include
> > > -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> > > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> > > -I/usr/X11R6/include -I/usr/include/gdk-pixbuf-1.0
> > > -I/usr/include/gnome-xml
> > > -DPROFILEDIR=\"/usr/share/gnome-print/0.34/profiles/\"
> > > -DGNOMEPRINT_LIBDIR=\"/usr/lib\" -s -O2 -march=i686
> > > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> > > -I/usr/X11R6/include -I/usr/include
> > > -DGNOMELOCALEDIR=\"/usr/share/locale\" -DBINDIR=\"/usr/bin\"
> > > -DDATADIR=\"/usr/share\" -DFONTMAPDIR_STATIC=\"/usr/share/gnome/fonts\"
> > > -DFONTMAPDIR_DYNAMIC=\"/usr/etc/gnome/fonts\" -s -O2 -march=i686 -Wall
> > > -Wunused -c gnome-print-ps2.c -fPIC -DPIC -o .libs/gnome-print-ps2.lo
> > > In file included from gnome-print-ps2.c:51:
> > > ../libgnomeprint/gnome-font-private.h:50: parse error before `FT_Face'
> > > ../libgnomeprint/gnome-font-private.h:50: warning: no semicolon at end
> > > of struct or union
> > > make[2]: *** [gnome-print-ps2.lo] Error 1
> > > make[2]: Leaving directory `/usr/src/gnome-print-0.34/libgnomeprint'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/src/gnome-print-0.34'
> > > make: *** [all-recursive-am] Error 2
> > >
> > > I get the same result when compiling both 0.35 and 0.32.
>
> --
> Regards.
> Elardus
> elardus obsidianlabs com
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]