From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.lisp.guile.user Subject: Re: guile-db Date: Mon, 20 Oct 2008 15:25:25 -0400 Message-ID: <7808465.735531224530726043.JavaMail.root@cdptpa-web21-z01> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224539606 28271 80.91.229.12 (20 Oct 2008 21:53:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2008 21:53:26 +0000 (UTC) Cc: guile-user@gnu.org, Sebastian Tennant To: Clinton Ebadi Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Oct 20 23:54:26 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 1Ks0P6-0004p8-Dr for guile-user@m.gmane.org; Mon, 20 Oct 2008 21:27:00 +0200 Original-Received: from localhost ([127.0.0.1]:35480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks0O0-0007RE-Qz for guile-user@m.gmane.org; Mon, 20 Oct 2008 15:25:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ks0Ng-0007Pr-OX for guile-user@gnu.org; Mon, 20 Oct 2008 15:25:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ks0Nb-0007Ma-Ra for guile-user@gnu.org; Mon, 20 Oct 2008 15:25:31 -0400 Original-Received: from [199.232.76.173] (port=34907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ks0Nb-0007MM-LB for guile-user@gnu.org; Mon, 20 Oct 2008 15:25:27 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.121]:46813) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ks0Nb-0008Fs-BM for guile-user@gnu.org; Mon, 20 Oct 2008 15:25:27 -0400 Original-Received: from cdptpa-web21-z01 ([10.127.132.112]) by cdptpa-smta01.mail.rr.com with ESMTP id <20081020192525.GYMJ20942.cdptpa-smta01.mail.rr.com@cdptpa-web21-z01>; Mon, 20 Oct 2008 19:25:25 +0000 X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 66.178.229.162 by webmail.roadrunner.com; Mon, 20 Oct 2008 19:25:25 +0000 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) 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:6839 Archived-At: ---- 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. -Dale