Re: missing interface database files

Gary Byers <[email protected]> Sat, 31 May 2003 19:12:54 -0600 (MDT)
Newsgroups gmane.lisp.openmcl.bugs
Message-ID <[email protected]>

On Fri, 30 May 2003, Jaap Weel wrote:

> I get this bug in both 0.13.4 and 0.13.5; am I doing something horribly
> stupid?
>
> [blacker-195:~/Documents/Computer/ccl] weel% ./dppccl
> Welcome to OpenMCL Version (Beta: Darwin) 0.13.4!
> ? (require 'COCOA)
>  > Error: No such file or directory :
> "/Users/weel/Documents/Computer/ccl/darwin-headers/cocoa/records.cdb"
>  > While executing: CDB-OPEN
>  > Type :POP to abort.
> Type :? for other options.
> 1 >
> 1 > :pop
>
> ? (load "examples/cocoa.lisp")
>  > Error: No such file or directory :
> "/Users/weel/Documents/Computer/ccl/darwin-headers/cocoa/records.cdb"
>  > While executing: CDB-OPEN
>  > Type :POP to abort.
> Type :? for other options.
> 1 >
>
> The file does, indeed, not exist, as demonstrated by the following:
>
> [blacker-195:ccl/darwin-headers/cocoa] weel% ls -R
> .:
> C  CVS
>
> ./C:
> CVS  populate.sh
>
> ./C/CVS:
> Entries  Repository  Root
>
> ./CVS:
> Entries  Entries.Log  Repository  Root
>
>

That looks like an empty darwin-headers directory, with just the
directory skeleton and CVS info.

The actual database files are distributed separately (they don't
change much from lisp release to lisp release).  See
<http://openmcl.clozure.com/Doc/interface-database.html> for more
information.

The "Distributions" page on the web site tries to explain that
the interface database files are needed to compile source code
that contains references to foreign functions/constants/types;
it should perhaps state more clearly that many of the examples
(including the Cocoa demo) are distributed as source files that
need access to this information.

> ========================================================================
> Jaap Weel                   Campus address:        | dorm (626) 795-9748
> Caltech Undergraduate       Caltech MSC #874, Pasadena, CA 91126, U.S.A.
> www.its.caltech.edu/~weel   Permanent address:     | home +31-46-4337033
> E-mail: [email protected]    Kelderstraat 2-4, 6171 GB Stein, Netherlands
> ========================================================================