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: Wed, 22 Oct 2008 09:18:19 +0000 Message-ID: References: <1224013004.4370.5.camel@localhost> <3ae3aa420810141338o20adfbd4p5d9e6da4d5dc4226@mail.gmail.com> <3ae3aa420810151215y769f51efgea70d31d3e31bc12@mail.gmail.com> <3ae3aa420810161611y3e5a887bka51bd32074e2f51b@mail.gmail.com> <63nnaaws.fsf@vps203.linuxvps.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1224667445 22160 80.91.229.12 (22 Oct 2008 09:24:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2008 09:24:05 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Oct 22 11:25:06 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 1KsZxT-0006YX-FR for guile-user@m.gmane.org; Wed, 22 Oct 2008 11:24:51 +0200 Original-Received: from localhost ([127.0.0.1]:53066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsZwN-0006kd-OQ for guile-user@m.gmane.org; Wed, 22 Oct 2008 05:23:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsZrV-00059N-8z for guile-user@gnu.org; Wed, 22 Oct 2008 05:18:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsZrT-00058y-QZ for guile-user@gnu.org; Wed, 22 Oct 2008 05:18:40 -0400 Original-Received: from [199.232.76.173] (port=57806 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsZrT-00058t-Iq for guile-user@gnu.org; Wed, 22 Oct 2008 05:18:39 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:37034 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 1KsZrS-0001gV-W3 for guile-user@gnu.org; Wed, 22 Oct 2008 05:18:39 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KsZrI-0001V4-IF for guile-user@gnu.org; Wed, 22 Oct 2008 09:18:28 +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 ; Wed, 22 Oct 2008 09:18:28 +0000 Original-Received: from sebyte by vps203.linuxvps.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 09:18:28 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 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:b4pYN5AXqZeWzdDcUdEVi+xT2qY= 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:6841 Archived-At: Quoth Greg Troxel : > It's less work to write the wrapper to ttn's version. Quoth : > ---- Clinton Ebadi 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 which, if I am >> remembering how the autoloading magic works, it has to. This is >> definitely something that anyone could do (just find the guile-pg init >> function and export every scm_define_gsubr etc.). > > 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 C code against a 1.8 Guile. Thanks Dale. I felt certain that it wasn't as straight forward as Greg suggests, having a vague memory of reading an earlier thread in which this was diuscussed. > 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. > The sourceforge version appears to be vanishing. The 'sourceforge version'? > I switched pkgsrc to ttn's version long ago. Please can you clarify what you mean by this? Are you saying there's a Debian package of ttn's guile-pg? Sebastian