Re: Loading .scm file, and using guile for research

Gary Houston (ghouston@actrix.gen.nz)
1 Oct 1996 02:42:07 -0000

| I have a question about the (load ...)'ing procedure of guile. I am
| using the Sept 27 snapshot, and compiled and installed in a path on an
| andrew file system so guile is not in a 'normal' UNIX place for
| applications.
|
| - One observation is that I had to set the SCHEME_LOAD_PATH to find
| the basic guile code even though I "./configure"'ed the installation
| position of the code with the --prefix= option.
|
| - A question: I didn't figure-out how to load code in my
| current-directory. I tried putting the paths "./" and "" in the
| load-path but (%search-load-path FILENAME) didn't the file in the
| current directory when I tried to load it with both relative and
| absolute directory addresses. I looked at libguile/load.c, but the
| cause of this problem wasn't immediately discernable to me.

I also had load problems: I made some modifications recently (they
would have been in the Sept 28 snapshot I think) so that loading files
from the current directory works again. It works for me even if
SCHEME_LOAD_PATH is not set.