From: Joe C. <jco...@ma...> - 2004-03-28 19:55:44
|
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)? I think it would be *very* helpful if the INSTALL file that ships with CLOCC would contain full instructions on compiling and loading files. It saves you a little space to include say "..." here and there, but for someone who is relatively new to common lisp, it would be more helpful to list all the details. For example, where you say ;; * compile some systems (dolist (l '("clocc:src;port;" "clocc:src;cllib;" "clocc:src;ext;queues;" "clocc:src;port;configuration;" "clocc:src;port;environment;" "clocc:src;ext;union-find;" "clocc:src;tools;metering;" "clocc:src;f2cl;" "clocc:src;f2cl;packages;")) (mk:add-registry-location (translate-logical-pathname l))) (mk:oos "cllib" :compile) (mk:oos "f2cl" :compile) ... I can't figure out how to generalize from the examples to the "..." to actually be able to load the things I want to load. Let's start with the top level goal of loading CLX - if you can tell me what steps I need to go through to load it, that would be very helpful. |