Jump to content

Recommended Posts

Hi,

I know support for quicklisp is not expected of this forum, but in case someone has found a fix, I would appreciate the insight.

 

I installed quicklisp without any problem. But when I try to install "drakma" library (via console), I am getting this error:

--------------

? (ql:quickload "drakma")
To load "drakma":
  Load 1 ASDF system:
    drakma
; Loading "drakma"
Read error between positions 66 and 163 in /Users/Rangarajan/quicklisp/dists/quicklisp/software/usocket-0.6.3.2/backend/openmcl.lisp.
> Error: Foreign function not found: x86-darwin64::|gethostname|
> While executing: ccl::load-external-function, in process Listener-1(7).
> Type cmd-. to abort, cmd-\ for a list of available restarts.
> Type :? for other options.

---------------

 

Regards,

Rangarajan

 

Link to comment
Share on other sites

Indeed, this is not a Opusmodus issue.

 

However,

I don't see any error when loading 'drama'.

You need to install the CCL first in your home directory.

 

Then:

;;; CCL path
(setf (logical-pathname-translations "ccl") '((#P"ccl:**;*.*" #P"/Users/opusmodus/ccl/**/*.*")))

;;; Quicklisp Setup
#-quicklisp
(let ((quicklisp-init
       (merge-pathnames "quicklisp/setup.lisp"
                        (user-homedir-pathname))))
  (when (probe-file quicklisp-init)
    (load quicklisp-init)))

 

Maybe this helps:

 

Link to comment
Share on other sites

Thanks very much.

 

Obviously I had not read the quick lisp-related posts fully. I did the following and it works now:

1) Created a directory "ccl" under my user name directory

2) cd to that directory

3) svn co http://svn.clozure.com/publicsvn/openmcl//release/1.11/darwin-x86-headers64

4) In the file "Quicklisp Start.lisp" located under "~/Opusmodus/Extensions" folder, I uncommented and modified the following line:

(setf (logical-pathname-translations "ccl") '((#P"ccl:**;*.*" #P"/Users/Rangarajan/ccl/**/*.*")))

 

That is it.

 

Regards,

Rangarajan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy