Summary

Stock 4.7.0 chicken cannot compile current trunk

Metadata

Description

When attempting to compile `setup-api.scm`, `setup-download.scm`, `chicken-install.scm`, `chicken-uninstall.scm`, and `chicken-status.scm`, my stock 4.7.0 `chicken` in /usr/local/bin crashes with the absurd error message:

 
 Syntax error (import): cannot import from undefined module
 
         scheme
 
         Expansion history:
 
         <syntax>          (##core#begin (module setup-api ((run execute) compile standard-extension make make/proc host-extens......
         <syntax>          (module setup-api ((run execute) compile standard-extension make make/proc host-extension install-ex......
         <syntax>          (##core#module setup-api ((run execute) compile standard-extension make make/proc host-extension ins......
         <syntax>          (import scheme chicken foreign irregex utils posix ports extras data-structures srfi-1 srfi-13 files......    <--

The workaround is to recompile these files using the `chicken` already built in the working directory, which has no problem with them. This is after setting CSC_OPTIONS to "-I/usr/local/include/chicken", as required on Cygwin.

Changes and comments

[2011-09-21 23:07:03 UTC] johnwcowan changed summary

[2011-09-21 23:07:03 UTC] johnwcowan wrote:

The same is true on Linux.

[2011-09-22 09:35:11 UTC] felix removed milestone 4.8.0

[2011-09-22 09:35:11 UTC] felix wrote:

Chicken versions from the git repository are likely to introduce incompatibilities. You should have done "make ... boot-chicken" first. Have you tried this?

[2011-09-22 23:05:18 UTC] ckeen wrote:

This works for me when doing the following:

 make PLATFORM=linux boot-chicken
 make PLATFORM=linux CHICKEN=./chicken-boot
 make PLATFORM=linux install

This is the recommended way of building a chicken from git, especially in these unstable times of scrutinizer / type db changes.

If there is any misunderstanding in the documentation about this process, please feel free to point them out so future attempts will be more successful.

[2011-09-23 09:05:39 UTC] felix changed status from new to closed

[2011-09-23 09:05:39 UTC] felix set resolution to worksforme