Comment 8 for bug 163681

Revision history for this message
Michael D. Adams (mdmkolbe) wrote :

Heh, I guess it took me more then 11 min to compose my last reply. On the question of whether setting IKARUS_LIBRARY_PATH should cause ikarus to *not* search the current working directory or $pkglibdir, I'm not entirely certain. The convention I would naturally assume would be that IKARUS_LIBRARY_PATH is in addition to the current working directory and $pkglibdir (give me an hour and I should be able to check example of other programs), but there does need to be some way to override $pkglibdir (and maybe the current working directory).

Come to think of it, there may need to be a fourth location, the directory of the scheme script.

$ ls
test.ss
foo.ss
$ cat test.ss
(import (rnrs) (foo))
(display "ok")
$ scheme-script test.ss
ok
$ cd ..
$ scheme-script test/test.ss
Error: Can't find library "test".