cURL / Mailing Lists / curl-library / Single Mail

curl-library

perl interface to curl

From: Ray, Marla S <Marla.Ray_at_MW.Boeing.com>
Date: Thu, 22 Mar 2001 16:10:58 -0600

I am trying to use Perl in an NT environment to perform GET and POST
operations to an https site.

I believe that I have curl and libcurl installed correctly.

I have been trying to perform the steps to install the Curl::easy perl
interface but I am encountering errors.

First I had some problems with the Makefile.PL which I managed to correct by
specifying INC and LIB paths.

Now I am trying to do the make with nmake and I get errors like:

        easy.c
        d:/Download/Perl/curl-7.6.1/include\curl/curl.h(443) : error C2143:
syntax error
         : missing ',' before '->'
        d:/Download/Perl/curl-7.6.1/include\curl/curl.h(443) : error C2059:
syntax error
         : '->'
        d:/Download/Perl/curl-7.6.1/include\curl/curl.h(462) : error C2143:
syntax error
         : missing ',' before '->'
        d:/Download/Perl/curl-7.6.1/include\curl/curl.h(462) : error C2059:
syntax error
         : '->'
        d:/Download/Perl/curl-7.6.1/include\curl/curl.h(463) : error C2143:
syntax error
         : missing ',' before '->'
        d:/Download/Perl/curl-7.6.1/include\curl/curl.h(463) : error C2059:
syntax error
         : '->'
        easy.xs(208) : error C2664: 'curl_setopt' : cannot convert parameter
2 from 'int
        ' to 'CURLoption'
                Conversion to enumeration type requires an explicit cast
(static_cast, C
        -style cast or function-style cast)
        easy.xs(212) : error C2440: 'initializing' : cannot convert from
'struct _PerlIO
         *' to 'struct _iobuf *'

Can anyone offer any assistance on this?

Thanks,
Marla

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-03-22