I'm finally ready to break out the intro-stage of my lispdom and tackle all
nifty libraries out there like, cclib. But in addition to asdf, this requires
cl-port installed on FreeBSD, and every time I activate cl-port - or any other
package such as cl-meta, or cl-ppcre in my lisp startup files, asdf complains
about missing components.
I'd be really grateful if anyone could give me some pointers here.
The following is in my .clisprc and .cmucl-init.lisp:
(load "/usr/local/etc/asdf-init.lisp") ; this works dandy
(asdf:operate 'asdf:load-op 'cl-port) ; this goes banana
And here's a snippet of the error message I get when I execute clisp:
;; Loaded file /usr/local/etc/asdf-init.lisp
*** - Condition of type ASDF:MISSING-COMPONENT.
Or in cmucl:
; Loading #p"/home/me/.cmucl-init.lisp".
;; Loading #p"/usr/local/etc/asdf-init.lisp".
;;; Loading #p"/usr/local/lib/common-lisp/asdf/asdf.lisp".
component "cl-port" not found
Restarts:
0: [CONTINUE] Return NIL from load of "home:.cmucl-init".
1: [ABORT ] Skip remaining initializations.
Debug (type H for help)
(ASDF:FIND-SYSTEM CL-PORT T)[:OPTIONAL]
Source: (ERROR 'ASDF:MISSING-COMPONENT :REQUIRES ASDF::NAME)
0] :a
So apparently I need this asdf::name thingamaggic. What, how, where, when?!
Here's a sneak-peek at my system - standard installation all the way:
ll /usr/local/lib/common-lisp/port
total 82
-r--r--r-- 1 root wheel 8181 Dec 20 20:07 ext.lisp
-r--r--r-- 1 root wheel 1811 Dec 20 20:07 gray.lisp
-r--r--r-- 1 root wheel 22958 Dec 20 20:07 net.lisp
-r--r--r-- 1 root wheel 5920 Dec 20 20:07 path.lisp
-r--r--r-- 1 root wheel 783 Dec 20 20:07 port.asd
-r--r--r-- 1 root wheel 705 Dec 20 20:07 port.system
-r--r--r-- 1 root wheel 16720 Dec 20 20:07 proc.lisp
-r--r--r-- 1 root wheel 4447 Dec 20 20:07 shell.lisp
-r--r--r-- 1 root wheel 13728 Dec 20 20:07 sys.lisp
ll /usr/local/lib/common-lisp/system-registry
total 0
lrwxr-xr-x 1 root wheel 40 Dec 20 20:07 port.asd
-> /usr/local/lib/common-lisp/port/port.asd
ll /usr/local/lib/common-lisp/asdf
-r--r--r-- 1 root wheel 37707 Dec 20 19:59 asdf.lisp
drwxr-xr-x 2 root wheel 512 Dec 20 19:59 clispfasl
-r--r--r-- 1 root wheel 1625 Dec 20 19:59 wild-modules.lisp
Anyone got a clue?!
--
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
Don't Drive And Pray - Listen To InfidelGuy.com And Rock Your Mind
* whoops *
Apparently there's a universal law that states that any problem after hours
of troubleshooting *will* be solved on the first attempt after posting to a
newsgroup.
In case other newbies are struggling with the same problemo, I installed the
following ports on FreeBSD:
portinstall cl-port-clisp
portinstall cl-port-cmucl
portinstall cl-ppcre-clisp
portinstall cl-ppcre-cmucl
The names of the ports are found in the /usr/local/lib/common-lisp directory,
so insert the following in your .clisprc/.cmucl-init.lisp:
(asdf:operate 'asdf:load-op 'port)
(asdf:operate 'asdf:load-op 'cl-ppcre)
The problem was that I'd used "'cl-port" - which is the name of the actual
port in the FreeBSD port tree, instead of the name of the common-lisp
directory in which it's actually installed.
Hope that helps.
--
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
Don't Drive And Pray - Listen To InfidelGuy.com And Rock Your Mind