From: Rob Browning <rlb@defaultvalue.org>
Cc: guile-devel@gnu.org
Subject: Re: Any opposition to changing share/guile/X.Y.Z to share/guile/X.Y?
Date: Wed, 13 Nov 2002 11:20:37 -0600 [thread overview]
Message-ID: <87d6p9xu6y.fsf@raven.i.defaultvalue.org> (raw)
In-Reply-To: <xy765v1qx6c.fsf@linnaeus.i-did-not-set--mail-host-address--so-shoot-me> (Mikael Djurfeldt's message of "13 Nov 2002 10:58:03 -0500")
Mikael Djurfeldt <mdj@kvast.blakulla.net> writes:
>> For Debian at least I was packaging things for now so that you can
>> only have one guile-X.Y-dev package installed at a time. To do
>> anything different would require more upstream changes (including the
>> above), and until/unless that happens, people should be able to get by
>> by just switching out the -dev packages.
>
> Are you sure, considering what I wrote above?
Yes (depending on what you mean) because the -dev package on a Debian
system is the one that contains the .so links, so it dictates which
library you'll get when you say -lfoo if there's more than one
candidate available.
It won't help with your /usr/lib vs /usr/local/lib problem, though.
Putting the major number in the library name is how you'd have to fix
that.
Note that if you wanted (as you suggested above) to allow two micro
revisions to be installed in parallel for debugging, we'd have to go
so far as to put the full version into the library name,
i.e. libguile-12.0.1.so or similar, and I would argue fairly strongly
against that. With the full version in the library name, all apps
compiled against guile would have to be recompiled when we make *any*
guile release, even just a micro revision. It's possible you could
avoid that with symlink tricks or similar, but I'd be much more
comfortable, if we do anything, with just putting the soname in the
library name, and not planning to support parallel installs of micro
revisions.
Of course I don't actually have a good answer, other than "remove the
.so symlinks" (i.e. the -dev pkg on a debian system) to the question
of how on any given platform you can actually test/develop a minor
guile revision that's different from the one in /usr/lib when you also
have to use other foo-config tools that might insert -L/usr/lib into
random places on the gcc command line, but this is not a problem
specific to guile. It's a broader foo-config/unix-model problem.
pkg-config may be able to help here, and gcc could fix the problem if
it supported --push-flags and --pop-flags args, but AFAIK neither fix
is available yet. We might be able to solve this problem by putting
all our libs into /usr/lib/guile/VERSION/ so that you have to specify
a -L flag to get anything, but then you've got the ld.so.conf problem,
and I agree with Marius that we're probably better off sticking with
the normal unix mechanisms and perhaps trying to help come up with a
better answer "upstream" if possible.
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2002-11-13 17:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 17:47 Any opposition to changing share/guile/X.Y.Z to share/guile/X.Y? Rob Browning
2002-11-12 18:56 ` Mikael Djurfeldt
2002-11-12 20:54 ` Rob Browning
2002-11-13 15:58 ` Mikael Djurfeldt
2002-11-13 17:20 ` Rob Browning [this message]
2002-11-13 18:56 ` Rob Browning
2002-11-13 19:33 ` Mikael Djurfeldt
2002-11-13 19:53 ` Rob Browning
2002-11-14 17:14 ` tomas
2002-11-12 21:10 ` Andreas Rottmann
2002-11-12 22:12 ` Neil Jerram
2002-11-12 22:40 ` 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=87d6p9xu6y.fsf@raven.i.defaultvalue.org \
--to=rlb@defaultvalue.org \
--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).