unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#11451: guile-2.0.5, guile-tools does not honor --program-suffix=
@ 2012-05-11 12:14 Cyprien Nicolas
  2012-05-14 17:22 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Cyprien Nicolas @ 2012-05-11 12:14 UTC (permalink / raw)
  To: 11451

Hello guilers,

I'm working on provinding guile-2.0 in Gentoo. We choose to provide both
guile-1.8 and guile-2.0, as some programs have not been ported to
guile-2.0 (and some seems to have dead upstream).

In order to have both versions installed in /usr at the same
time, I make use of --program-suffix=-${MAJOR} during configure (MAJOR
being either 1.8 or 2.0). We provide a script that create symlinks for
guile binaries targeting either 1.8 or 2.0, update environment
(GUILE_LOAD_PATH), and even a symlink for the manpage.
This almost work out of the box, except for guile.m4, which is renamed
to guile-${MAJOR}.m4 at install time, and a symlink is handled by the
above script.


Two days ago, I tried to bump our guile ebuild from 2.0.1 to 2.0.5,
and I notice that guile-tools was renamed to guild. Well, this is not an
issue, I just have to update the above cited script to make the right links.


My issue is that the build system provides a symlink 'guile-tools' which
points to guild-2.0. And that symlink does not respect
--program-suffix=, thus our package manager complains about guile-tools
already existing in the installation directory.

I see two possibilities from here :
- make that symlink honoring --program-suffix;
- add a build option to tell the configure script that I don't want that
symlink (it will be created by our script).


Thanks

-- 
,Cyprien





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#11451: guile-2.0.5, guile-tools does not honor --program-suffix=
  2012-05-11 12:14 bug#11451: guile-2.0.5, guile-tools does not honor --program-suffix= Cyprien Nicolas
@ 2012-05-14 17:22 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2012-05-14 17:22 UTC (permalink / raw)
  To: Cyprien Nicolas; +Cc: 11451-done

Hi Cyprien,

I believe this is fixed by commit
3742d778fbc6ea879437c19aeebe09179dceffdf in branch ‘stable-2.0’.

Thanks!

Ludo’.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-14 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-11 12:14 bug#11451: guile-2.0.5, guile-tools does not honor --program-suffix= Cyprien Nicolas
2012-05-14 17:22 ` Ludovic Courtès

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).