This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

guile-pg and postgres 7.0


Hello,

guile-pg-0.05 does not compile with postgres 7.0

can anyone help? configure and make further below

thanks,
david


;; ------------------------------------------------------------------
;; configure output guile-pg-0.05

david@faust:/usr/local/src/guile/guile-pg-0.05 41 $ ./configure --with-libpq=/usr/local/pgsql/
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for guile and guile-config... (cached) yes
checking Guile cc flags... (cached) -I/usr/local/include
checking Guile ld flags... (cached) -L/usr/local/lib -lguile -ldl -lm
checking Guile lib directory... (cached) /usr/local/lib
checking Guile module directory... (cached) /usr/local/share
checking /usr/local/pgsql//include/libpq-fe.h exists... yes
checking /usr/local/pgsql//lib/libpq.a exists... yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether ln -s works... (cached) yes
creating ./config.status
creating Makefile
creating scm/Makefile
creating doc/Makefile
creating scm/postgres-version.scm
creating test/Makefile
creating config.h
config.h is unchanged
david@faust:/usr/local/src/guile/guile-pg-0.05 42 $ make clean
Making clean in test
make[1]: Entering directory `/usr/local/src/guile/guile-pg-0.05/test'
test -z "basic-tests.log lo-tests.log" || rm -f basic-tests.log lo-tests.log
test -z "" || rm -f 
make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.05/test'
Making clean in doc
make[1]: Entering directory `/usr/local/src/guile/guile-pg-0.05/doc'
test -z "guile-pg.info guile-pg.dvi" || rm -f guile-pg.info guile-pg.dvi
rm -f guile-pg.aux guile-pg.cp guile-pg.cps guile-pg.dvi guile-pg.fn \
  guile-pg.fns guile-pg.ky guile-pg.kys guile-pg.ps \
  guile-pg.log guile-pg.pg guile-pg.toc guile-pg.tp \
  guile-pg.tps guile-pg.vr guile-pg.vrs guile-pg.op guile-pg.tr \
  guile-pg.cv guile-pg.cn
test -z "" || rm -f 
make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.05/doc'
Making clean in scm
make[1]: Entering directory `/usr/local/src/guile/guile-pg-0.05/scm'
test -z "" || rm -f 
test -z "" || rm -f 
make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.05/scm'
test -z "libpostgres.la" || rm -f libpostgres.la
rm -rf .libs _libs
test -z "guile-pg" || rm -f guile-pg
test -z "" || rm -f 
rm -f *.o core *.core
rm -f *.lo
test -z "" || rm -f 
david@faust:/usr/local/src/guile/guile-pg-0.05 43 $ ./configure --with-libpq=/usr/local/pgsql/
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking for object suffix... o
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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for guile and guile-config... (cached) yes
checking Guile cc flags... (cached) -I/usr/local/include
checking Guile ld flags... (cached) -L/usr/local/lib -lguile -ldl -lm
checking Guile lib directory... (cached) /usr/local/lib
checking Guile module directory... (cached) /usr/local/share
checking /usr/local/pgsql//include/libpq-fe.h exists... yes
checking /usr/local/pgsql//lib/libpq.a exists... yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether ln -s works... (cached) yes
creating ./config.status
creating Makefile
creating scm/Makefile
creating doc/Makefile
creating scm/postgres-version.scm
creating test/Makefile
creating config.h
config.h is unchanged

;; ------------------------------------------------------------------
;; make output guile-pg-0.05

david@faust:/usr/local/src/guile/guile-pg-0.05 45 $ make
make all-recursive
make[1]: Entering directory `/usr/local/src/guile/guile-pg-0.05'
Making all in scm
make[2]: Entering directory `/usr/local/src/guile/guile-pg-0.05/scm'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/guile/guile-pg-0.05/scm'
Making all in doc
make[2]: Entering directory `/usr/local/src/guile/guile-pg-0.05/doc'
cd . \
  && makeinfo `echo guile-pg.texi | sed 's,.*/,,'`
Making info file `guile-pg.info' from `guile-pg.texi'.
make[2]: Leaving directory `/usr/local/src/guile/guile-pg-0.05/doc'
Making all in test
make[2]: Entering directory `/usr/local/src/guile/guile-pg-0.05/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/guile/guile-pg-0.05/test'
make[1]: Leaving directory `/usr/local/src/guile/guile-pg-0.05'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/pgsql//include  -g -O2 -Wall
-Wpointer-arith -Wmissing-prototypes -c libpostgres.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/pgsql//include -g -O2 -Wall -Wpointer-arith -Wmissing-prototypes
-c -fPIC -DPIC libpostgres.c -o libpostgres.lo
libpostgres.c: In function `lob_lo_creat':
libpostgres.c:1117: warning: passing arg 5 of `lob_mklobport' discards `const' from pointer target type
libpostgres.c: In function `lob_lo_open':
libpostgres.c:1167: warning: passing arg 5 of `lob_mklobport' discards `const' from pointer target type
libpostgres.c: In function `lob_lo_tell':
libpostgres.c:1225: warning: implicit declaration of function `SCM_CRDYP'
libpostgres.c: In function `lob_lo_seek':
libpostgres.c:1306: warning: implicit declaration of function `SCM_CLRDY'
libpostgres.c: In function `_lob_read':
libpostgres.c:1410: warning: suggest explicit braces to avoid ambiguous `else'
libpostgres.c: In function `lob_printpt':
libpostgres.c:1434: warning: implicit declaration of function `scm_prinport'
libpostgres.c: In function `lob_getc':
libpostgres.c:1464: warning: suggest explicit braces to avoid ambiguous `else'
libpostgres.c: In function `lob_mklobport':
libpostgres.c:1515: warning: assignment from incompatible pointer type
libpostgres.c: At top level:
libpostgres.c:1598: parse error before `lob_ptob'
libpostgres.c:1598: warning: type defaults to `int' in declaration of `lob_ptob'
libpostgres.c:1599: warning: initialization makes integer from pointer without a cast
libpostgres.c:1600: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1601: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1602: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1603: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1604: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1605: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1606: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1607: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1608: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1610: warning: excess elements in scalar initializer after `lob_ptob'
libpostgres.c:1610: warning: data definition has no type or storage class
libpostgres.c: In function `init_postgres':
libpostgres.c:1633: warning: implicit declaration of function `scm_newptob'
make: *** [libpostgres.lo] Error 1
david@faust:/usr/local/src/guile/guile-pg-0.05 46 $

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]