[gnome-db] libgda-error with make and glib-genmarshal



I found a bug in $LIBGDA_INSTALL_HOME/libgda/Makefile, at
least I think it is one. In the one generated by configure on my
machine (you´ll find the output of configure at the end of the mail)
the following lines were added to it.

...
gda-marshal.h: gda-marshal.list $(GLIB_GENMARSHAL)
       $(GLIB_GENMARSHAL) $< --header --prefix=gda_marshal > $@
gda-marshal.c: gda-marshal.list $(GLIB_GENMARSHAL)
       $(GLIB_GENMARSHAL) $< --body --prefix=gda_marshal > $@
...

The definition list for glib-genmarshal is missing in the call to it. This
causes the make to hang forever, because it waits for a definition
input from the keyboard. I appended the list to the params like this:

...
gda-marshal.h: gda-marshal.list $(GLIB_GENMARSHAL)
$(GLIB_GENMARSHAL) $< --header --prefix=gda_marshal gda-marshal.list > $@
gda-marshal.c: gda-marshal.list $(GLIB_GENMARSHAL)
$(GLIB_GENMARSHAL) $< --body --prefix=gda_marshal gda-marshal.list > $@
...

Now the build successfully works. If you need further information
just contact me.

Best regards,
Markus Wind



This is the output from configure --libdir=/usr/lib --includedir=/usr/include --with-postgres=/usr/local/pgsql --without-bdb --without-mysql.
First the one written to stdout, afterwards the output to stderr:

stdout:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for intltool >= 0.30... 0.33 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/local/bin/iconv
checking for msgfmt... /usr/local/bin/msgfmt
checking for msgmerge... /usr/local/bin/msgmerge
checking for xgettext... /usr/local/bin/xgettext
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i386-unknown-freebsd5.3
checking host system type... i386-unknown-freebsd5.3
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 16384
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd5.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd5.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd5.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... byacc
checking whether make sets $(MAKE)... (cached) yes
checking for glib-genmarshal... /usr/local/bin/glib-genmarshal
checking for scrollkeeper-config... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for catalogs to be installed... az ca cs da de el en_CA en_GB es fa fi fr ga gl hr hu it ja ko ml ms nb nl no pl pt pt_BR ru sk sl sq sr sr Latn sv tr uk vi zh_CN
zh_TW
checking for pkg-config... /usr/local/pkgconfig/bin/pkg-config
checking for
       glib-2.0        >= 2.0.0
       gobject-2.0     >= 2.0.0
       gthread-2.0     >= 2.0.0
       gmodule-2.0     >= 2.0.0
       libxml-2.0
       libxslt         >= 1.0.9
... yes
checking LIBGDA_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 checking LIBGDA_LIBS... -pthread -Wl,--export-dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lxslt -lxml2 -lpthread -lz -liconv -lm
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking for ODBC files... checking for mSQL files... checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking for Postgres files... found Postgres in /usr/local/pgsql
checking for freetds files... checking for IBM DB2 files... checking for Sybase files... checking for ORACLE installation... checking for FireBird installation... checking for Xbase files... checking for sqlite files... checking for MDB Tools files... checking for LDAP files... checking for readline in -lreadline... yes
checking for add_history in -lhistory... yes
checking for poptGetContext in -lpopt... no
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
Not building gda-config-tool
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for perl5... perl5
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgda.spec
config.status: creating libgda.pc
config.status: creating po/Makefile.in
config.status: creating libsql/Makefile
config.status: creating libgda/Makefile
config.status: creating providers/Makefile
config.status: creating providers/bdb/Makefile
config.status: creating providers/freetds/Makefile
config.status: creating providers/firebird/Makefile
config.status: creating providers/ibmdb2/Makefile
config.status: creating providers/ldap/Makefile
config.status: creating providers/mdb/Makefile
config.status: creating providers/mysql/Makefile
config.status: creating providers/msql/Makefile
config.status: creating providers/odbc/Makefile
config.status: creating providers/oracle/Makefile
config.status: creating providers/postgres/Makefile
config.status: creating providers/sqlite/Makefile
config.status: creating providers/sybase/Makefile
config.status: creating providers/xbase/Makefile
config.status: creating providers/xml/Makefile
config.status: creating report/Makefile
config.status: creating report/gda-report.dtd
config.status: creating report/libgda-report/Makefile
config.status: creating report/testing/Makefile
config.status: creating tools/Makefile
config.status: creating testing/Makefile
config.status: creating doc/Makefile
config.status: creating doc/libgda-C.omf
config.status: creating doc/C/Makefile
config.status: creating data/Makefile
config.status: creating stamp.h
config.status: executing intltool commands
config.status: executing depfiles commands
config.status: executing default-1 commands

Configuration summary
  Installation prefix = /usr/local
  Providers
     XML = yes
     Berkeley DB = no
     FireBird = no
     FreeTDS = no
     IBM DB2 = no
     MDB (MS Access) = no
     MySQL = no
     mSQL = no
     ODBC = no
     Oracle = no
     PostgreSQL = yes
     SQLite = no
     Sybase = no
     xBase (dBase, Clipper, FoxPro) = no
     LDAP = no

stderr:

configure: WARNING: Could not find scrollkeeper-config -- please install the scrollkeeper package
configure: WARNING: ODBC backend not used
configure: WARNING: mSQL backend not used
configure: WARNING: tds backend not used
configure: WARNING: IBM DB2 backend not used
configure: WARNING: Sybase backend not used
configure: WARNING: ORACLE backend not used
configure: WARNING: FireBird backend not used
configure: WARNING: Xbase backend not used
configure: WARNING: sqlite backend not used
configure: WARNING: MDB backend not used
configure: WARNING: LDAP backend not used




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