Subject: Re: libgda-0.10.0 fails to build on 1.6P i386 box
To: Julio M. Merino Vidal <jmmv@menta.net>
From: GuRU <guru@beastie.nscl.msu.edu>
List: tech-pkg
Date: 03/19/2003 14:55:42
Out of da blue Julio M. Merino Vidal aka (jmmv@menta.net) said:
> I guess you have mysql installed.  If so, try to add the following
> line to libgda/Makefile.common:
Yes I do have mysql installed. 

> 
> CONFIGURE_ARGS+=	--disable-mysql
Added it.  Got the same result :|.   What's your idea on what's causing the
build problem?

> 
> 
> 
> On Wed, 19 Mar 2003 14:23:10 -0500
> GuRU <guru@beastie.nscl.msu.edu> wrote:
> 
> > hey folks :)
> > 
> > as the subject says i've been unable to build libgda-0.10.0 :(.  it fails with
> > the following:
> > 
> > creating libgda-2.la
> > (cd .libs && rm -f libgda-2.la && ln -s ../libgda-2.la libgda-2.la)
> > gmake[1]: Leaving directory
> > `/usr/pkgsrc/databases/libgda/work/libgda-0.10.0/libgda'
> > Making all in providers
> > gmake[1]: Entering directory
> > `/usr/pkgsrc/databases/libgda/work/libgda-0.10.0/providers'
> > Making all in mysql
> > gmake[2]: Entering directory
> > `/usr/pkgsrc/databases/libgda/work/libgda-0.10.0/providers/mysql'
> > /bin/sh ../../libtool --mode=compile cc -DPACKAGE_NAME=\"\"
> > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\" -DVERSION=\"0.10.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_MYSQL=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
> > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1  -I. -I.  -I../..
> > -I../..         -pthread -I/usr/local/include/glib/glib-2.0
> > -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
> > -I/usr/local/include     -I/usr/local/include/mysql  -I/usr/local/include
> > -I/usr/X11R6/include   -O2 -I/usr/local/include -I/usr/X11R6/include -Wall
> > -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
> > -Wnested-externs -Wpointer-arith -Wno-sign-compare  -c gda-mysql-provider.c
> > mkdir .libs
> > cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> > -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\"
> > -DVERSION=\"0.10.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_MYSQL=1 -DHAVE_LDAP=1 -DHAVE_POPT_H=1
> > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../..
> > -I../.. -pthread
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/include/glib/glib-2.0
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/lib/glib-2.0/include
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/include/libxml2
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/include
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/include/mysql
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/include
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink-x11/include -O2
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink/include
> > -I/usr/pkgsrc/databases/libgda/work/.buildlink-x11/include -Wall -Wunused
> > -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> > -Wpointer-arith -Wno-sign-compare -c gda-mysql-provider.c  -fPIC -DPIC -o
> > .libs/gda-mysql-provider.o
> > In file included from gda-mysql-provider.c:29:
> > gda-mysql.h:34: mysql.h: No such file or directory
> > gda-mysql.h:35: mysql_com.h: No such file or directory
> > gmake[2]: *** [gda-mysql-provider.lo] Error 1
> > gmake[2]: Leaving directory
> > `/usr/pkgsrc/databases/libgda/work/libgda-0.10.0/providers/mysql'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory
> > `/usr/pkgsrc/databases/libgda/work/libgda-0.10.0/providers'
> > gmake: *** [all-recursive] Error 1
> > *** Error code 2
> > 
> > Stop.
> > make: stopped in /usr/pkgsrc/databases/libgda
> > 
> > anyone seeing this or am i missing some subtle dependancy?
> > 
> > tia ...
 
> -- 
> Julio M. Merino Vidal <jmmv@menta.net>
> The NetBSD Project - http://www.NetBSD.org/

#:D
-- 
guru <guru@beastie.nscl.msu.edu>       (,.)
http://www.msu.edu/~ikhala           \\\00 )
Driven by NetBSD                       \= )
                                       cc_|\_,^