Re: Unable to compile gnome-print-0.34



Lauris,

> It seems, that freetype location is not picked up correctly
> for you. Which version are you using? Did you compile it
> yourself or installed binary? Is it at the same location as
> gnome-print?

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 ... 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

>   freetype-config --libs

See above.

> say for you?

Should I attach the file in question (about 2K) on my next email?

> > 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]