[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch to check for required programs when building from source check
From: |
Ed Avis |
Subject: |
Re: Patch to check for required programs when building from source checkout |
Date: |
Fri, 10 Oct 2008 19:12:00 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Jim Meyering <jim <at> meyering.net> writes:
>>A few tools are required to build coreutils from a git checkout, but
>>not checked in a friendly way.
>The newer automake-1.10a is actually required.
Ah, ok, it could do with a comment because at first it appears that 1.10.1
should be newer than 1.10a.
[checks for autopoint, aclocal, and makeinfo]
>I like the idea of automating these checks, but can't use those changes
>as-is, since bootstrap is actually used more generally (it's home is in
>gnulib/build-aux/)
If you can't change the bootstrap script, then maybe include it as
bootstrap.vanilla and then bootstrap is a small script that checks for the
extra tools and then runs bootstrap.vanilla.
>Besides, this is the purpose of the README-hacking file.
Yes, well, guilty as charged I admit ;-p. But it is nicer to have a more user-
friendly build process (failing earlier rather than later). I am sure that the
inclusion of a friendly 'configure' script has helped the popularity of GNU
programs through the years, and now that git and other DVCSes are replacing
tarballs as the normal means of getting source code, it would be good to
preserve that property.
>>-for file in $gnulib_files; do
>>- symlink_to_dir "$GNULIB_SRCDIR" $file || exit
>>-done
>>+if test "x$gnulib_files" != x; then
>>+ for file in $gnulib_files; do
>>+ symlink_to_dir "$GNULIB_SRCDIR" $file || exit
>>+ done
>>+fi
>
>What's the above for?
>When would $gnulib_files be empty?
It got empty when one of the dependencies above was missing, I don't remember
which one. If it is empty, then 'for file in ;do' is a shell syntax error.
>gperf should not be required when building from a tarball,
>so its absence shouldn't make configure fail.
OK, that's another thing better checked in the bootstrap script.
--
Ed Avis <address@hidden>
- Patch to check for required programs when building from source checkout, Ed Avis, 2008/10/04
- Re: Patch to check for required programs when building from source checkout, Jim Meyering, 2008/10/05
- Re: Patch to check for required programs when building from source checkout,
Ed Avis <=
- Re: Patch to check for required programs when building from source checkout, Jim Meyering, 2008/10/14
- Re: Patch to check for required programs when building from source checkout, Pádraig Brady, 2008/10/14
- Message not available
- Message not available
- Re: Patch to check for required programs when building from source checkout, Jim Meyering, 2008/10/17
- Re: Patch to check for required programs when building from source checkout, Pádraig Brady, 2008/10/17
- Re: Patch to check for required programs when building from source checkout, Jim Meyering, 2008/10/18
- Re: Patch to check for required programs when building from source checkout, Pádraig Brady, 2008/10/21
- Re: Patch to check for required programs when building from source checkout, Pádraig Brady, 2008/10/21
- Re: Patch to check for required programs when building from source checkout, Eric Blake, 2008/10/21
- Re: Patch to check for required programs when building from source checkout, Pádraig Brady, 2008/10/22
- Re: Patch to check for required programs when building from source checkout, Jim Meyering, 2008/10/22