[Openmcl-devel] Error: Foreign variable "O_NONBLOCK" not found; can't compile CL+SSL

Gary Byers gb at clozure.com
Sun Jan 30 15:55:18 PST 2011


> ; Warning: Interface file
> #P"/home/healy/languages/lisp/ccl/x86-headers64/libc/constants.cdb"
> does not exist, and the containing directory does not exist.
> ;          This may mean that that the "ccl:" logical-pathname host
> has not been properly initialized.
> ; While executing: CCL::CDB-OPEN, in process listener(1).
> ; Warning: Interface file
> #P"/home/healy/languages/lisp/ccl/x86-headers64/libc/vars.cdb" does
> not exist, and the containing directory does not exist.
> ;          This may mean that that the "ccl:" logical-pathname host
> has not been properly initialized.
> ; While executing: CCL::CDB-OPEN, in process listener(1).

It's hard to know what to add these warnings, which suggest that it's
either an installation problem (the CCL directory doesn't contain
the appropriate files in ccl/x86-headers64/) or an initialization
problem (perhaps the environment variable CCL_DEFAULT_DIRECTORY is
set inappropriately in your environment.)

It's hard for anyone else to know where this version of CCL is
installed on your machine, or how it was installed.

None of this has anything to do with CL+SSL, or Quicklisp, or SBCL;
it doesn't have too much to do with CCL, beyond the facts that

  - CCL needs to be able to find some auxiliary files (in this case,
    interace database files) in order for things like the #$ reader
    macro to work.
  - if those files are missing or if it's been told to look for them
    in the wrong place, it ... um ... won't find them.



On Sun, 30 Jan 2011, Liam Healy wrote:

> I am trying to load CL+SSL from quicklisp, and it doesn't compile.  I
> don't know if this is a CCL problem, a CL+SSL problem, or maybe a
> quicklisp problem, but it does compile and load just fine in SBCL, so
> I'll start here.  (PS I know nothing of the internals of CL+SSL, I'm
> just a user.)
>
> Liam
>
> Welcome to Clozure Common Lisp Version 1.7-dev-r14610M-trunk  (LinuxX8664)!
> ? (require :cl+ssl)
> ; Loading system definition from
> /home/healy/languages/lisp/quicklisp/dists/quicklisp/software/flexi-streams-1.0.7/flexi-streams.asd
> into #<Package "ASDF0">
> ; Registering #<SYSTEM :FLEXI-STREAMS> as FLEXI-STREAMS
> ; Registering #<SYSTEM :FLEXI-STREAMS-TEST> as FLEXI-STREAMS-TEST
> ; Loading system definition from
> /home/healy/languages/lisp/quicklisp/dists/quicklisp/software/trivial-gray-streams-20101006-cvs/trivial-gray-streams.asd
> into #<Package "ASDF0">
> ; Registering #<SYSTEM :TRIVIAL-GRAY-STREAMS> as TRIVIAL-GRAY-STREAMS


> ; Warning: Interface file
> #P"/home/healy/languages/lisp/ccl/x86-headers64/libc/constants.cdb"
> does not exist, and the containing directory does not exist.
> ;          This may mean that that the "ccl:" logical-pathname host
> has not been properly initialized.
> ; While executing: CCL::CDB-OPEN, in process listener(1).
> ; Warning: Interface file
> #P"/home/healy/languages/lisp/ccl/x86-headers64/libc/vars.cdb" does
> not exist, and the containing directory does not exist.
> ;          This may mean that that the "ccl:" logical-pathname host
> has not been properly initialized.
> ; While executing: CCL::CDB-OPEN, in process listener(1).
> Read error between positions 6312 and 6502 in
> /home/healy/languages/lisp/quicklisp/dists/quicklisp/software/cl+ssl-20101006-cvs/streams.lisp.ASDF
> could not load cl+ssl because Foreign variable "O_NONBLOCK" not found.
> ASDF could not load cl+ssl because Foreign variable "O_NONBLOCK" not found.
>> Error: Foreign variable "O_NONBLOCK" not found
>> While executing: CCL::%LOAD-VAR, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
> 1 > (lisp-implementation-version)
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list