Opened 8 years ago

Closed 8 years ago

#825 closed defect (worksforme)

Hunchentoot / usocket installation fails

Reported by: mcandre Owned by:
Priority: normal Milestone:
Component: IDE Version: trunk
Keywords: Cc:

Description

Using dx86cl from SVN, usocket and therefore Hunchentoot installation fails.

Note: Using MacPorts? or Lispbox CCL, Hunchentoot installs just fine.

Specs:

  • SVN CCL darwin x86
  • Mac OS X 10.6.6
  • MacBook Pro 5,1

Trace:

$ svn co http://svn.clozure.com/publicsvn/openmcl/release/1.6/darwinx86/ccl/

...

$ cd ccl
$ wget http://beta.quicklisp.org/quicklisp.lisp

...

$ ./dx86cl
? (load "quicklisp")
? (ql:quickload "hunchentoot")
; Loading "hunchentoot"
..................................................
[package alexandria.0.dev]........................
..................................................
..................................................
[package bordeaux-threads]........................
[package usocket]..
Read error between positions 195 and 295 in /Users/andrew/quicklisp/dists/quicklisp/software/usocket-20110219-svn/vendor/ccl-send.lisp.
> Error: Foreign function not found: X86-DARWIN32::|send|
> While executing: LOAD-EXTERNAL-FUNCTION, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.

Change History (2)

comment:1 Changed 8 years ago by gb

The error message means that the #_ reader macro can't find a definition of "send" in the interface database (in ccl/darwin-x86-headers/libc/*.cdb), which generally means that those files are missing, that CCL isn't installed correctly, or that the files are corrupt.

An installation problem or missing interface files would generally result in a warning before the error.

Doing

$ cd ccl
$ ls -l darwin-x86-headers/libc/*.cdb

in the shell should produce output like:

-rw-r--r--  1 gb  staff  1015980 Jan 24  2010 darwin-x86-headers/libc/constants.cdb
-rw-r--r--  1 gb  staff   488803 Jan 24  2010 darwin-x86-headers/libc/functions.cdb
-rw-r--r--  1 gb  staff     4711 Jan 24  2010 darwin-x86-headers/libc/objc-classes.cdb
-rw-r--r--  1 gb  staff     7326 Jan 24  2010 darwin-x86-headers/libc/objc-methods.cdb
-rw-r--r--  1 gb  staff  1090858 Jan 24  2010 darwin-x86-headers/libc/records.cdb
-rw-r--r--  1 gb  staff   155440 Jan 24  2010 darwin-x86-headers/libc/types.cdb
-rw-r--r--  1 gb  staff    20983 Jan 24  2010 darwin-x86-headers/libc/vars.cdb

comment:2 Changed 8 years ago by mcandre

  • Resolution set to worksforme
  • Status changed from new to closed

Ah. I had assumed that all I needed was dx86cl and dx86cl.image. I guess I need all those other files, too.

Note: See TracTickets for help on using tickets.