Re: Can't install SOAP::Lite on linux with CPAN
If you're on a Debian based, my case ubuntu, you may tray to find the
# apt-cache search -n perl|grep soap
libsoap-lite-perl - Client and server side SOAP implementation
in this case i found it in the normal repositories, then you can install:
# apt-get install libsoap-lite-perl
after that, you like to know where the files were installed:
# dpkg -L libsoap-lite-perl
If you're on a redhat base distro, you can find with yum or up2date to
do the same, i left fedora
some years from now.. don't have the exact commands.
Important: For complex packages with lot of dependencies, the distro
package is the fast way to do it.
If you don't have the package in the distro, or you just like (or
have) to install from source,
then, beware that CPAN installers complain a lot due to failed tests,
normally things work besides
the comlplaints, but you should check.
First, you should try forcing CPAN:
# get into the interactive installer with
# perl -MCPAN -e shell
# force the installation, please don't forget to say "no" to the
force install SOAP::Lite
[ this should be done as root ]
If it fails, i recommend to go where the CPAN module stores the cache
# cd ~/.cpan/build
Then cd to the directory of your module. After the above commands you
should find a module called
SOAP-Lite-0.XX, i've just done this an it's SOAP-Lite-0.69.
Then, please take some minutes to read the README file,
# less README
.. then issue
# perl Makefile.PL
Normally problems arise doing the last two commands, but, you will
have more information of how to
finally [ as root ]
# make install
--- In email@example.com, "Allan" <StevenD@...> wrote:
> Can't complete an installation. May I post the installation messages
> to see if anyone has a recommendation or help. I'm kind of a newbie
> at CPAN.
> cpan> install SOAP::Lite
> Running install for module 'SOAP::Lite'
> Running make for B/BY/BYRNE/SOAP-Lite-0.69.tar.gz
> Has already been unwrapped into directory /root/.cpan/build/SOAP-
> Has already been made
> Running make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-
> e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01-core.t t/02-
> payload.t t/03-server.t t/04-attach.t t/05-customxml.t t/06-modules.t
> t/07-xmlrpc_payload.t t/08-schema.t
> 2/32 skipped: various reasons
> t/06-modules...........FAILED tests 15, 19
> Failed 2/19 tests, 89.47% okay
> Failed Test Stat Wstat Total Fail List of Failed
> t/06-modules.t 19 2 15 19
> 2 subtests skipped.
> Failed 1/8 test scripts. 2/321 subtests failed.
> Files=8, Tests=321, 3 wallclock secs ( 2.61 cusr + 0.27 csys =
> 2.88 CPU)
> Failed 1/8 test programs. 2/321 subtests failed.
> make: *** [test_dynamic] Error 11
> /usr/bin/make test -- NOT OK
> Warning (usually harmless): 'YAML' not installed, will not store
> persistent state
> Running make install
> make test had returned bad status, won't install without force
> Failed during this command:
> BYRNE/SOAP-Lite-0.69.tar.gz : make_test NO
> I'd appreciate any guidance. Thanks so much.
> --Steve D.