problems compiling gimp-2.0.1

Klossa at students.uni-marburg.de Klossa at students.uni-marburg.de
Sat Apr 17 00:09:52 PDT 2004


Alessandro Orsi <elcan_guru at yahoo.es> wrote:
> 
> I'm trying to compile gimp-2.0.1. Configure runs fine but when I make the 
> sources I get:
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gtk-2.0 
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
> -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
> -I/usr/local/include -DG_LOG_DOMAIN=\"Gimp\" -DGIMP_APP_GLUE_COMPILATION  
> -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED 
> -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE 
> -DGTK_MULTIHEAD_SAFE  -g -O2 -Wall -MT sanity.o -MD -MP -MF 
> ".deps/sanity.Tpo" \
>   -c -o sanity.o `test -f 'sanity.c' || echo './'`sanity.c; \
> then mv -f ".deps/sanity.Tpo" ".deps/sanity.Po"; \
> else rm -f ".deps/sanity.Tpo"; exit 1; \
> fi
> En el fichero incluído de /usr/include/pango-1.0/pango/pangofc-font.h:25,
>                  de /usr/include/pango-1.0/pango/pangoft2.h:29,
>                  de sanity.c:23:
> /usr/include/ft2build.h:55:38: freetype/config/ftheader.h: No existe el 
> fichero o el directorio   <<<<<<<<< (trad.: file does not exist)
> 								
	^^^^^^^^^^^^^^^^^
> 
> En el fichero incluído de /usr/include/pango-1.0/pango/pangoft2.h:29,
>                  de sanity.c:23:
> /usr/include/pango-1.0/pango/pangofc-font.h:26:10: #include espera 
> "NOMBRE_ARCHIVO" ó <NOMBRE_ARCHIVO>
> In file included from sanity.c:23:
> /usr/include/pango-1.0/pango/pangoft2.h:49: error: error de decodificación 
> before '*' token
> /usr/include/pango-1.0/pango/pangoft2.h:54: error: error de decodificación 
> before '*' token
> /usr/include/pango-1.0/pango/pangoft2.h:58: error: error de decodificación 
> before '*' token
> /usr/include/pango-1.0/pango/pangoft2.h:89: error: error de decodificación 
> before "pango_ft2_font_get_face"
> /usr/include/pango-1.0/pango/pangoft2.h:89: aviso: type defaults to `int' in
> 
> declaration of `pango_ft2_font_get_face'
> /usr/include/pango-1.0/pango/pangoft2.h:89: aviso: data definition has no
> type 
> or storage class
> make[3]: *** [sanity.o] Error 1
> make[3]: Leaving directory `/home/ale/devel/build/gimp-2.0.1/app'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/ale/devel/build/gimp-2.0.1/app'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ale/devel/build/gimp-2.0.1'
> make: *** [all] Error 2
> 
> So it seems that gcc can't find: freetype/config/ftheader.h but i have this
> 
> file:
> 
> + ls /usr/include/freetype2/freetype/config/
> ftconfig.h  ftheader.h  ftmodule.h  ftoption.h  ftstdlib.h
>                    ^^^^^^
> if I issue:
> 
> + freetype-config --cflags
> -I/usr/include/freetype2
> 
> so all should be fine. Any hint?
> 
> I have the following libs installed:
> 
> gtk2: 2.2.4
> atk: 1.5.3
> pango: 1.3.2
> glib: 2.3.2
> pkgconfig-0.15.0
> 
> Thanx,
> Ale.
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
> 
I've seen the same problem. Just add "-I/usr/include/freetype2" to the INCLUDES 
in the Makefile of the app directory and everything works smooth.

LX
P.S.: reading the errors hint would have helped here ;)



More information about the blfs-support mailing list