From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.devel Subject: Re: packaging the add-on libs... Date: Fri, 11 Oct 2002 11:41:50 +0200 Sender: guile-devel-admin@gnu.org Message-ID: <20021011094150.GA3235@www> References: <87vg4aevgx.fsf@raven.i.defaultvalue.org> <20021010071246.GA29109@www> <87lm56co8t.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034350743 23315 127.0.0.1 (11 Oct 2002 15:39:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 15:39:03 +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 1801sT-00063m-00 for ; Fri, 11 Oct 2002 17:39:01 +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 1801Iu-0001AO-00; Fri, 11 Oct 2002 11:02:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1801IA-0000tv-00 for guile-devel@gnu.org; Fri, 11 Oct 2002 11:01:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1801I5-0000s9-00 for guile-devel@gnu.org; Fri, 11 Oct 2002 11:01:28 -0400 Original-Received: from gnudist.gnu.org ([199.232.41.7]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17zykS-0005lz-00 for guile-devel@gnu.org; Fri, 11 Oct 2002 08:18:32 -0400 Original-Received: from www.elogos.de ([212.18.192.92]) by gnudist.gnu.org with esmtp (Exim 4.10) id 17zw2B-0000qi-00 for guile-devel@gnu.org; Fri, 11 Oct 2002 05:24:40 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 6F1771049B8; Fri, 11 Oct 2002 11:41:50 +0200 (CEST) Original-To: Rob Browning Content-Disposition: inline In-Reply-To: <87lm56co8t.fsf@raven.i.defaultvalue.org> User-Agent: Mutt/1.3.24i 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:1526 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1526 On Thu, Oct 10, 2002 at 10:22:42AM -0500, Rob Browning wrote: > tomas@fabula.de writes: > [...] > It's been stated that we're going to keep all the directly linkable > libs in the "normal place". Yes, I know (that's why I know I was taking risks ;-). I felt uneasy then and still feel uneasy abut it (see below). > That means /usr/lib, and that would apply > to all the add-on libs so far (i.e. we don't have any non-directly C > linkable) add-on libs right now. > > I guess you could argue for a versioned directory for any new shared > libs that aren't supposed to be directly linkable by any other apps or > libs. Yes, kind of. Only that I'd substitute ``that aren't supposed to be directly linkable by'' for ``that have to go with guile to be linked by...'' In other words, if you need guile in conjunction with libfoo, then libfoo has no business in /usr/lib or /usr/local/lib -- but rather in /usr/lib/guile/1.6/ (or something like that). IMHO, of course. [snip] > These libraries *have* to care about which guile version they're > linked against. For example, libguile-srfi-srfi-4-v-1 *has* to be > linked against libguile12 so it can use even primitive operations like > car and cdr. And of course libguile12 depends intimately on the > particular source in ice-9/ that it comes with. There's no such thing > as a stand-alone guile module/shared-lib. If they don't depdend on > libguileX, they can't *do* anything -- no car, no cdr, no GC, etc. Well -- one could imagine (say) some regexp library or some DBM library which is delivered with guile but would make sense as a stand-alone. If it's possible to keep the glue code separate, it might be possible to make it guile-independent (my hazy memory suggests SDBM from Perl as an example, but may be I'm forgetting important bits here). Regards -- tomas _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel