Re: [gnome-db] Problem building libgda



On Thu, 2003-07-31 at 14:00, Mike Martin wrote:
>  --- Rodrigo Moya <rodrigo gnome-db org> wrote: > On Thu, 2003-07-31
> at 10:56, Mike Martin wrote:
> > > I have recently upgraded to RH severn and built gnome head which
> > is
> > > fine.
> > > 
> > > However when I try to build libgda I get the following
> > > 
> > > make[1]: Entering directory `/home/data/cvs/libgda/libsql'
> > > bison -y -v -d -o parser.c -p sql parser.y
> > > conflicts: 23 shift/reduce
> > > /bin/sh ../libtool --mode=compile gcc32 -DPACKAGE_NAME=\"\"
> > > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> > -DPACKAGE_STRING=\"\"
> > > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\"
> > -DVERSION=\"0.90.1\"
> > > -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_LDAP=1 -DHAVE_POPT_H=1
> > > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1  -I. -I.
> > 
> > > -I.. -I.. -pthread -I/usr/include/glib-2.0
> > > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2      -g -O2  
> > -c
> > > parser.c
> > > mkdir .libs
> > >  gcc32 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> > > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> > -DPACKAGE_BUGREPORT=\"\"
> > > -DPACKAGE=\"libgda\" -DVERSION=\"0.90.1\"
> > > -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_LDAP=1 -DHAVE_POPT_H=1
> > > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
> > -I..
> > > -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > > -I/usr/include/libxml2 -g -O2 -Wp,-MD,.deps/parser.pp -c parser.c
> > 
> > > -fPIC -DPIC -o .libs/parser.o
> > > flex -olexer.c -Psql lexer.l
> > > /bin/sh ../libtool --mode=compile gcc32 -DPACKAGE_NAME=\"\"
> > > -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> > -DPACKAGE_STRING=\"\"
> > > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgda\"
> > -DVERSION=\"0.90.1\"
> > > -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_LDAP=1 -DHAVE_POPT_H=1
> > > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1  -I. -I.
> > 
> > > -I.. -I.. -pthread -I/usr/include/glib-2.0
> > > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2      -g -O2  
> > -c
> > > lexer.c
> > >  gcc32 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> > > -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> > -DPACKAGE_BUGREPORT=\"\"
> > > -DPACKAGE=\"libgda\" -DVERSION=\"0.90.1\"
> > > -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_LDAP=1 -DHAVE_POPT_H=1
> > > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I.
> > -I..
> > > -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > > -I/usr/include/libxml2 -g -O2 -Wp,-MD,.deps/lexer.pp -c lexer.c 
> > > -fPIC -DPIC -o .libs/lexer.o
> > > In file included from lexer.l:9:
> > > parser.h:48: syntax error before numeric constant
> > > In file included from lexer.l:9:
> > > parser.h:86:1: warning: "L_SET" redefined
> > > In file included from lexer.c:31:
> > > /usr/include/unistd.h:274:1: warning: this is the location of the
> > > previous definition
> > > lexer.l:12:2: warning: #warning "strings are limited to 2000
> > > characters"
> > > make[1]: *** [lexer.lo] Error 1
> > > make[1]: Leaving directory `/home/data/cvs/libgda/libsql'
> > > make: *** [all-recursive] Error 1
> > > 
> > I think this has something to do with bison. What version of
> > flex/bison
> > do you have?
> > 
> > cheers
> >  
> Running RH severn beta
> so should be
> 
> flex-2.5.4a-30.i386.rpm
> bison-1.875-3.i386.rpm
> 
hmm, I've got:

flex 2.5.31-12
bison 1.875a-1

it works for me, so I'm not sure what to do. Gonzalo, any idea?

cheers




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