include file problem




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

cat /usr/include/gnome.h

#ifndef GNOME_H
#define GNOME_H

#include "gnomesupport.h"

#include <gtk/gtk.h>
#include <gdk_imlib.h>
#include "libgnome/libgnome.h"
#include "libgnomeui/libgnomeui.h"
#endif


A search of my harddrive turned up:

/usr/lib/gnome-libs/include/gnomesupport.h

So something isn't right.  Should gnome.h be fixed?





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