Re: [gnome-db] libgda 3.1.2 compile fails
- From: "Vivien Malerba" <vmalerba gmail com>
- To: "Mark Johnson" <mrj001 shaw ca>
- Cc: gnome-db list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] libgda 3.1.2 compile fails
- Date: Mon, 19 Nov 2007 14:37:15 +0100
On Nov 18, 2007 9:46 PM, Mark Johnson <mrj001 shaw ca> wrote:
>
> I tried to compile libgda 3.1.2, but it failed with the following error:
> i486-slackware-linux-gcc "-DPACKAGE_NAME=\"GNU Data Access\""
> -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"3.1.2\"
> "-DPACKAGE_STRING=\"GNU Data Access 3.1.2\""
> -DPACKAGE_BUGREPORT=\"gnome-db-list gnome org\"
> -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-3.0\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
> -DGETTEXT_PACKAGE=\"libgda-3.0\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
> -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
> -DENABLE_NLS=1 -DHAVE_ODBC=1 -DHAVE_MYSQL=1 -DHAVE_POSTGRES=1
> -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I.. -I..
> -I../libgda/sqlite -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
> -DLIBGDA_ABI_NAME=\"libgda-3.0\" -pthread -DORBIT2=1
> -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0
> -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/orbit-2.0 -DHAVE_GNOMEVFS -O2 -march=i486 -mcpu=pentium2 -MT
> gda-data-model-dir.lo -MD -MP -MF .deps/gda-data-model-dir.Tpo -c
> gda-data-model-dir.c -fPIC -DPIC -o .libs/gda-data-model-dir.o
> gda-data-model-dir.c:31:40: libgnomevfs/gnome-vfs-mime.h: No such file or
> directory
> gda-data-model-dir.c: In function `update_file_mime':
> gda-data-model-dir.c:589: warning: assignment makes pointer from integer
> without a cast
> make[2]: *** [gda-data-model-dir.lo] Error 1
> make[2]: Leaving directory
> `/mnt/raid/download/computer/software/gnome/libgda/3.1/src/libgda-3.1.2/libgda'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/mnt/raid/download/computer/software/gnome/libgda/3.1/src/libgda-3.1.2/libgda'
> make: *** [all-recursive] Error 1
> make failed
>
>
> Now, the file libgnomevfs/gnome-vfs-mime.h is present on my system. It is
> located at
> /usr/include/gnome-vfs-module-2.0/libgnomevfs/gnome-vfs-mime.h
>
> Clearly, this path is not being included in the -I compiler options. I did
> some checking, and configure does check for gnome-vfs, but my
> gnome-vfs-2.0.pc file does not include this path. This path is included in
> gnome-vfs-module-2.0.pc, which is not checked by configure. Both of these
> files were installed by my gnome-vfs package.
>
> My version of gnome-vfs is 2.10.1 (the highest of 2.10.x).
>
>
> I see two possibilities:
> ONE
> My version of gnome-vfs is too old. In this case, configure should be
> checking for a minimum version and failing on me. i.e. there should be a
> configure-time failure rather than a build-time failure.
>
> TWO
> Perhaps, configure should be checking the gnome-vfs-module-2.0.pc file as
> well as gnome-vfs-2.0.pc.
>
> Thanks for any help,
> Mark
I'll have a look at this ASAP. In the meanwhile, could you report this
in bugzilla as this will help keep track of any discussion regarding
that matter (bugzilla.gnome.org)?
Thanks a lot,
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]