March 11, 201610 yr 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
March 11, 201610 yr 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:
March 11, 201610 yr Author 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
Create an account or sign in to comment