[Openmcl-devel] I rebuilt my cdb files...now what?
Gary Byers
gb at clozure.com
Tue Nov 6 16:08:24 PST 2007
(eval-when (:compile-toplevel) ; at least
(use-interface-dir :mysql))
On Tue, 6 Nov 2007, Ron Garret wrote:
> I was able to build cdb files for mysql by creating darwin-x86-
> headers64/mysql/C/populate.sh containing:
>
> #/bin/sh
> h-to-ffi.sh -m64 /usr/local/mysql/include/mysql.h
>
> and then running:
>
> (ccl::parse-standard-ffi-files :mysql)
>
> The result was a bunch of cdb files in the mysql directory, so it
> apparently worked (though it did not produce "a lot of output" as the
> docs said it would).
>
> Just for good measure I rebuilt Lisp:
>
> (ccl:rebuild-ccl :full t)
>
> I then restarted CCL but none of the mysql definitions worked, e.g.:
>
> ? #$MYSQL_OPT_CONNECT_TIMEOUT
>
> > Error: Constant not found: X86-DARWIN64::MYSQL_OPT_CONNECT_TIMEOUT
>
> MYSQL_OPT_CONNECT_TIMEOUT is an enum element. But nothing works.
> Constants defined with #DEFINE aren't there. Functions aren't found
> using #_ (though I can call them manually using the FFI so I know
> they're loaded properly).
>
> What am I missing?
>
> rg
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>
More information about the Openmcl-devel
mailing list