From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: packaging the add-on libs... Date: 10 Oct 2002 08:51:24 -0400 Sender: guile-devel-admin@gnu.org Message-ID: References: <87vg4aevgx.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034254500 14447 127.0.0.1 (10 Oct 2002 12:55:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2002 12:55:00 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17zcqA-0003kj-00 for ; Thu, 10 Oct 2002 14:54:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zcpL-0002w8-00; Thu, 10 Oct 2002 08:54:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17zcoM-00021p-00 for guile-devel@gnu.org; Thu, 10 Oct 2002 08:53:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17zcmj-000876-00 for guile-devel@gnu.org; Thu, 10 Oct 2002 08:52:15 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zcmi-00085i-00 for guile-devel@gnu.org; Thu, 10 Oct 2002 08:51:25 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 66D9A3C8F; Thu, 10 Oct 2002 08:51:24 -0400 (EDT) Original-To: Rob Browning In-Reply-To: Rob Browning's message of "Thu, 10 Oct 2002 00:03:42 -0500" Original-Lines: 42 X-Mailer: Gnus v5.7/Emacs 20.7 Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1510 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1510 Putting the guile version in the name makes sense to me, and I'd go so far as to think about making libguile.a be libguile16.a. Given how many things link to guile 1.4 (e.g. gnomeish stuff), it seems critical to make it easy for package systems to install both guile14 and guile16, and that therefore these must have totally disjoint sets of files, with the possible exception of the guile-config link to guile16-config. A nice guile.m4 to find the 'right' version might also be an exception. IIRC {Free,Net}BSD took this approach when packaging glib, so that glib10 and glib12 could coexist. Now, glib-2.0 (which is to glib 1.2 as guile 1.6 is to 1.4, more or less, I think) has a different name: > l /usr/pkg/lib/libglib* -rw-r--r-- 1 root wheel 497840 Jun 20 15:27 /usr/pkg/lib/libglib-2.0.a -rwxr-xr-x 1 root wheel 774 Jun 20 15:27 /usr/pkg/lib/libglib-2.0.la lrwxr-xr-x 1 root wheel 18 Jun 20 15:27 /usr/pkg/lib/libglib-2.0.so -> libglib-2.0.so.0.1 lrwxr-xr-x 1 root wheel 18 Jun 20 15:27 /usr/pkg/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.1 -rwxr-xr-x 1 root wheel 430869 Jun 20 15:27 /usr/pkg/lib/libglib-2.0.so.0.1 -rw-r--r-- 1 root wheel 183560 Nov 21 2001 /usr/pkg/lib/libglib.a -rwxr-xr-x 1 root wheel 733 Nov 21 2001 /usr/pkg/lib/libglib.la lrwxr-xr-x 1 root wheel 16 Nov 21 2001 /usr/pkg/lib/libglib.so -> libglib.so.13.10 lrwxr-xr-x 1 root wheel 16 Nov 21 2001 /usr/pkg/lib/libglib.so.13 -> libglib.so.13.10 -rwxr-xr-x 1 root wheel 151468 Nov 21 2001 /usr/pkg/lib/libglib.so.13.10 It's kludgy for packagers to add this, and causes extra differences, where if guile itself does it, it is just the way the world is and will be the same everywhere. On the other hand, putting all the dependent libs in $(prefix)/libexec/guile/1.6/ also seems quite sensible to me, as long as they are dlopened with an absolute path and no one is asked to put this in LD_LIBRARY_PATH :-) Following the path of the P crowd seems somewhat sensible, especially if there hasn't been large amounts of pain from that approach. But this still leaves the issue of libguile.a, which currently would collide on my NetBSD system if I had 1.4 and 1.6 in the same prefix. It is necessary to have both installed for compiling with, not just running, since people need to be able to build programs from source that link against older guile versions. Greg Troxel _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel