Re: Curl, Openssl and Makefile.m32
Date: Thu, 6 Sep 2007 02:28:15 +0200
> I have been using curl for a while now and I have recently come into the
> need to use an ssl libary in conjunction with it so I decided to re-build
> curl with openssl. However, I'm getting some errors which have been
> me for a while now in the: makefile -f Makefile.m32 SSL=1 part of the
> I'm using windows xp sp2. I would use dev (220.127.116.11) but I don't know how
> specify the SSL=1 within the GUI. Here is a copy of the (from the last
> of the build), error I'm getting from dos prompt:
first please read the ./docs/INSTALL file's MingW32 section.
Then if you have build openssl 0.9.8e self with MingW32 everything is at the right place if you place the whole dir at same level as curl itself, f.e.:
If you dont have build openssl self, you can obtain pre-compiled versions from my site:
Dont mess up with GUIs for compiling libcurl, just use a cmd box (lauch from 'execute' -> cmd).
Then create a batch file which should look like this (adjust paths for your environment):
REM set LIBSSH2_PATH=c:/projects/mingw32/libssh2-0.17
unless you use a daily snapshot (where this dependency is removed) you will also need to point to zlib with 7.16.4 release.
cd to the curl basedir, call the above batch inside the cmd box, then type:
that builds both the libcurl and curl binaries.
This is how the makefiles are intended to work;
if you now prefer to use a GUI for your own coding its up to you to learn how to tell the GUI where to find the libs for linking - you need to point somehow to the curl lib folder, and in addition to the openssl out folder...
Received on 2007-09-06