From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.lisp.guile.user Subject: Re: guile-db Date: Mon, 20 Oct 2008 09:11:31 +0000 Message-ID: <63nnaaws.fsf@vps203.linuxvps.org> References: <1224013004.4370.5.camel@localhost> <3ae3aa420810141338o20adfbd4p5d9e6da4d5dc4226@mail.gmail.com> <3ae3aa420810151215y769f51efgea70d31d3e31bc12@mail.gmail.com> <3ae3aa420810161611y3e5a887bka51bd32074e2f51b@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224518416 7611 80.91.229.12 (20 Oct 2008 16:00:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 16:00:16 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Oct 20 18:01:12 2008 connect(): Connection refused Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Krr33-0003Vh-IB for guile-user@m.gmane.org; Mon, 20 Oct 2008 11:27:37 +0200 Original-Received: from localhost ([127.0.0.1]:35630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Krr1w-0002Me-TI for guile-user@m.gmane.org; Mon, 20 Oct 2008 05:26:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Krqnw-0004yP-Ai for guile-user@gnu.org; Mon, 20 Oct 2008 05:12:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Krqns-0004wO-Ea for guile-user@gnu.org; Mon, 20 Oct 2008 05:11:58 -0400 Original-Received: from [199.232.76.173] (port=41201 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Krqnq-0004w5-Ap for guile-user@gnu.org; Mon, 20 Oct 2008 05:11:55 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:46942 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Krqnp-0006dH-Tr for guile-user@gnu.org; Mon, 20 Oct 2008 05:11:54 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Krqnf-00066U-3h for guile-user@gnu.org; Mon, 20 Oct 2008 09:11:43 +0000 Original-Received: from vps203.linuxvps.org ([91.186.7.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Oct 2008 09:11:43 +0000 Original-Received: from sebyte by vps203.linuxvps.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Oct 2008 09:11:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: vps203.linuxvps.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:hZL5aPoS4CLRodf073WYLq/2nzc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6837 Archived-At: Quoth 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 > (because the ability was only deprecated at this stage), but guile-1.8 > definitely no longer has this ability. > > 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 like myself. ttn's convenience modules are no doubt useful, but perhaps a higher priority for the future of Guile and Postgres is to update the 'standard' guile-pg (currently shipped by Debian depending on guile-1.6) so that it no longer depends on 1.6 and ceases to use procedures deprecated under 1.8. At the moment, there is no out-of-the-box guile-1.8/guile-pg solution, which strikes me as unfortunate. ttn notes that he took over maintainership of guile-pg from the author Ian Grant in 1999. I've written to Sam Hocevar (the Debian package maintainer of guile-pg) to see who he believes the upstream maintainer to be). Seb