[pg-devel] Loading pg into sbcl

Bruce Carleton rbc at rbcarleton.com
Sun Mar 30 01:47:24 UTC 2008


I'm up and running now.  All I need is:

(require 'asdf)
(asdf:oos 'asdf:load-op :pg)

After that, I have access to the pg procedures.

Best regards,

			--Bruce


On Mar 29, 2008, at 4:31 PM, Bruce Carleton wrote:
> I figured out a little more.  I created a asdf install package and  
> used the asdf-install:install procedure to install the package  
> without fatal errors.  I just have to put together enough test code  
> to access my database.
>
> I may be on my way.
>
> Best regards,
>
> 			--Bruce
>
>
> On Mar 29, 2008, at 2:57 PM, Bruce Carleton wrote:
>> I'm trying to use pg.lisp with sbcl-1.0.10 and postgres-8.2.5 on  
>> FreeBSD 7.  I've copied "pg" from cvs into the /usr/local/lib/sbcl/ 
>> site-systems directory.  I also built the fasl files by running  
>> (asdf:operate 'asdf:load-op 'pg) in the directory.  All of that  
>> worked without error.  I'm not really sure of how to require pg  
>> when I make subsequent starts of sbcl.
>>
>> I'm looking for the right way to load pg after I've started sbcl.   
>> I've mostly used guile with simplesql in the past.  This is my  
>> first serious attempt to use CL database access.  I'm just  
>> starting to learn common lisp/sbcl loading procedures.  Any tips  
>> would be appreciated.
>>
>> Thanks,
>>
>>    --Bruce
>>
>>
>>
>> _______________________________________________
>> pg-cvs site list
>> pg-cvs at common-lisp.net
>> http://common-lisp.net/mailman/listinfo/pg-cvs
>
> ---
> Bruce Carleton + rbc at insidernewswire.com + (415) 390-2296
>
>
>
> _______________________________________________
> pg-cvs site list
> pg-cvs at common-lisp.net
> http://common-lisp.net/mailman/listinfo/pg-cvs

---
Bruce Carleton + rbc at insidernewswire.com + (415) 390-2296






More information about the pg-devel mailing list