Subject: Re: Compiling with ABI_OPT_GNOMEVFS=0 fails
From: Adrian Phillips (adrianp@powertech.no)
Date: Fri Jan 04 2002 - 07:25:22 CST
>>>>> "rms" == Rui Miguel Seabra <rms@multicert.com> writes:
    rms> On Fri, 2002-01-04 at 07:39, Adrian Phillips wrote:
    >> Is GnomeVFS required for Gnome build now ?
    rms> Yes.
    >> Debian installs the include files in versioned directories :-
    >> adrian@grannyogg:abi 544 $ ls -la /usr/include/gnome gnome-1.0
    >> gnome-vfs-2.0 gnome-xml gnome-vfs-1.0 gnome-vfs-module-2.0
    >> gnome.h
adrian@grannyogg:abi 546 $ gnome-vfs-config --cflags
-I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include
    rms> I have a redhat 7.2 with ximian gnome (for the above result).
    rms> Executing those two commands provides similar (and valid)
    rms> result? I think Martin's using gnome-config --cflags (...)
    rms> vfs or the gnome-vfs-config --cflags, for instance.
Yes, I'd noticed before. I'm having a problem with the GnomeVFS
"version" and I though I'd check without VFS but I'll have to try
without Gnome to see this.
    rms> I see that there is an #include "libgnomevfs/gnome-vfs.h" in
    rms> the file your build broken on.  I think that _maybe_ your
    rms> (...)-config may be non existant or displaying improper
    rms> values, OR that the makefile assumes something wrong while
    rms> defining a -I somewhere.
Interestingly using ABI_OPT_GNOMEVFS=0 makes with ABI_OPT_GNOME=1
causes this error even though using OPT_GNOME should turn VFS on !!
From abi_defs.mk :-
ifeq ($(ABI_OPT_GNOME),1)
ABI_OPT_GNOMEVFS := 1
ABI_XAP_INCS+=	/af/xap/$(ABI_NATIVE)/$(ABI_GNOME_DIR)	\
                /af/ev/$(ABI_NATIVE)/$(ABI_GNOME_DIR) 
endif
.
.
ifeq ($(ABI_OPT_GNOMEVFS),1)
GNOME_CFLAGS += $(shell gnome-vfs-config --cflags)
GNOME_CFLAGS += -DHAVE_GNOMEVFS
GNOME_LIBS   += $(shell gnome-vfs-config --libs)
ABI_OPTIONS  +=GnomeVFS:On
endif
When specifying ABI_OPT_GNOMEVFS=1 it compiles correctly.
Thanks for the reponse,
Sincerely,
Adrian Phillips
-- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [OK]
This archive was generated by hypermail 2b25 : Fri Jan 04 2002 - 07:25:28 CST