GNU bug report logs - #12156
bad tr command in SP2NL/NL2SP?

Previous Next

Package: libtool;

Reported by: David Fang <fang <at> csl.cornell.edu>

Date: Wed, 8 Aug 2012 00:39:02 UTC

Severity: normal

Full log


Message #8 received at 12156 <at> debbugs.gnu.org (full text, mbox):

From: David Fang <fang <at> csl.cornell.edu>
To: 12156 <at> debbugs.gnu.org
Subject: Re: bug#12156: Acknowledgement (bad tr command in SP2NL/NL2SP?)
Date: Tue, 7 Aug 2012 22:13:50 -0400 (EDT)
I opened up a libtool script from a working build on a linux machine and 
saw:

# turn spaces into newlines.
SP2NL="tr \\040 \\012"

# turn newlines into spaces.
NL2SP="tr \\015\\012 \\040\\040"

I pasted-replaced that into the broken libtool script on darwin10.
I cleaned all .la files to remake them, and all of the above problems went 
away.

So I guess an ugly temporary workaround is to patch the 
configure-generated libtool script between configure && make?

Fang

-- 
David Fang
http://www.csl.cornell.edu/~fang/





This bug report was last modified 13 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.