Re: include file problem



Quoting Dax Kelson <dkelson@inconnect.com>:
> 
> This is on a vanilla RedHat 6.0 box.
> 
> I just tried compiling up "dia" a Visio like application.
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/X11R6/include
> -I/usr/lib/glib/include  -g -O2 -I/usr/include/gnome-xml -c diagramdata.c
> In file included from intl.h:7,
>                  from diagramdata.c:21:
> /usr/include/gnome.h:4: gnomesupport.h: No such file or directory
> 

I think you need to adjust your build environment a bit. Hmm. (sound of 
dia getting pulled down from CVS followed by the sound of compiling).  It 
builds just fine on my Debian (potato) system with the latest gnome stuff. 

What does 'gnome-config gnomeui --cflags' and 'gnome-config gnomeui --libs'
report (as that is what is used under the hood)?

[andersen@dillweed dia]$ gnome-config gnomeui --cflags
-I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/lib/glib/include
[andersen@dillweed dia]$ gnome-config gnomeui --libs
-rdynamic -L/usr/lib -L/usr/X11R6/lib -L/usr/local/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--



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