On Sun, Nov 30, 2008 at 04:33:58PM +0100, Olivier BERTEN wrote:
> I try building gregorio and autoreconf gives me this error:
>
> [...]
>
> I don't understand why it's trying to connect to cvs...
/!\ Disclaimer: not safe for children /!\
All this crap happens because of gettext/autotools not being friendly to each
other. Apparently aclocal (which is responsible for most of the m4 stuff) has
no way to know whether gettext is used. Therefore autotools people hacked
another application whose purpose is to find this out and install gettext
macros: autopoint.
Autopoint greps configure.ac for AM_GNU_GETTEXT_VERSION to determine which
gettext version should be used. Then it uncompresses
/usr/share/gettext/archive.tar.gz. This tarball contains a CVS repository
providing many different versions of gettext scripts. This is why autopoint
requires cvs to be present on your system.
Here is what you can find in /usr/bin/autopoint:
--- 8< ---
# We distribute the many different versions of the files in a CVS repository.
# This guarantees a good compression rate:
#
# Including version size in KB of
# "du autopoint-files/archive"
# 0.10.35 240
[...]
# 0.16.1 1812
# 0.17 2128
#
# The requirement that the user must have the CVS program available is not
# a severe restrictions, because most of the people who use autopoint are
# users of CVS.
--- 8< ---
If anybody still believes that autotools are not evil after this quote, I don't
know what to do to convince them.
Cheers,
--
Jérémie
/* Steinbach's Guideline for Systems Programming:
``Never test for an error condition
you don't know how to handle.'' */
_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel