Another thing I'm trying to do (that doesn't work)

$ brew install chicken

$ csc -version
CHICKEN
(c) 2008-2022, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.4.0 (rev 1a1d1495)
macosx-unix-clang-x86-64 [ 64bit dload ptables ]

$ git clone https://code.call-cc.org/git/chicken-core.git
$ cd chicken-core
$ sh ./configure
detecting platform ... macosx
installation prefix: /usr/local
testing C compiler (gcc) ... works
now run make to build the system

$ make
make
chicken  library.scm -optimize-level 2 -include-path . -include-path ./ -inline 
-ignore-repository -feature chicken-bootstrap -no-warnings -specialize 
-consult-types-file ./types.db  -explicit-use -no-trace -output-file library.c \
        -no-module-registration \
        -emit-import-library chicken.bitwise \
        -emit-import-library chicken.bytevector \
        -emit-import-library chicken.fixnum \
        -emit-import-library chicken.flonum \
        -emit-import-library chicken.gc \
        -emit-import-library chicken.keyword \
        -emit-import-library chicken.platform \
        -emit-import-library chicken.plist \
        -emit-import-library chicken.io \
        -emit-import-library chicken.process-context

Syntax error (import): cannot import from undefined module

        scheme.base

        Expansion history:

        <syntax>          (##core#begin (import (only (scheme base) 
make-parameter open-output-string get-output-string)))
        <syntax>          (import (only (scheme base) make-parameter 
open-output-string get-output-string))     <--
make: *** [library.c] Error 70





On Thu, Oct 23, 2025, at 6:35 PM, Ben wrote:
> hi
> This is my error report. Any idea whats the probleme here?
> Thanks Ben
>
> $ sw_vers
> ProductName:          macOS
> ProductVersion:               15.6.1
>
> $ gcc --version
> Apple clang version 17.0.0 (clang-1700.0.13.5)
> Target: x86_64-apple-darwin24.6.0
> Thread model: posix
> InstalledDir: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
>
> git clone https://code.call-cc.org/git/chicken-core.git
> # ...
>
> $ sh scripts/bootstrap.ch
> # Errors
> # ....
> gcc -m64 -L. chicken.o batch-driver.o core.o optimizer.o lfa2.o 
> compiler-syntax.o scrutinizer.o support.o c-platform.o c-backend.o 
> user-pass.o -o chicken \
>           -lchicken  -lm
> install_name_tool -change libchicken.dylib 
> /Users/ben/Builds/chicken-crunch/chicken-core/boot/chicken-6.0.0pre1/libchicken.dylib
>  
> chicken
> error: 
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
>  
> changing install names or rpaths can't be redone for: chicken (for 
> architecture x86_64) because larger updated load commands do not fit 
> (the program must be relinked, and you may need to use -headerpad or 
> -headerpad_max_install_names)
> make: *** [chicken] Error 1

Reply via email to