Re: guile-db

2008-10-23 Thread Sebastian Tennant
Quoth "Neil Jerram" <[EMAIL PROTECTED]>: > 2008/10/23 Sebastian Tennant <[EMAIL PROTECTED]>: >> >> Are you planning to release a 1.8-compatible guile-pg pkgsrc package >> anytime soon? > > FWIW, I'm going to have a go at this (1.8-compatible guile-pg). I'll > be doing it as an in-between kind of t

Re: guile-db

2008-10-23 Thread Neil Jerram
2008/10/23 Sebastian Tennant <[EMAIL PROTECTED]>: > > Are you planning to release a 1.8-compatible guile-pg pkgsrc package > anytime soon? FWIW, I'm going to have a go at this (1.8-compatible guile-pg). I'll be doing it as an in-between kind of task, though, so please don't hold your breath! (I

Re: guile-db

2008-10-22 Thread Sebastian Tennant
Quoth Greg Troxel <[EMAIL PROTECTED]>: >>> I think you are referring to guile-pg 0.07 >> >> I'm referring to whichever guile-pg you get when you issue the command >> 'apt-get install guile-pg' on a stock Debian box. > > Sorry, but that means you don't know Which version it is. Indeed it does. Bu

Re: guile-db

2008-10-22 Thread Greg Troxel
http://www.debian.org/distrib/packages than select the package name and release [stable, testing, unstable] you get this page: http://packages.debian.org/lenny/guile-pg Thanks. That page is missing links to the upstream homepage and distfile. But I grabbed the

Re: guile-db

2008-10-22 Thread David Séverin
Le Wed, 22 Oct 2008 08:40:11 -0400, Greg Troxel <[EMAIL PROTECTED]> a écrit : > ... > I do not have any idea about Debian packages. I would say that if > Debian is tracking 0.07 they are behind and probably should switch - it > has been 8 years. But I don't know if the 0.07 version works with 1.

Re: guile-db

2008-10-22 Thread Greg Troxel
Sebastian Tennant <[EMAIL PROTECTED]> writes: >> Yes, this needs to be done, but there is quite a bit more work that >> has to happen. >> >> The C code uses features and interfaces from Guile 1.4 that are >> deprecated in 1.6 and completely removed in 1.8. You just can't >> compile and link the

Re: guile-db

2008-10-22 Thread Sebastian Tennant
Quoth Greg Troxel <[EMAIL PROTECTED]>: > It's less work to write the wrapper to ttn's version. Quoth <[EMAIL PROTECTED]>: > Clinton Ebadi <[EMAIL PROTECTED]> wrote: > >> (define-module (pg whatever) >> #:export (guile-pg symbols ...)) >> >> (load-extension "libwhateverpg" "guile

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 th

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/li

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 l

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 bi

Re: guile-db

2008-10-17 Thread Greg Troxel
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 it'll work with guile-1.4 or guile-1.6

Re: guile-db

2008-10-17 Thread Sebastian Tennant
Quoth "Linas Vepstas" <[EMAIL PROTECTED]>: > 2008/10/16 Sebastian Tennant <[EMAIL PROTECTED]>: > >> guile-pg is definitely more feature-full in that case. and ttn's >> guile-1.4 compatible guile-pg is much more fetaure-full than the >> guile-1.6 compatible guile-pg generally available through distr

Re: guile-db

2008-10-16 Thread Linas Vepstas
2008/10/16 Sebastian Tennant <[EMAIL PROTECTED]>: > guile-pg is definitely more feature-full in that case. and ttn's > guile-1.4 compatible guile-pg is much more fetaure-full than the > guile-1.6 compatible guile-pg generally available through distros. What does it do? What are the features? I'v

Re: guile-db

2008-10-16 Thread Sebastian Tennant
Quoth "Linas Vepstas" <[EMAIL PROTECTED]>: > 2008/10/15 Sebastian Tennant <[EMAIL PROTECTED]>: >> Quoth "Linas Vepstas" <[EMAIL PROTECTED]>: >>> Dunno. However, fyi, I'm maintaining guile-dbi, which wraps >>> postgres and mysql. >> >> Do you happen to know how guile-dbi's postgres wrapping compare

Re: guile-db

2008-10-15 Thread Linas Vepstas
2008/10/15 Sebastian Tennant <[EMAIL PROTECTED]>: > Quoth "Linas Vepstas" <[EMAIL PROTECTED]>: >> Dunno. However, fyi, I'm maintaining guile-dbi, which wraps >> postgres and mysql. > > Do you happen to know how guile-dbi's postgres wrapping compare with > guile-pg, feature-wise? Dunno. guile-dbi p

Re: guile-db

2008-10-15 Thread Linas Vepstas
2008/10/14 betoes <[EMAIL PROTECTED]>: > On Tue, 2008-10-14 at 15:38 -0500, Linas Vepstas wrote: > > 2008/10/14 betoes <[EMAIL PROTECTED]>: >> Hello list, >> >> In the Debian distro, there is a packge named guile-db, which refers to a >> Berkeley DB wr

Re: guile-db

2008-10-15 Thread Sebastian Tennant
Quoth "Linas Vepstas" <[EMAIL PROTECTED]>: > 2008/10/14 betoes <[EMAIL PROTECTED]>: >> Hello list, >> >> In the Debian distro, there is a packge named guile-db, which refers to a >> Berkeley DB wrap for Guile. Do someone know if it is active? If

Re: guile-db

2008-10-14 Thread betoes
On Tue, 2008-10-14 at 15:38 -0500, Linas Vepstas wrote: > 2008/10/14 betoes <[EMAIL PROTECTED]>: > > Hello list, > > > > In the Debian distro, there is a packge named guile-db, which refers to a > > Berkeley DB wrap for Guile. Do someone know if it is active? If

Re: guile-db

2008-10-14 Thread Linas Vepstas
2008/10/14 betoes <[EMAIL PROTECTED]>: > Hello list, > > In the Debian distro, there is a packge named guile-db, which refers to a > Berkeley DB wrap for Guile. Do someone know if it is active? If there is a > repository or web page? I tried the maintainer and author e-ma

guile-db

2008-10-14 Thread betoes
Hello list, In the Debian distro, there is a packge named guile-db, which refers to a Berkeley DB wrap for Guile. Do someone know if it is active? If there is a repository or web page? I tried the maintainer and author e-mails with no success. Regards Betoes