From: Greg Troxel <gdt@ir.bbn.com>
Cc: guile-devel@gnu.org
Subject: Re: packaging the add-on libs...
Date: 11 Oct 2002 16:37:29 -0400 [thread overview]
Message-ID: <rmid6qgogom.fsf@fnord.ir.bbn.com> (raw)
In-Reply-To: Rob Browning's message of "Fri, 11 Oct 2002 13:26:17 -0500"
It's not just the compilation issue. To take your libc example, the
issue in question is what happens if app blarg uses both libfoo1 and
libbar1, and both of these are compiled against libc6, and then libc7
comes out. Say shortly thereafter libfoo2 comes out, compiled against
libc7. If blarg is now recompiled, it'll get libfoo2 and libbar1 and
hence will be indirectly linked against both libc6 and libc7
until/unless a new libfoo comes out that's linked against libc7.
Is the answer "well, then blarg will just have a potential problem
until libbar is updated"?
I don't think we can solve everything. But here, if one rebuilds all
the packages from source, libbar1 will get linked against libc7 and
things will be ok.
The transition period would consist of the time between when a new
libguileX comes out, and when all the "add-on libs" that depend on the
old version of libguile are rebuilt against the new version of guile.
Actually it's only the add-on libs that are actually used by some
other app or lib that also uses some other add-on lib that cause
trouble, but we can't predict that.
A bit of pain while guile add-ons are revved is one thing, but I would
really like to avoid pain on guile-using apps, since they'll just
stop. guile add-on writers are guile weenies who will not give up so
easily.
glib's only a good example if you consider it in a broader context.
Imagine after glib 2.0 is released, libgnome-vfs has been upgraded to
compile against glib 2.0 but libgnome-print has not. Where does this
leave evolution when it recompiles (presuming it links against both
libs)?
This leaves evolution broken, I think. I think the gnome folks may
create libgnome-vfs2, so that gnome2 apps can use that, and the older
apps can use libgnome-vfs. As an example, orbit2 uses glib 2.0, so
when switching from glib 1.2 to glib 2.0, one switches to orbit2.
This would be easier if f.i. guile-gtk went under
$(prefix)/share/guile/1.6 rather than $(prefix)/share/guile directly.
But, I don't think such add-ons are super critical in terms of total
pain and worry about guile market share loss.
I agree that the problem is not completely solveable. But, I think
the real question is
What can guile do that minimizes pain to people who write
applications using guile, and people that maintains
pkgsrc/ports/deb/rpm of such programs and guile itself.
(For what it's worth, I have guile 1.6 installed in /usr/projectname
for a project I'm working on that uses a guile-gtk GUI to monitor
things. This doesn't conflict with /usr/pkg/bin/guile, which is 1.4
for gnome etc., as long as I use the change to look up helper libs at
absolute pathnames. But a different prefix isn't ok for NetBSD's
pkgsrc, and I bet it's not ok for Debian either.)
Greg Troxel <gdt@ir.bbn.com>
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2002-10-11 20:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-10 5:03 packaging the add-on libs Rob Browning
2002-10-10 7:12 ` tomas
2002-10-10 15:22 ` Rob Browning
2002-10-11 9:41 ` tomas
2002-10-11 15:59 ` Rob Browning
2002-10-14 11:34 ` tomas
2002-10-11 16:14 ` Rob Browning
2002-10-11 17:10 ` Greg Troxel
2002-10-11 18:26 ` Rob Browning
2002-10-11 20:37 ` Greg Troxel [this message]
2002-10-10 12:51 ` Greg Troxel
2002-10-10 15:37 ` Rob Browning
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rmid6qgogom.fsf@fnord.ir.bbn.com \
--to=gdt@ir.bbn.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).