bug-gnulib
[Top][All Lists]
Advanced

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

Re: [netcf-devel] Re: netcf - anyone here for an "other operating system


From: Eric Blake
Subject: Re: [netcf-devel] Re: netcf - anyone here for an "other operating system (but not (Solaris))"
Date: Tue, 1 Nov 2016 09:52:28 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

[re-adding gnulib; please remember to reply all]

On 11/01/2016 09:16 AM, Michael Felt wrote:
>> [adding gnulib]
>>

>> Can you figure out which sed script in the bootstrap script is
>> triggering this extra output, and/or provide the edits that work for
>> you, as you hinted above?
> In get_version() the sed script includes lots of white space before the #. 
> Bringing the 15 following lines back to the beginning of the line allows this 
> to run (longer).
> get_version() {
>   app=$1
> 
>   $app --version >/dev/null 2>&1 || { $app --version; return 1; }
> 
>   $app --version 2>&1 |
>   sed -n '# Move version to start of line.
> s/.*[v ]\([0-9]\)/\1/
> 
> # Skip lines that do not start with version.

Indeed, and the autoconf manual warns about this:

> Sed scripts should not use branch labels longer than 7 characters and
> should not contain comments; AIX 5.3 sed rejects indented comments.

Which AIX version are you using? Does the autoconf text need to be
updated to mention a more modern version number? Meanwhile, it sounds
like gnulib's bootstrap should be patched to avoid non-portable sed
comments, then netcf updated to use the newer gnulib version.

> 
> In the end, while it finds my GNU m4, it still complains that it is not a GNU 
> m4.

Which version of GNU m4?  There are some particular m4 bugs in some
older versions that kill configure scripts, so the bootstrap script
intentionally blacklists m4 versions with those bugs.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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