On Wed, 24 Oct 2012 17:11:35 +1100, Lex Trotman <[email protected]> wrote:
> Hi Stuart,
> 
> Was just installing asciidoc on a new machine from hg.  Configure fails
> with a message:
> 
> configure: error: cannot find install-sh, install.sh, or shtool in "."
> "./.." "./../.."
> 
> This appears to be [expletive deleted] by the autotools [expletive deleted]
> developers that now requires that script to be present even if it isn't
> used.
> http://www.gnu.org/software/autoconf/manual/autoconf.html#Alternative-Programs
>  AC_PROG_INSTALL.
> 
> Just touching install-sh was enough for it to work (it actually uses the
> system install program, not the shell script) but as I read the link above
> we are now required to include the install-sh distributed with autoconf in
> the applications directory.

It says:

   If you use AC_PROG_INSTALL, you must include either install-sh or
   install.sh in your distribution; otherwise configure produces an error
   message saying it can't find them, even if the system you're on has a
   good install program. This check is a safety measure to prevent you
   from accidentally leaving that file out, which would prevent your
   package from installing on systems that don't have a BSD-compatible
   install program.

so it even says why. Somewhere there is a system where it will be used,
if it works. Autotools is about being able to build on systems that are
ancient, hybrid, or just plain weird. I think it's behaving as designed
and that the design makes sense.

I also think that you can't expect configure to work in a brand-new
checkout unless the project explicitly says that it will (in which case
the project is fine with checking in built files, like configure). There
is almost always a need for some sort of "prepare" step.

Sorry for rant, touched a nerve.

Eric
-- 
ms fnd in a lbry

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to