[Openmcl-devel] Problem installing Hunchentoot

Robert P. Goldman rpgoldman at sift.info
Tue Jun 24 16:50:51 PDT 2008


Patrick May wrote:
> On 23 Jun 2008, at 23:57, Robert Goldman wrote:
>> Patrick May wrote:
>>> On 23 Jun 2008, at 23:36, Robert Goldman wrote:
>>>> Patrick May wrote:
>>>>> I'm just starting to use Clozure on a PowerBook G4, switching from 
>>>>> SBCL to get threading support on this machine.  My ccl-init.lisp 
>>>>> looks like this:
>>>>> (require :asdf)
>>>>> (pushnew "ccl:tools;asdf-install;" asdf:*central-registry*
>>>>>        :test #'string-equal)
>>>>> (asdf:operate 'asdf:load-op :asdf-install)
>>>>> (setq asdf-install:*verify-gpg-signatures* nil)
>>>>> I've installed Hunchentoot successfully (at least, I see it under /
>>>>> usr/local/asdf-install) with
>>>>> (asdf-install:install :hunchentoot), but I'm unable to use it.  
>>>>> When I enter (require :hunchentoot) I get the error:
>>>>>> Error: Module HUNCHENTOOT was not provided by any function on
>>>>> *MODULE-PROVIDER-FUNCTIONS*.
>>>>>> While executing: REQUIRE, in process listener(1).
>>>>>> Type :POP to abort, :R for a list of available restarts.
>>>>>> Type :? for other options.
>>>>> 1 > Clearly I have something misconfigured.  Any idea what?
>>>> I think this is a simple misuse of ASDF (although I can't swear to 
>>>> it).
>>>>
>>>> SBCL is especially ASDF-friendly, and if you use REQUIRE, you get 
>>>> ASDF loading.  Most other lisps, I believe, require (sorry) you to 
>>>> use the ASDF function.
>>>>
>>>> So try
>>>>
>>>> (asdf:oos 'asdf:load-op :hunchentoot)
>>>>
>>>> and see if that does the job.
>>>>
>>>> Best,
>>>> R
>>>     Thanks for the quick response.  I should have mentioned that I
>>> tried  that as well.  The error message from this approach is:
>>> > Error: Error component "hunchentoot" not found
>>> > While executing: ASDF:FIND-SYSTEM, in process listener(1).
>>> > Type :POP to abort, :R for a list of available restarts.
>>> > Type :? for other options.
>>> 1 >
>>> Do I need an environment variable set?  How can I tell where it is 
>>> looking for the asdf installed files?
>>
>> (pprint asdf:*central-registry*)
> 
>     That gives:  ("ccl:tools;asdf-install;" *DEFAULT-PATHNAME-DEFAULTS*)
> 
>> That tells you where asdf will look for the .asd files.
>>
>> You can also see what
>>
>> (asdf:find-system :hunchentoot)
>>
>> does...
> 
> 
>     That gives:
>> Error: Error component "hunchentoot" not found
>> While executing: ASDF:FIND-SYSTEM, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 1 >
> 
>     I tried changing my ccl-init.lisp to:
> (require :asdf)
> ;(pushnew "ccl:tools;asdf-install;" asdf:*central-registry*
> ;         :test #'string-equal)
> (pushnew #P"/usr/local/ccl/tools/asdf-install/" asdf:*central-registry*
>          :test #'equal)
> (pushnew #P"/usr/local/asdf-install/" asdf:*central-registry*
>          :test #'equal)
> (asdf:operate 'asdf:load-op :asdf-install)
> (setq asdf-install:*verify-gpg-signatures* nil)
> 
> and got similar results, although *central-registry* is now:
> (#P"/usr/local/asdf-install/" #P"/usr/local/ccl/tools/asdf-install/"
>  *DEFAULT-PATHNAME-DEFAULTS*)
> 
>     Any thoughts?
> 
>     By the way, I'm not hung up on using ASDF.  Any other way I can get
> Hunchentoot working is fine.
> 
> Thanks,
> 
> Patrick
> 
> 
> ----
> pjm at spe.com
> S P Engineering, Inc.
> Large scale, mission-critical, distributed OO systems design and
> implementation.
> (C++, Java, Common Lisp, Jini, middleware, SOA)
> 
> 
> 

As far as I can tell there's no reason to believe that this is a CCL bug
as opposed to a simple misconfiguration.  Some suggestions:

1.  What is the definition of "ccl:tools;asdf-install;"?  Take a look
with translate-logical-pathnames

2.  Use find or that apple thingy to figure out where the file
"hunchentoot.asd" is located.  Then see if you can find it within the
paths in asdf:*central-registry*

3.  I can't figure out whether you installed it with asdf-install or by
hand.  If the former, then you may need to jigger
asdf:*central-registry* to agree with where asdf-install puts its asd
files.  Possilby these are in a directory like /usr/lib/asdf-install/systems

The key is to find hunchentoot.asd and then see if its in your
asdf:*central-registry* somewhere...





More information about the Openmcl-devel mailing list