[Ecls-list] Further integration between quicklisp and ECL

H Durer h.duerer at gmail.com
Sun Jul 22 17:45:08 UTC 2012


After I compiled my own version of ecl, I sudo make install'ed it to
/usr/local/...

I now tried to use the ecl-quicklisp as a non-root user but get this:

-------------------------------- snip --------------------------------
> (require :ecl-quicklisp)

;;; Loading "/usr/local/lib/ecl-12.7.1/ecl-quicklisp.asd"
;;; Loading "/usr/local/lib/ecl-12.7.1/ecl-quicklisp.fas"
;;; Loading "/usr/local/lib/ecl-12.7.1/ecl-curl.asd"
;;; Loading "/usr/local/lib/ecl-12.7.1/ecl-curl.fas"

;;; Unable to load / install quicklisp. Error message follows:
Could not create directory "/usr/local/lib/ecl-12.7.1/quicklisp"
C library explanation: Permission denied.
NIL
-------------------------------- snip --------------------------------

Have I done something wrong with my installation?

    Holger



On Sun, Jul 22, 2012 at 5:51 PM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at gmail.com> wrote:
> On Sun, Jul 22, 2012 at 6:32 PM, H Durer <h.duerer at gmail.com> wrote:
>>
>>
>> | ;;; The following lines added by ql:add-to-init-file:
>> | #-quicklisp
>> | (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
>> |                                         (user-homedir-pathname))))
>> |   (when (probe-file quicklisp-init)
>> |     (load quicklisp-init)))
>>
>> With your system, where do the quicklisp files live; I guess I could
>> get rid of my ~quicklisp/ dir?
>
>
> :ecl-quicklisp does basically the same:
>
> * If quicklisp was not loaded
>   +  It checks for quicklisp's initialization file. If it is not present, it
> installs quicklisp.
>   + Quicklisp's setup.lisp is loaded
> * Quicklisp's quickload is registered with REQUIRE/PROVIDE
>
> So basically you can replace the code above with a simple (require
> :ecl-quicklisp)
>
> Juanjo
>
> --
> Instituto de Física Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list