Re: guile-db

2008-10-20 Thread Greg Troxel
True, but to make this work in 1.8 you just have to write a single .scm file for the module which loads the shlib and re-exports all the right symbols. And maybe a little else, but I am pretty sure not much. Easy for a C programmer no doubt, but not so easy for a lowly scripter

Re: guile-db

2008-10-20 Thread Sebastian Tennant
Quoth Greg Troxel [EMAIL PROTECTED]: but... To build Guile-PG you need to have installed both the PostgreSQL frontend library libpq, and a version of Guile that can load binary module (a b c) from file a/b/c.so or a/b/c/libc.la under `%load-path'. I believe the last bit means

Re: guile-db

2008-10-20 Thread Clinton Ebadi
Sebastian Tennant [EMAIL PROTECTED] writes: Quoth Greg Troxel [EMAIL PROTECTED]: but... To build Guile-PG you need to have installed both the PostgreSQL frontend library libpq, and a version of Guile that can load binary module (a b c) from file a/b/c.so or a/b/c/libc.la under

Re: guile-db

2008-10-20 Thread dsmich
Clinton Ebadi [EMAIL PROTECTED] wrote: (define-module (pg whatever) #:export (guile-pg symbols ...)) (load-extension libwhateverpg guile_pg_init) Is roughly what you need. Assuming that there is an init function in guile-pg that creates all of bindings for the library