postgresql errors added by kiatoa on Sun Oct 2 22:54:00 2011

matt@zeus:~/data/kiatoa$ chicken-install postgresql
retrieving ...
resolving alias `kitten-technologies' to: http://chicken.kitten-technologies.co.uk/henrietta.cgi
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=postgresql&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Sun, 02 Oct 2011 20:47:09 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ..
reading files ...
  ./TODO
  ./postgresql.meta
  ./postgresql.scm
  ./postgresql.setup
 postgresql located at /tmp/temp5ec9/postgresql
checking platform for `postgresql' ...
checking dependencies for `postgresql' ...
install order:
("postgresql")
installing postgresql: ...
changing current directory to /tmp/temp5ec9/postgresql
  /usr/local/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"postgresql\" \"\"))" /tmp/temp5ec9/postgresql/postgresql.setup
  /usr/local/bin/csc -feature compiling-extension -setup-mode    attempt.c -C -I -C "`pg_config --includedir`" -L -L -L "`pg_config --libdir`" -rpath "`pg_config --libdir`" -lpq
attempt.c: In functionmain’:
attempt.c:5:49: warning: comparison between pointer and integer
attempt.o: In function `main':
attempt.c:(.text+0x1b): undefined reference to `PQescapeIdentifier'
collect2: ld returned 1 exit status

Error: shell command terminated with non-zero exit status 256: gcc attempt.o -o attempt -L /usr/lib -Wl,-R/usr/lib -lpq -L"/usr/local/lib"  -Wl,-R"/usr/local/lib" -lchicken -lm -ldl
  /usr/local/bin/csc -feature compiling-extension -setup-mode    attempt.c -C -I -C "`pg_config --includedir`" -L -L -L "`pg_config --libdir`" -rpath "`pg_config --libdir`" -lpq
attempt.c: In functionmain’:
attempt.c:6:43: warning: comparison between pointer and integer
attempt.o: In function `main':
attempt.c:(.text+0x38): undefined reference to `PQconnectdbParams'
collect2: ld returned 1 exit status

Error: shell command terminated with non-zero exit status 256: gcc attempt.o -o attempt -L /usr/lib -Wl,-R/usr/lib -lpq -L"/usr/local/lib"  -Wl,-R"/usr/local/lib" -lchicken -lm -ldl
  /usr/local/bin/csc -feature compiling-extension -setup-mode    -s -O2 -d0 postgresql.scm -j postgresql -C -I -C "`pg_config --includedir`" -L -L -L "`pg_config --libdir`" -rpath "`pg_config --libdir`" -lpq
  /usr/local/bin/csc -feature compiling-extension -setup-mode    postgresql.import.scm -s -O2 -d0
  cp -r postgresql.so /usr/local/lib/chicken/6/postgresql.so
  chmod a+r /usr/local/lib/chicken/6/postgresql.so
  cp -r postgresql.import.so /usr/local/lib/chicken/6/postgresql.import.so
  chmod a+r /usr/local/lib/chicken/6/postgresql.import.so
  chmod a+r /usr/local/lib/chicken/6/postgresql.setup-info
matt@zeus:~/data/kiatoa$ cat /etc/motd 
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-11-generic-pae i686)