in reply to Re: Install WWW::Curl
in thread Install WWW::Curl

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. "

Replies are listed 'Best First'.
Re^3: Install WWW::Curl
by Corion (Patriarch) on Jun 24, 2008 at 09:40 UTC
    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