cURL / Mailing Lists / curl-library / Single Mail

curl-library

Installing libcurl for perl on win32

From: Rotem Benny <benny_at_dvir.org.il>
Date: Sun, 23 Mar 2003 18:29:34 +0200 (IST)

Hi

I am new to curl and perl so maybe the following suggestion needs some
changing.

I had to install libcurl for perl on win32 and the instructions were not
so clear.
Here is the way I did it.
Hope it will help other people in the future.

libcurl for perl on win32 Installation proccess:
===================================================

1. Download the full curl source from curl.haxx.se
2. Go to the downloaded library under curl-7.10.3/lib and double-click
curllib.dsw
3. A project should open in VC. Choose build to create libcurl.dll
4. Make sure that you have in curl-7.10.3/lib/debug the files:
libcurl.lib, libcurl.dll
5. Optional - Create a folder .../libcurl . Copy into it the include
folder from curl.
                    Create in it another lib folder and copy the libcurl.lib,
libcurl.dll files into it.
6. Edit Makefile.pl (in the curl-easy.. folder) and add the PATH of the
"include"
folder you created to the @include
7. perl Makefile.pl . If everything is OK you will see a new MakeFile
created in the
curl-easy folder.
8. Edit Makefile
                        - Line 264, Add "libcurl.lib" to LDLOADLIBS variable.
                        - Make sure libcurl.lib is installed in the VC6
lib directory.
9. Optional - to be sure "nmake" command of the VC6 will work you might
have to run
the vcvars32.bat file (in you VC6 folder).
10. in the curl-easy folder type nmake.
11. check the readme file in curl-easy and then run:nmake test.
        (you might need to copy libcurl.dll to one of the folders in your
path). And it
might not work because
        you don't have a suitable web server for testing.
12. nmake install

==========================================================================
Remarks: Maybe you should copy curl-easy/blib/lib to the perl/lib folder.

Hope this helps. I'm running Win2k with Activeperl 5.6.1 build 631. And
I'm using libcurl 7.9.7.

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-23