Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I'm trying to install SOAP::WSDL. But I am having some issues. Please see below. I did the easy way of just doing
sudo perl -MCPAN -e 'install SOAP::WSDL'
Then I got this message
# running Build.PL Checking prerequisites... requires: ! Template is not installed build_requires: ! Template is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'SOAP-WSDL' version '2.00.10' Prereq '0.0.5' for 'Class::Std::Fast' is not supported by Module::Buil +d::Compat Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
So, I downloaded th SOAP::WSDL tarball and tried this...
$ perl Build installdeps cpan_client 'cpan' is not executable $ Build installdeps bash: Build: command not found
What should I do / try next?

Replies are listed 'Best First'.
Re: Install SOAP::WSDL
by ikegami (Patriarch) on Jul 06, 2010 at 23:02 UTC

    I believe editing Build.PL as follows will do the trick:

    - 'Class::Std::Fast' => q(0.0.5), + 'Class::Std::Fast' => q(v0.0.5),

    If so, you can install the module as follows:

    wget http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/SOAP-WSDL-2.0 +0.10.tar.gz tar xvzf SOAP-WSDL-2.00.10.tar.gz cd SOAP-WSDL-2.00.10 perl -i -pe's/\Qq(0.0.5)\E/q(v0.0.5)/' Build.PL perl Build.PL ./Build installdeps ./Build ./Build test ./Build install
      Hi,

      I tried your suggestion by running
      perl -i -pe's/\Qq(0.0.5)\E/q(v0.0.5)/' Build.PL
      But it seem that it still didn't work...
      $ perl Build.PL Checking prerequisites... requires: ! Template is not installed build_requires: ! Template is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'SOAP-WSDL' version '2.00.10' $ ./Build installdeps cpan_client 'cpan' is not executable

        My fix was to address

        Prereq '0.0.5' for 'Class::Std::Fast' is not supported by Module::Buil +d::Compat Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install

        I didn't notice you didn't suffer from that problem when you downloaded the tarball.

        As for the new error. ./Build installdeps apparently requires the cpan tool which you do no have (properly?) installed (even though you have CPAN installed?!?).

        Install the prerequisites (Template) yourself, and there won't be any issues.

Re: Install SOAP::WSDL
by Khen1950fx (Canon) on Jul 06, 2010 at 22:34 UTC
    The correct mantra:
    perl Build.PL ./Build installdeps ./Build ./Build test ./Build install
      Hello, I tried to follow your suggestion, but I got this.
      $ perl Build.PL Checking prerequisites... requires: ! Template is not installed build_requires: ! Template is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n Run 'Build installdeps' to install missing prerequisites. Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'SOAP-WSDL' version '2.00.99_3' $ ./Build installdeps cpan_client 'cpan' is not executable
      Am I missing something obvious?