bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33305: Guile's Autoconf macros play not well with make distcheck


From: David Pirotte
Subject: bug#33305: Guile's Autoconf macros play not well with make distcheck
Date: Sat, 10 Nov 2018 18:20:47 -0200

Hello Mark,

        disclaimer: I'm not a Guile maintainer, just giving you my personal
        opinion here

> Consider an Autotools project that eventually wants to install some Guile
> modules in the system. The canonical way to do this seems to add
> GUILE_SITE_DIR to ...

> However, this doesn't honor --prefix settings; in particular, make
> distcheck fails for non-root users; see here for a general discussion:

The guile.m4 macros are not meant to (and shouldn't) honor variables such as
--prefix, that is the responsibility of the (autotool based) project author. The
guile.m4 macros and variables that it defines provide (and meant to only 
provide)
information about 'the Guile' that is 'visible' to your project (at configure 
and
make time ...).

There are solution though, here is an example of what I do [1].

> P.S.: There is one more issue with guile.m4: When it finds the program
> guile-2.2, it only searches for guild-2.2, but not for guild. However, at
> least on Ubuntu systems, there is only guild, but no guild-2.2.

That is expected, because 'guild' could point to 'another Guile' ... either it 
is an
Ubuntu problem, either guild was not properly post-fixed as requested, not 
sure, one
would have to check ...

HTH,
David

1]      http://git.savannah.nongnu.org/cgit/guile-lib.git/tree/

        [ see the configure.ac, Makefile.am and am/guile.mk ...
        [ I suggest you clone and try it (you'll need to run ./autogen.sh first)
        [ try with no option, then only using --prefix, then using both --prefix
        [ and --with-guile-site=yes 

Attachment: pgpTARUYX4eqP.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]