From: Martin C. <cos...@wa...> - 2002-03-06 00:16:02
|
Finlay Dobbie wrote: > > On Tuesday, March 5, 2002, at 09:02 PM, Stephen Anderson wrote: > > > ../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[1]: *** [all-recursive] Error 1 > > make: *** [all-recursive-am] Error 2 > > ### make failed, exit code 2 > > Failed: compiling gnome-print-0.35-2 failed > > > > Everything else is pretty much up to date with the unstable/main tree. > > Any > > tips? > > I have been getting this too, actually. For me gnome-print builds OK. Do you have both freetype and freetype2 installed? It seems to me that if freetype is installed, the header file <freetype/freetype.h> is taken from freetype and not from freetype2. Only the latter has a definition for FT_Face. Try moving /sw/include/freetype/freetype.h temporarily out of the way and look if it compiles then. A more pertinent solution would be to change the order of the include dirs in the Makefile, i.e. to put -I/sw/include/freetype2 before -I/sw/include. -- Martin |