curl-users
Perl windows libcurl
Date: Mon, 27 Jul 2009 12:30:43 -0400
Hello,
I am attempting to compile curl into perl with strawberry perl. This is not an automated process at the moment and in the README.win32 contains the following:
Installation on Windows need to be done manually, by editing Makefile.PL.
1. Specify your curl include directory on the line "my @include = qw()".
2. Specify the following parameters on the line below, where <DIR> is your curl directory like this:
my ($cflags,$ldflags,$lflags) = ('-I"<DIR>\\include"', '-L"<DIR>\\lib"','-lcurl -lcurldll');
<DIR> can be for example: "E:\\Perldev\\downloader\\curl-7.18.2-devel-mingw32" (without quotes);
3. Save Makefile.PL.
4. Execute "perl Makefile.PL";
5. Execute "nmake" ( you may need nmake from Mircosoft, which can be downloaded from http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084 );
6. Execute "nmake install".
I have adjusted to:
my @includes = qw('c:\\strawberry\\curl\\include');
my ($cflags,$lflags, $ldflags) = ('-Ic:\\strawberry\\curl\\include','-Lc:\\strawberry\\curl\\lib','-lcurllib');
When I run dmake using:
libcurl-7.19.3-win32-ssl-msvc
I receive the following:
Note (probably harmless): No library found for -lcurllib
I am guessing from the line in the README.win32
<DIR> can be for example: "E:\\Perldev\\downloader\\curl-7.18.2-devel-mingw32" (without quotes);
that this is because I have the wrong package and that I might need ming32 versions even though
I am using the microsoft compilers?
Thanks,
Tim
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-07-27