Re: [gnome-db] libgda-3.0.x - postgres not found



Have you the *dev* package for postgresql for your distribution? You'll need it in order to make ./configure find the required *.h  and .pc files to compile against.

2008/12/29 Vivien Malerba <vmalerba gmail com>


2008/12/29 Gour <gour mail inet hr>
>>>>> "Vivien" == Vivien Malerba <vmalerba gmail com> writes:


Vivien> Can you send the config.log file?

Here is the log from configure output:

==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.30... 0.37.0 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
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 ISO C89... (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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /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 xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
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 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 static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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 gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... yes
checking if gfortran static flag -static works... yes
checking if gfortran supports -c -o file.o... yes
checking whether the gfortran linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking whether make sets $(MAKE)... (cached) yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
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... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  ar az ca cs da de dz el en_CA en_GB es eu fa fi fr ga gl hr hu it ja ko lt ml ms nb ne nl pl pt pt_BR ru rw sk sl sq sr sr Latn sv tr uk vi zh_CN zh_HK zh_TW
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGDA... yes
checking for some Win32 platform... no
checking for GAMIN... no
checking for FAMOpen in -lfam... yes
checking fam.h usability... yes
checking fam.h presence... yes
checking for fam.h... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for ODBC files... configure: WARNING: ODBC backend not used
checking for mysql_config... /usr/bin/mysql_config
checking for mSQL files... configure: WARNING: mSQL backend not used
checking for Postgres files... configure: WARNING: Postgres backend not used
checking for freetds files... configure: WARNING: tds backend not used
checking for IBM DB2 files... configure: WARNING: IBM DB2 backend not used
checking for Sybase files... configure: WARNING: Sybase backend not used
checking for ORACLE installation... configure: WARNING: ORACLE backend not used
checking for FireBird installation... configure: WARNING: FireBird backend not used
checking for Xbase files... configure: WARNING: Xbase backend not used
checking for MDB Tools files... configure: WARNING: MDB backend not used
checking for LDAP files... found LDAP in /usr
checking for SQLITE... yes
checking for sqlite version... Version 3.6.7 of SQLite does not implement required pragmas
checking for readline in -lreadline... yes
checking for add_history in -lhistory... yes
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 CHECK... no
checking for perl5... no
checking for perl... perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgda.spec
config.status: creating libgda-3.0.pc
config.status: creating po/Makefile.in
config.status: creating libsql/Makefile
config.status: creating libgda/Makefile
config.status: creating libgda/handlers/Makefile
config.status: creating libgda/sql-delimiter/Makefile
config.status: creating libgda/sql-transaction/Makefile
config.status: creating libgda/graph/Makefile
config.status: creating providers/Makefile
config.status: creating providers/bdb/Makefile
config.status: creating providers/bdb/libgda-bdb-3.0.pc
config.status: creating providers/freetds/Makefile
config.status: creating providers/freetds/libgda-freetds-3.0.pc
config.status: creating providers/firebird/Makefile
config.status: creating providers/firebird/libgda-firebird-3.0.pc
config.status: creating providers/ibmdb2/Makefile
config.status: creating providers/ibmdb2/libgda-ibmdb2-3.0.pc
config.status: creating providers/ldap/Makefile
config.status: creating providers/ldap/libgda-ldap-3.0.pc
config.status: creating providers/mdb/Makefile
config.status: creating providers/mdb/libgda-mdb-3.0.pc
config.status: creating providers/mysql/Makefile
config.status: creating providers/mysql/libgda-mysql-3.0.pc
config.status: creating providers/msql/Makefile
config.status: creating providers/msql/libgda-msql-3.0.pc
config.status: creating providers/odbc/Makefile
config.status: creating providers/odbc/libgda-odbc-3.0.pc
config.status: creating providers/oracle/Makefile
config.status: creating providers/oracle/libgda-oracle-3.0.pc
config.status: creating providers/postgres/Makefile
config.status: creating providers/postgres/libgda-postgres-3.0.pc
config.status: creating providers/sqlite/Makefile
config.status: creating providers/sqlite/sqlite-src/Makefile
config.status: creating providers/sqlite/libgda-sqlite-3.0.pc
config.status: creating providers/sybase/Makefile
config.status: creating providers/sybase/libgda-sybase-3.0.pc
config.status: creating providers/xbase/Makefile
config.status: creating providers/xbase/libgda-xbase-3.0.pc
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 tests/Makefile
config.status: creating tests/queries/Makefile
config.status: creating tests/queries/dict_pg.xml
config.status: creating tests/queries/bug_param_sql_dict.xml
config.status: creating tests/data-models/Makefile
config.status: creating tests/providers/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating data/Makefile
config.status: creating stamp.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

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


and config.log is in the attachment.

Strange... Can you:
* send me the configure script
* tell me exactly which libgda version you are trying to use
* send the output of the "pg_config --includedir" and "pg_config --libdir"?

Vivien



_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list




--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)


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