From: Joe C. <jco...@ma...> - 2004-03-29 21:11:37
|
>> From ~/lisp-systems/clocc/src/port/environment/ > > Load the file named 'load-cl-environment.lisp'. > > (load "load-cl-environment.lisp") > > Be careful about the directory you are in and/or the actual location > of the aforementioned file. The package is actually loaded from the > directory of *LOAD-TRUENAME* as bound by the call to LOAD. > > How can I set this `*LOAD-TRUENAME*' or work around this complexity? > Is there some kind of `save-excursion' I can use to load from the > correct directory in my .clisprc (regardless of what directory I > start CLISP in)? Just do (load "/PATH/to/clocc/whatever/load-cl-environment.lisp") and you are home free. Well, what I get is this: [8]> (load "/Users/arided/lisp-systems/clocc/src/port/environment/load-cl-environment.lisp")) ;; Loading file /Users/arided/lisp-systems/clocc/src/port/environment/load-cl-environment.lisp ... ;;; CL.ENV: Loading CL.ENVIRONMENT package from directory ;;; "/Users/arided/lisp-systems/clocc/src/port/environment/" *** - LOAD: A file with name CL-ENV-LIBRARY:env-package.lisp does not exist Break 1 CL-ENVIRONMENT-LOADER[9]> Since the file /Users/arided/lisp-systems/clocc/src/port/environment/env-package.lisp does exist, it seems like there is something being routed incorrectly here. But I get the same message regardless of where I run the command - so my guess about where the problem was coming from was wrong. Any suggestions? |