Re: Problem with postgresql-socket and SBCL

Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
Chris Capel wrote:
> SBCL renames the MD5 package, used by the clsql-postgresql-socket package, to SB-MD5. As far as I can tell (and I'm not very experienced) this requires some read-time conditionalization in the .asd and in pgsql-socket-api.lisp. Attached are two patches which allow it to compile on my machine.
> 
> I sort of remember reading somewhere that it's possible to use a package as if it had a different name than it does. If so, that would be a better way to handle it, but I couldn't find anything on it.

You can use the sb-md5 package like you have with your patch. In my
SBCL setup (and in the CLSQL documentation), I just the vanilla MD5
package with CLSQL.


> P.S. I'm new to this patch thing. Did I get it right?

I like "diff -u" format better since it shows more context around the
changes.

Kevin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.