From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Managing Guile and extensions versions Date: Wed, 28 Sep 2005 09:10:46 +0200 Organization: LAAS-CNRS Message-ID: <87d5mtis5l.fsf_-_@laas.fr> References: <6efab235050925145055ba774c@mail.gmail.com> <873bns2f26.fsf@laas.fr> <6efab2350509261220665afe20@mail.gmail.com> <87br2ezyth.fsf@laas.fr> <6efab235050927035441b39b85@mail.gmail.com> <874q86qzuk.fsf@laas.fr> <6efab235050927101826b2da7d@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1127892515 18458 80.91.229.2 (28 Sep 2005 07:28:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Sep 2005 07:28:35 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Sep 28 09:28:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EKWMA-0002Nm-GU for guile-user@m.gmane.org; Wed, 28 Sep 2005 09:27:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKWM9-0008D5-Ai for guile-user@m.gmane.org; Wed, 28 Sep 2005 03:27:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EKWGS-0007QO-AS for guile-user@gnu.org; Wed, 28 Sep 2005 03:22:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EKWGN-0007Py-2D for guile-user@gnu.org; Wed, 28 Sep 2005 03:22:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EKWG4-00073q-Uz for guile-user@gnu.org; Wed, 28 Sep 2005 03:21:41 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EKW7Q-0004rO-F9 for guile-user@gnu.org; Wed, 28 Sep 2005 03:12:44 -0400 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id j8S7CLIW007905; Wed, 28 Sep 2005 09:12:21 +0200 (CEST) Original-To: Vorfeed Canal X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 7 =?iso-8859-1?Q?Vend=E9miaire?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Vorfeed Canal , guile-user@gnu.org In-Reply-To: <6efab235050927101826b2da7d@mail.gmail.com> (Vorfeed Canal's message of "Tue, 27 Sep 2005 21:18:30 +0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS 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:4796 Archived-At: Hi, Vorfeed Canal writes: > Of course it must - how else can it load them ? With my patch it knows > about few default places and can be instructed about other places in > nice shemely way. Yes, your patch seems to be one possible solution. However, why not use `pkglibdir' (versionizing it) which you mentioned in earlier posts instead of this new directory? The other thing needed, which you also mentioned earlier, is to have a versionized site directory. I've actually always wondered why this one was not versioned. >> This is true I guess, because `dynamic-link' doesn't allow to specify >> version info. _This_ is an issue and maybe this procedure could be >> fixed by allowing the user to pass Libtool-like version information. > > This is one solution. And IMO not the best solution. That's a solution to one of the two problems, the two problems being: 1. Separating C libraries that are written for different versions of Guile, allowing to have versions of the same extension written for different Guile versions to coexist; 2. Allowing to have different versions of a given extension for a same version of Guile. Your patch addresses (1). This `dynamic-link' thing could be used to address (2). It could be used to address (1) instead, but certainly not both of them. Anyway, we'd first need `libltdl' to allow for such things. I started to ask the Libtool people about this: http://lists.gnu.org/archive/html/libtool/2005-09/msg00118.html . Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user