90
90
Compiling TclCurl with SSL support
92
To prevent patent trouble, the SSL enabled binaries don't support the idea, rc5 and mdc2
93
algorithms, if you need them, and you are allowed to do so, you can compile them yourself.
96
- First of all you have to compile Openssl, you can get the lastest version
97
at http://www.openssl.org, these instructions should work with version 0.9.8e
99
- To compile it you are going to need Perl in your system, for whatever the reason
100
I couldn't get it to work with the Perl that comes with Cygwin, so I had to
101
download ActivePerl: http://www.activestate.com.
103
- You will also need to download the MinGW compiler, the compiling scripts don't
104
like the msys enviroment though.
106
- The open a MS-DOS console in the openssl directory and make sure that both
107
perl and mingw are in you path:
109
c:\openssl-0.9.8e\> echo %PATH%
111
if they aren't add them:
113
c:\openssl-0.9.8e\> PATH=%PATH%;C:\Perl\bin;c:\MinGW\bin
115
change the paths if you need to.
117
- Only thing left is to type in the MS-DOS console:
119
c:\openssl-0.9.8e\> ms\mingw32.bat
121
and hope for the best.
123
- After it compiles you have to copy some files around:
125
- libcryto.a, libeay32.a, libssl.a and libssl32.a from
126
openssl-0.9.8e\out to c:\msys\local\lib.
128
- libeay32.dll and libssl32.dll from openssl-0.9.8e to
129
c:\msys\local\lib and c:\msys\local\bin.
131
- The contents of openssl-0.9.8e\outinc to c:\msys\local\include.
133
- Now copy the 'tclcurl.mk' file from TclCurl/packages/windows to
134
the directory in which you have TclCurl, Tcl, cURL, TclCurl and OpenSSL.
92
Since 1.0.0 openssl is easier to compile, you can find the instructions to it in
93
the INSTALL.W32 file in the openssl tarball.
95
You can get the cacert.pem at http://curl.haxx.se/ca/, you need to put in the
96
directory from which you are going to compile
136
98
- $ make -f tclcurl.mk tclcurl-ssl