Installation output for git [fail]

Installation time: 6s

/home/mario/local/chicken-4.8.0.3/bin/chicken-install  -prefix /home/mario/salmonella/4.8.0.3/7/repo
retrieving ...
checking platform for `git' ...
checking dependencies for `git' ...
 missing: foreigners
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=foreigners&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Thu, 28 Feb 2013 11:43:27 GMT
Server: Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.9-dev DAV/2 SVN/1.6.17 PHP/5.2.17 mod_fastcgi/2.4.6
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks .
reading files ...
  ./foreigners.setup
  ./foreigners.meta
  ./foreigners.scm
 foreigners located at /tmp/tempe1c1.19558/foreigners
checking platform for `foreigners' ...
checking dependencies for `foreigners' ...
install order:
("foreigners" "git")
installing foreigners:1.4.1 ...
changing current directory to /tmp/tempe1c1.19558/foreigners
  /home/mario/local/chicken-4.8.0.3/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"foreigners\" \"1.4.1\"))" -e "(destination-prefix \"/home/mario/salmonella/4.8.0.3/7/repo\")" -e "(runtime-prefix \"/home/mario/salmonella/4.8.0.3/7/repo\")" /tmp/tempe1c1.19558/foreigners/foreigners.setup
  /home/mario/local/chicken-4.8.0.3/bin/csc -feature compiling-extension -setup-mode    -s -O2 -d2 foreigners.scm -j renaming -j foreigners
  /home/mario/local/chicken-4.8.0.3/bin/csc -feature compiling-extension -setup-mode    -s -O2 -d0 foreigners.import.scm
  cp -r foreigners.so /home/mario/salmonella/4.8.0.3/7/repo/lib/chicken/6/foreigners.so
  chmod a+r /home/mario/salmonella/4.8.0.3/7/repo/lib/chicken/6/foreigners.so
  cp -r foreigners.import.so /home/mario/salmonella/4.8.0.3/7/repo/lib/chicken/6/foreigners.import.so
  chmod a+r /home/mario/salmonella/4.8.0.3/7/repo/lib/chicken/6/foreigners.import.so
  chmod a+r /home/mario/salmonella/4.8.0.3/7/repo/lib/chicken/6/foreigners.setup-info
installing git: ...
changing current directory to .
  /home/mario/local/chicken-4.8.0.3/bin/csi -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"git\" \"\"))" -e "(destination-prefix \"/home/mario/salmonella/4.8.0.3/7/repo\")" -e "(runtime-prefix \"/home/mario/salmonella/4.8.0.3/7/repo\")" git.setup
  /home/mario/local/chicken-4.8.0.3/bin/csc -feature compiling-extension -setup-mode    -s -O2 -d0 -w -J -lgit2 git-lolevel.scm
git-lolevel.c:13:18: fatal error: git2.h: No such file or directory
compilation terminated.

Error: shell command terminated with non-zero exit status 256: gcc git-lolevel.c -o git-lolevel.o -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -w -fPIC -DPIC -DC_SHARED -I"/home/mario/local/chicken-4.8.0.3/include/chicken" -I"/home/mario/salmonella/4.8.0.3/7/repo/include/chicken"

Error: shell command failed with nonzero exit status 256:

  /home/mario/local/chicken-4.8.0.3/bin/csc -feature compiling-extension -setup-mode    -s -O2 -d0 -w -J -lgit2 git-lolevel.scm


Error: shell command terminated with nonzero exit code
17920
"/home/mario/local/chicken-4.8.0.3/bin/csi -bnq -setup-mode -e \"(require-librar...