I just installed chicken 4.0.0, I've been meaning to play with it for a while now. I'm having some fairly basic problems getting my environment set up. I'm on OSX 10.5.7. The first egg I tried to install was the readline egg. I symlinked the dylib as described in the egg page, but I can't get it to install, I get the first error below. I then tried to install the objc egg, which is what I'm really interested in using, and I got the second error. Do I have something fundamental I'm missing in my environment? Is this because I'm on Chicken 4?
Thanks, Colin
Readline error:
~/dev/chicken-4.0.0> chicken-install readline retrieving ... connecting to host "chicken.kitten-technologies.co.uk", port 80 ... requesting "/henrietta.cgi?name=readline" ... reading response ... HTTP/1.1 200 OK Date: Sat, 11 Jul 2009 21:45:29 GMT Server: Apache Connection: close Transfer-Encoding: chunked Content-Type: text/plain reading chunks ... reading files ... ./readline.setup ./readline-egg.c ./readline.scm ./readline.meta readline located at /var/folders/T1/T15jk2vLE6y3fvG+IxkWn++++TU/-Tmp-/chicken-install-266.tmp/readline checking dependencies for `readline' ... installing readline: ... changing current directory to /var/folders/T1/T15jk2vLE6y3fvG+IxkWn++++TU/-Tmp-/chicken-install-266.tmp/readline /usr/local/bin/csi -bnq -e "(require-library setup-api)" -e "(import setup-api)" -e "(extension-name-and-version '(\"readline\" \"\"))" /var/folders/T1/T15jk2vLE6y3fvG+IxkWn++++TU/-Tmp-/chicken-install-266.tmp/readline/readline.setup /usr/local/bin/csc -feature compiling-extension -s -o rlu-test rl-usable-test.scm -lreadline -lhistory -ltermcap ld: library not found for -lhistory collect2: ld returned 1 exit status
Error: shell command terminated with non-zero exit status 256: gcc rlu-test.o -o rlu-test -m64 -bundle -lreadline -lhistory -ltermcap -L/usr/local/lib/ -lchicken -lm /usr/local/bin/csc -feature compiling-extension -s -O2 readline.scm -lreadline -lhistory -ltermcap In file included from readline.c:14: readline-egg.c: In function ‘gnu_readline_init’: readline-egg.c:240: warning: assignment from incompatible pointer type readline.c: In function ‘f_984’: readline.c:1121: error: ‘rl_completion_quote_character’ undeclared (first use in this function) readline.c:1121: error: (Each undeclared identifier is reported only once readline.c:1121: error: for each function it appears in.)
Error: shell command terminated with non-zero exit status 256: gcc readline.c -o readline.o -c -no-cpp-precomp -fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/usr/local/include/ /usr/local/bin/csc -feature compiling-extension -c -O2 -d0 -j readline readline.scm -o readline-static.o -unit readline -lreadline -lhistory -ltermcap In file included from readline-static.c:14: readline-egg.c: In function ‘gnu_readline_init’: readline-egg.c:240: warning: assignment from incompatible pointer type readline-static.c: In function ‘f_976’: readline-static.c:1033: error: ‘rl_completion_quote_character’ undeclared (first use in this function) readline-static.c:1033: error: (Each undeclared identifier is reported only once readline-static.c:1033: error: for each function it appears in.)