Re: Compilation Problem on SBCL
Warren Lynn <[email protected]> Wed, 5 May 2010 22:26:53 -0400
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 4, 2010 at 1:38 AM, Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> wrote: > On May 3, 2010, at 10:31 PM, Warren Lynn wrote: > > I am using the latest CLSQL version from the repo and the code does not > compile on SBCL 1.0.38 for PostgreSQL. The compilation output I got is: > ... > > --> CFFI-SYS::%%FOREIGN-FUNCALL ALIEN-FUNCALL > > ... > > Thanks if anyone can fix it or suggest a fix. > > That's a compilation error from CFFI. Try using the latest version of UFFI. > UFFI is what I develop alongside CLSQL and is also the testing platform for > CLSQL. > > Kevin > > Thanks. Switching to UFFI fixed the compilation problem. However, I got a "memory fault" error when accessing the database (through weblocks). The error seems to come from very low level because it is not any regular CL condition and SBCL (1.0.38) warns that my image may have been "compromised". I suspect it comes from the interface between CLSQL and the libmysqlclient-dev. I was using libmysqlclient15-dev package in Ubuntu 8.10, but now I am using libmysqlclient16-dev in Ubuntu 10.04. I don't have time and skill to debug this and so I just switched to the postgresql-socket backend and now at least I have a working database. _______________________________________________ CLSQL mailing list [email protected] http://lists.b9.com/cgi-bin/mailman/listinfo/clsql