Subject: Re: gtkam is or is not buildable with gtk2 2.4 ?
To: Julio M. Merino Vidal <jmmv@menta.net>
From: Vincent <10.50@free.fr>
List: tech-pkg
Date: 04/15/2004 10:53:48
"Julio M. Merino Vidal" <jmmv@menta.net> dixit :

> cd pkgsrc/graphics/gimp
> createbuildlink -3 > buildlink3.mk
> And then, add:
> .include "../../graphics/gimp/buildlink3.mk" in gtkam's Makefile.

No change. It stills does not find the include files. Here is what gcc
spits :

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl                              
-DIMAGE_DIR=\"/usr/pkg/share/images/gtkam\"    
-DGTKAM_LOCALEDIR=\"/usr/pkg/share/locale\"    
-DPACKAGE_DATA_DIR=\"/usr/pkg/share/gtkam\"    
-DPACKAGE_SOURCE_DIR=\"..\"            
-DAPP_DATADIR=\"/usr/pkg/share/\"       
-I/usr/pkg/include/libexif
-I/usr/pkg/include  
-I/usr/pkg/include/gtk-2.0
-I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include 
-I/usr/pkg/include/freetype2
-I/usr/X11R6/include
-I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/gphoto2                                      
-I/usr/pkg/include/gimp-2.0 (<- IT'S HERE)
-I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include
-I/usr/pkg/include/freetype2 
-I/usr/X11R6/include
-I/usr/pkg/include/gphoto2  
-I/usr/pkg/include 
-I/usr/include
-I/usr/pkg/include/freetype2  
-O2 -march=pentium4 -msse2 -mfpmath=sse
-I/usr/pkg/include 
-I/usr/include 
-I/usr/pkg/include/freetype2 
-g -Wall -Wmissing-declarations -Wmissing-prototypes -c gtkam-gimp.c
gtkam-gimp.c:33:26: libgimp/gimp.h: No such file or directory
gtkam-gimp.c:34:28: libgimp/gimpui.h: No such file or directory

Though the files ARE in /usr/pkg/include/gimp-2.0/libgimp/...

Substituing <gimp-2.0/libgimp/gimp.h> for <libgimp/gimp.h> in the C
source does not change anything too...

The gimp-2.0 has apparently not been created in the .buildlink
directory...

Cheers
Vincent