Summary
r7rs library include path trouble
Metadata
- Id: ef526ff349235c36d2a8f47f9fb2682fd245edac
- Trac id: 1084
- Type: defect
- Reporter: sethalves
- Owner: evhan
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: someday
- Version: 4.8.x
- Changetime: 2014-01-26 23:17:54 UTC
- Created: 2013-12-30 01:38:46 UTC
- Keywords: r7rs
Attachments
- ef526ff349235c36d2a8f47f9fb2682fd245edac/attachments/chicken-r7rs-compile-test.tar.gz
Description
Attached is a tarball with 3 small source files in it. They are a top-level file and two r7rs library files. csi is able to run this without issue. csc complains about one of the library files, and the resulting executable doesn't work.
ponk% find . -type f ./aaa.scm ./seth/bbb.sld ./seth/ccc.sld ./Makefile
ponk% make csc aaa.scm -o aaa
Warning: extension `seth.ccc' is currently not installed
ponk% ./aaa
Error: (require) cannot load extension: seth.ccc
Call history: aaa.scm:6: ##sys#require seth/ccc.sld:1: register-feature! seth/ccc.sld:1: ##sys#require seth/bbb.sld:1: register-feature! seth/bbb.sld:1: ##sys#require seth/bbb.sld:1: ##sys#require <--
ponk% ./aaa.scm a-func b-func c-func
ponk%
Changes and comments
[2013-12-30 01:39:17 UTC] sethalves attached chicken-r7rs-compile-test.tar.gz (description=#f)
[2014-01-26 23:17:54 UTC] evhan changed status from new to closed
[2014-01-26 23:17:54 UTC] evhan set resolution to fixed
[2014-01-26 23:17:54 UTC] evhan wrote:
Support for this pattern (i.e. importing libraries defined by included files) has been added in the r7rs trunk.