[BUG] Installation problem on cygwin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[BUG] Installation problem on cygwin

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 List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [BUG] Installation problem on cygwin

Richard Levitte - VMS Whacker
In message <[hidden email]> on Mon, 03 Apr 2006 10:22:26 +0200, Yann Coscoy <[hidden email]> 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                         [hidden email]
                                        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 List                    [hidden email]
Automated List Manager                           [hidden email]