a life of coding

Saturday, March 17, 2007

asdf-install on openMCL

A Note: This has been sitting in my drafts folder for 10 months. I'm
posting it unedited because its better out then in, right?


This should be pretty trivial... after all, its included with the
latest openMCL, right? (I'm using the latest CVS)

Well, I've been fighting to get it working for almost a week, most
likely because I tend to ignore files named README. Having some
experience with CPAN and rubygems, it should really be possible to get
packages from a package repository without even knowing the language
that you are using. Why? Because newbies want to see results before
they have to invest time in learning new things. In the worst case,
an end user doesn't know, or even want to know, how to program at all.
Package repositories should really just work.

Here are my notes so far:

You need to compile asdf-install. To do so, you should be in the
directory containing asdf-install.asd . Then run:
(asdf:operate 'asdf:compile-op :asdf-install)
(asdf:operate 'asdf:load-op :asdf-install)
Now, make your asdf registry:

mkdir /usr/local/share/ccl/asdf-registry
cp asdf-

You need to create ~/openmcl-init.lisp with:
(require 'asdf)
(setf asdf:*central-registry*
#p"/usr/local/asdf-install/site-systems/" ; where
asdf-install puts things
#p"/usr/local/share/ccl/asdf-registry/" ; where i put
(asdf:operate 'asdf:load-op :asdf-install)

;;; its really best to install GPG
(setf asdf-install:*VERIFY-GPG-SIGNATURES* nil)

The central registry setup is important - maybe
asdf-install/site-systems should be the same folder as the asdf
registry... I dunno. What I do know is that they both need to be in
the asdf search path (ie asdf:*central-registry*) or you won't get
very far.

I hope that I'm misguided, this is all a bad dream, and if I only
followed some magic instructions, this would be trivial. For now,
this works for me, and thats all that really matters.


Post a Comment


Create a Link

<< Home