bug-coreutils
[Top][All Lists]
Advanced

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

Re: problem building on AIX 4


From: Jim Meyering
Subject: Re: problem building on AIX 4
Date: Wed, 11 Jun 2008 08:12:08 +0200

Bruno Haible <address@hidden> wrote:
> Hi,
>
> I'm trying to build coreutils-6.12.29-a16be on AIX 4.3.2. It was built
> with autoconf 2.62.
>
> $ ./configure
> ...
> $ make
> "Makefile", line 541: make: 1254-055 Dependency line needs colon or double 
> colon operator.
> "Makefile", line 542: make: 1254-055 Dependency line needs colon or double 
> colon operator.
> ...
> make: 1254-058 Fatal errors encountered -- cannot continue.
...
> The problem lies in the second MAN assignment in configure.ac:
>
> MAN=`for m in $MAN; do test $m = ginstall.1 && m=install.1; echo $m; done \
>   | tr '\015\012' ' '; echo`
>
> On Linux:
> $ MAN="abc.1 def.1 "; for m in $MAN; do echo $m; done | tr '\015\012' ' '; 
> echo
> abc.1 def.1
>
> On AIX:
> $ MAN="abc.1 def.1 "; for m in $MAN; do echo $m; done | tr '\015\012' ' '; 
> echo
> abc.1
> def.1
>
> The fix is to change the second argument of the 'tr' command from a single
> space to a double space; then it works.
>
> 2008-06-10  Bruno Haible  <address@hidden>
>
>       * configure.ac: Fix unportable invocation of 'tr', introduced on
>       2008-04-22.

Thanks for testing and tracking that down.
I've applied your patch.




reply via email to

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