Re: [gnome-db] libgda-0.11.0 won't compile for sybase



On Wed, 2003-03-12 at 13:51, Hugh Bragg wrote:
> Hello,
> 
> when I build the libgda with rpm -tb libgda-0.11.0.tar.gz after setting 
> %define SYBASE  1 in the spec file I get the following error:
> 
> i386-redhat-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE=\"libgda\" -DVERSION=\"0.11.0\" 
> -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 
> -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 
> -DENABLE_NLS=1 -DHAVE_SYBASE=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1 
> -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. 
> -I/opt/sybase-12.5/OCS/include -I../.. -I../.. -D_REENTRANT 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -O2 -march=i386 -mcpu=i686 -Wall -Wunused -Wchar-subscripts 
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
> -Wno-sign-compare -c gda-sybase-provider.c  -fPIC -DPIC -o 
> .libs/gda-sybase-provider.lo
> In file included from gda-sybase-provider.c:31:
> gda-sybase.h:45:32: gda-sybase-schemas.h: No such file or directory
> make[2]: *** [gda-sybase-provider.lo] Error 1
> make[2]: Leaving directory 
> `/usr/src/redhat/BUILD/libgda-0.11.0/providers/sybase'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/libgda-0.11.0/providers'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.54236 (%build)
> 
> 
right, that file was missing in the Makefile.am, so wasn't included in
the tarball. It's now fixed in CVS, from where you can download the
missing file. If you don't have access to CVS, tell me, and I'll send
that file to you.

cheers




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