[BUG] Installation problem on cygwin

2006-04-03 Thread Yann Coscoy


Distribution: openssl-0.9.8a.tar.gz
System: Cygwin

Short description:
When command "./config" is executed, the protocols mdc2 and rc5 are not 
excluded in produced Makefile as it should be.

The command "make build_crypto build_engines" which follows fails.

Technical Description:
The script 'Configure' (line 1253) uses 'chop' function to suppress 
end-of-line characters. Unfortunalety under cygwin, the end-of-lines are 
not always correctly handled and some '\r' may be present in addition to 
'\n'.


Solution:
Replace 'chop' function by 's/[\r\n]+$//'.

Note:
This problem does not appear in all installations of cygwin, only in 
some of them.


   Yann Coscoy

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


Re: [BUG] Installation problem on cygwin

2006-04-03 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Mon, 03 Apr 2006 10:22:26 +0200, Yann Coscoy 
<[EMAIL PROTECTED]> said:

Yann.Coscoy> Technical Description:
Yann.Coscoy> The script 'Configure' (line 1253) uses 'chop' function
Yann.Coscoy> to suppress end-of-line characters. Unfortunalety under
Yann.Coscoy> cygwin, the end-of-lines are not always correctly handled
Yann.Coscoy> and some '\r' may be present in addition to '\n'.
Yann.Coscoy> 
Yann.Coscoy> Solution:
Yann.Coscoy> Replace 'chop' function by 's/[\r\n]+$//'.

Even better, replace it with chomp.  Doing it now.

Cheers,
Richard

-
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]