Re: install file with more details or help installing CL.environment, clx, ...

Marco Antoniotti <[email protected]> Mon, 29 Mar 2004 17:12:32 -0500
Newsgroups gmane.lisp.clocc.general
Message-ID <[email protected]>
On Monday, Mar 29, 2004, at 16:11 America/New_York, Joe Corneli wrote:

>>> 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?

Once you have loaded the "load-cl-environment.lisp" file, what does

	(translate-logical-pathname "CL-ENV-LIBRARY:env-package.lisp")

return?  (Just trying to debug here)

Cheers

Marco

--
Marco Antoniotti					http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group		tel. +1 - 212 - 998 3488
715 Broadway 10th FL				fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click