Hi all,

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.)

Error: shell command terminated with non-zero exit status 256: gcc
readline-static.c -o readline-static.o -c -no-cpp-precomp
-fno-strict-aliasing -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -Os
-fomit-frame-pointer -I/usr/local/include/
 /usr/local/bin/csc -feature compiling-extension  -s -O2 -d0
readline.import.scm
 rm -fr /usr/local/lib/chicken/4/readline.so

Error: file does not exist: "readline.so"
Error: shell command terminated with nonzero exit code
17920
"/usr/local/bin/csi -bnq -e \"(require-library setup-api)\" -e \"(import
setup-a...

ObjC error:

~/dev/chicken-4.0.0> chicken-install objc
retrieving ...
connecting to host "chicken.kitten-technologies.co.uk", port 80 ...
requesting "/henrietta.cgi?name=objc" ...
reading response ...
HTTP/1.1 200 OK
Date: Sat, 11 Jul 2009 21:46:53 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...
  ./debug/
  ./debug/notes.txt
  ./debug/low.scm
  ./debug/foreign-types.scm
  ./debug/locations.scm
  ./debug/closure.scm
  ./doc/
  ./doc/objc-04-changes.txt
  ./doc/eggdoc-zb.scm
  ./doc/eggdoc-objc.scm
  ./doc/impl-notes.txt
  ./doc/Makefile
  ./objc-cocoa.scm
  ./objc.html
  ./LICENSE
  ./objc-runtime.h
  ./objc-class-proxies-bin.scm
  ./objc-class-proxies.scm
  ./scheme-object.h
  ./alignment.scm
  ./objc.scm
  ./array.scm
  ./convert.scm
  ./scheme-object.m
  ./objc.meta
  ./objc-support.scm
  ./objc-base.scm
  ./objc.setup
  ./classes.scm
 objc located at
/var/folders/T1/T15jk2vLE6y3fvG+IxkWn++++TU/-Tmp-/chicken-install-251.tmp/objc
checking dependencies for `objc' ...
installing objc: ...
changing current directory to
/var/folders/T1/T15jk2vLE6y3fvG+IxkWn++++TU/-Tmp-/chicken-install-251.tmp/objc
  /usr/local/bin/csi -bnq -e "(require-library setup-api)" -e "(import
setup-api)" -e "(extension-name-and-version '(\"objc\" \"\"))"
/var/folders/T1/T15jk2vLE6y3fvG+IxkWn++++TU/-Tmp-/chicken-install-251.tmp/objc/objc.setup
  /usr/local/bin/csc -feature compiling-extension  objc-base.scm -s -objc
-O2 -d1 -j objc-base -extend easyffi -lffi -framework Foundation

Error: unbound variable: |???|

Error: shell command terminated with non-zero exit status 17920:
/usr/local/bin/chicken objc-base.scm -output-file objc-base.m -dynamic
-feature chicken-compile-shared -feature compiling-extension -optimize-level
2 -debug-level 1 -emit-import-library objc-base -extend easyffi
  /usr/local/bin/csc -feature compiling-extension  objc-base.import.scm -s
-O2 -d0
csc: file `objc-base.import.scm' does not exist
make: Failed to make objc-base.so: shell command failed with nonzero exit
status

Error: shell command failed with nonzero exit status
16384
"/usr/local/bin/csc -feature compiling-extension  objc-base.import.scm -s
-O2 -d0"
Error: shell command terminated with nonzero exit code
17920
"/usr/local/bin/csi -bnq -e \"(require-library setup-api)\" -e \"(import
setup-a...
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to