Farid Zaripov wrote:
-----Original Message-----
From: Martin Sebor [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 08, 2007 1:47 AM
To: [email protected]
Subject: Re: Cygwin libc_decl.sh script error
Scott Zhong wrote:
Windows XP with Cygwin DLL 1.5.24-2
GNU GCC 4.1.1
checking if the compiler is sane ok
(invoked with gcc)
checking if the linker is sane ok
(invoked with gcc)
checking system architecture ILP32
little endian
: command not found/stdcxx/etc/config/src/libc_decl.sh: line 39:
What's on your line 39? The line is empty in both 4.1.3 and
trunk which makes me suspect that either your local copy is
corrupted or your Cygwin installation may be broken or incomplete.
The problem is in that the bash requires the script files in unix
format,
but this files have the dos format on windows.
What Subversion client did you (and Scott) use to sync down
the files? I suspect the Windows svn client uses native line
ends while the Cygwin client uses UNIX line ends.
All you need is convert *.sh files to unix format using dos2unix
utility.
Changes are commited thus:
http://svn.apache.org/viewvc?view=rev&rev=516404
This is probably the best solution.
Thanks for taking care of it!
Martin