in reply to Install WWW::Curl

You don't tell us what you've tried so far and how it didn't work. Searching Google using PPM WWW::Curl returns on the first page the link to WWW::Curl, which shows PPM packages for ActiveState Perl 5.6 and 5.8. Maybe you can tell us how these packages didn't work for you?

The alternative approach would be to download and compile libcurl from http://curl.haxx.se and then to use the cpan script to download and compile WWW::Curl. This requires you to have a matching C compiler for your ActiveState Perl, which either MSVC 6 or the MinGW gcc.

Replies are listed 'Best First'.
Re^2: Install WWW::Curl
by jai_dgl (Beadle) on Jun 24, 2008 at 09:36 UTC
    This is the Message I get while I install WWW::Curl after > perl MakeFile.PL " Locating required external dependency bin:curl-config... missing. Unresolvable missing external dependency. Please install 'curl-config' seperately and try again. NA: Unable to build distribution on this platform. "
      Unable to build distribution on this platform.

      Seems like you need to heed my advice about using the prebuilt PPM binary or you need to invest more time into properly building and installing libcurl. Maybe you have better luck by downloading and installing a prebuilt libcurl, together with curl-config for your operating system. There is nothing we can do to help you there. If you have problems with building and installing libcurl, ask your system administrator or the libcurl developers.

        Locating required external dependency bin:curl-config... missing.

        In the Makefile.PL I see:
        # This is a hack. If you have libcurl installed, just specify curl.h b +elow # and comment out this line. requires_external_bin 'curl-config';
        That would presumably be the source of the error - so try installing libcurl and then comment out that line of code, as suggested, and "specify curl.h below".

        This module use Module::Install ... and it seems that the Makefile.PL tries to find libcurl for you ... and it looks like the Makefile.PL wants to generate the XS file - so expect all sorts of difficulties in trying to get the thing to build.

        You'll need a compiler. Which one are you using ? (Visual Studio or MinGW ?)
        It will probably be much easier if you install the module using ppm - assuming you can find a ppm for your version of perl. Which version are you using ?

        Update: Read the WWW::Curl Readme file if you want to persevere with building it yourself.

        Cheers,
        Rob