~/proj/chicken/chicken-core $ sudo chicken-install -k uri-generic
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=uri-generic&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Sun, 02 Jan 2011 10:46:49 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...
  ./alternatives/
  ./alternatives/uri-generic.abnf.scm
  ./alternatives/uri-generic.matchable.scm
  ./alternatives/README
  ./alternatives/uri-generic.irregex.scm
  ./alternatives/uri-generic.packrat.scm
  ./uri-generic.setup
  ./uri-generic.scm
  ./uri-generic.meta
 uri-generic located at /tmp/temp905/uri-generic
checking platform for `uri-generic' ...
checking dependencies for `uri-generic' ...
 missing: matchable, defstruct
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=matchable&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Sun, 02 Jan 2011 10:46:51 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...
  ./matchable.setup
  ./matchable.scm
  ./match-simple.scm
  ./matchable.meta
  ./matchable-test.scm
 matchable located at /tmp/temp905/matchable
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=defstruct&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Sun, 02 Jan 2011 10:46:52 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ..
reading files ...
  ./defstruct.setup
  ./defstruct.scm
  ./defstruct.meta
 defstruct located at /tmp/temp905/defstruct
checking platform for `defstruct' ...
checking dependencies for `defstruct' ...
checking platform for `matchable' ...
checking dependencies for `matchable' ...
install order:
("matchable" "defstruct" "uri-generic")
installing matchable: ...
changing current directory to /tmp/temp905/matchable
  /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 '(\"matchable\" \"\"))" -e "(keep-intermediates #t)" /tmp/temp905/matchable/matchable.setup
  /usr/local/bin/csc -feature compiling-extension -setup-mode -k   -s -O3 -d0 matchable.scm -j matchable
  /usr/local/bin/csc -feature compiling-extension -setup-mode -k   -s -O3 -d0 matchable.import.scm
  cp -r matchable.so /usr/local/lib/chicken/6/matchable.so
  chmod a+r /usr/local/lib/chicken/6/matchable.so
  cp -r matchable.import.so /usr/local/lib/chicken/6/matchable.import.so
  chmod a+r /usr/local/lib/chicken/6/matchable.import.so
  chmod a+r /usr/local/lib/chicken/6/matchable.setup-info
installing defstruct: ...
changing current directory to /tmp/temp905/defstruct
  /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 '(\"defstruct\" \"\"))" -e "(keep-intermediates #t)" /tmp/temp905/defstruct/defstruct.setup
  /usr/local/bin/csc -feature compiling-extension -setup-mode -k   -s -O2 defstruct.scm -j defstruct
  /usr/local/bin/csc -feature compiling-extension -setup-mode -k   -s -O2 defstruct.import.scm
  cp -r defstruct.so /usr/local/lib/chicken/6/defstruct.so
  chmod a+r /usr/local/lib/chicken/6/defstruct.so
  cp -r defstruct.import.so /usr/local/lib/chicken/6/defstruct.import.so
  chmod a+r /usr/local/lib/chicken/6/defstruct.import.so
  chmod a+r /usr/local/lib/chicken/6/defstruct.setup-info
installing uri-generic: ...
changing current directory to /tmp/temp905/uri-generic
  /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 '(\"uri-generic\" \"\"))" -e "(keep-intermediates #t)" /tmp/temp905/uri-generic/uri-generic.setup
  /usr/local/bin/csc -feature compiling-extension -setup-mode -k   -s -O2 uri-generic.scm -j uri-generic
/usr/local/bin/chicken:/usr/local/lib/chicken/6/defstruct.import.so: undefined symbol 'C_srfi_2d1_toplevel'
lazy binding failed!
Segmentation fault (core dumped) 

Error: shell command terminated with non-zero exit status 35584: /usr/local/bin/chicken uri-generic.scm -output-file uri-generic.c -dynamic -feature chicken-compile-shared -feature compiling-extension -setup-mode -optimize-level 2 -emit-import-library uri-generic

Error: shell command failed with nonzero exit status 256:

  /usr/local/bin/csc -feature compiling-extension -setup-mode -k   -s -O2 uri-generic.scm -j uri-generic


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

/tmp/temp905/uri-generic $ sudo gdb -c chicken.core /usr/local/bin/chicken
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd4.7"...
Core was generated by `chicken'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libchicken.so.6...done.
Loaded symbols for /usr/local/lib/libchicken.so.6
Reading symbols from /usr/lib/libm.so.5.2...done.
Loaded symbols for /usr/lib/libm.so.5.2
Reading symbols from /usr/lib/libc.so.53.1...done.
Loaded symbols for /usr/lib/libc.so.53.1
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/lib/chicken/6/chicken.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/chicken.import.so
Reading symbols from /usr/local/lib/chicken/6/scheme.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/scheme.import.so
Reading symbols from /usr/local/lib/chicken/6/extras.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/extras.import.so
Reading symbols from /usr/local/lib/chicken/6/data-structures.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/data-structures.import.so
Reading symbols from /usr/local/lib/chicken/6/ports.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/ports.import.so
Reading symbols from /usr/local/lib/chicken/6/matchable.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/matchable.import.so
Reading symbols from /usr/local/lib/chicken/6/defstruct.import.so...done.
Loaded symbols for /usr/local/lib/chicken/6/defstruct.import.so
#0  0x00f00da7 in _dl_bind () from /usr/libexec/ld.so
(gdb) bt
#0  0x00f00da7 in _dl_bind () from /usr/libexec/ld.so
#1  0x00efda67 in _dl_bind_start () from /usr/libexec/ld.so
#2  0x8756e02c in ?? ()
#3  0x00000010 in ?? ()
#4  0x0aba0033 in ?? ()
#5  0x00000033 in ?? ()
#6  0x3c04cce0 in environ ()
#7  0x3c04cddf in __progname_storage ()
#8  0xcfbd6968 in ?? ()
#9  0x2c111e2c in ?? () from /usr/local/lib/chicken/6/defstruct.import.so
#10 0xcfbd6948 in ?? ()
#11 0x2211e67c in ?? () from /usr/lib/libc.so.53.1
#12 0xcfbd6940 in ?? ()
#13 0x00000292 in ?? ()
#14 0x8756e02c in ?? ()
#15 0x00000010 in ?? ()
#16 0x0c110574 in f_297 (c=2, t0=-809670176, t1=30) at defstruct.import.c:512
#17 0x0331e6de in C_eval_toplevel (c=2, t0=30, t1=-809670176) at eval.c:3301
#18 0x0c1104d1 in f_294 (c=2, t0=-809668496, t1=30) at defstruct.import.c:500
#19 0x032a459c in C_library_toplevel (c=2, t0=30, t1=-809668496)
    at library.c:6904
#20 0x0c11042e in C_toplevel (c=2, t0=30, t1=2093446264)
    at defstruct.import.c:488
---Type <return> to continue, or q <return> to quit---
#21 0x035b87af in dload_2 (dummy=0x232efcb4) at runtime.c:8158
#22 0x03596fd1 in CHICKEN_run (toplevel=0x0) at runtime.c:1311
#23 0x03594f08 in CHICKEN_main (argc=14, argv=0xcfbd71e8, toplevel=0x1c00241e)
    at runtime.c:539
#24 0x1c0023c5 in main (argc=14, argv=0xcfbd71e8) at chicken.c:217
(gdb) 