Installation output for postgresql

Installation time: 0.0s

CHICKEN_INSTALL_PREFIX=/root/src/salmonella/salmonella-4.5.0/repo CHICKEN_INCLUDE_PATH=/root/src/salmonella/salmonella-4.5.0/repo/share/chicken CHICKEN_REPOSITORY=/root/src/salmonella/salmonella-4.5.0/repo/lib/chicken/5 /usr/local/chicken-4.5.0/bin/chicken-install  -prefix /root/src/salmonella/salmonella-4.5.0/repo 
retrieving ...
checking platform for `postgresql' ...
checking dependencies for `postgresql' ...
install order:
("postgresql")
installing postgresql: ...
changing current directory to .
  /usr/local/chicken-4.5.0/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"postgresql\" \"\"))" -e "(destination-prefix \"/root/src/salmonella/salmonella-4.5.0/repo\")" postgresql.setup
  /usr/local/chicken-4.5.0/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 function 'main':
attempt.c:5: 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/chicken-4.5.0/lib"  -Wl,-R"/usr/local/chicken-4.5.0/lib" -lchicken -lm -ldl

shell command failed with nonzero exit status 256:

  /usr/local/chicken-4.5.0/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

Error: shell command terminated with nonzero exit code
17920
"/usr/local/chicken-4.5.0/bin/csi -bnq -setup-mode -e \"(require-library setup-a...