Re: Compiling gnome-libs, where is argp.h ?



Craig> Now, where is argp.h hiding?

argp.h is in gnome-libs/support.
If you don't have that directory, then it means you checked out
gnome-libs the wrong way.  Go to your top-level directory and run:

	cvs get gnome-libs

Craig> make[2]: Entering directory `/home/csmall/gnome/gnome-libs/libgnome'
Craig> Computing dependencies for gnome-parse.c...
Craig> In file included from gnome-parse.c:4:

You're using an old automake.  This won't cause problems here, but
might cause problems elsewhere (e.g., if you try to build the guile
code).

Craig> gnome-parse.h:13: argp.h: No such file or directory

Make sure you have an up-to-date build infrastructure: aclocal.m4,
configure, Makefile.in's.

One simple check is to look for the definition of SUPPORTINCS in your
libgnome/Makefile.  It should read:

	SUPPORTINCS = -I$(topsrcdir)/support

If it doesn't, then you need to go through the autogen process again.

(Or, it might mean that configure decided that your libc has the right
argp in it.  This is hopefully exceedingly unlikely, given that the
argp we look for probably isn't in any actual shipped system yet --
Ulrich made some argp changes last week just for us.)

Good luck,
Tom



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