Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
PerlMonks  

SOAP::WSDL Installation

by Khurrum (Novice)
on Nov 06, 2007 at 22:56 UTC ( #649361=perlquestion: print w/ replies, xml ) Need Help??
Khurrum has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to install SOAP::WSDL using CSPAN from Cygwin and getting the following error:
cpan> install SOAP::WSDL Running install for module SOAP::WSDL Running make for M/MK/MKUTTER/SOAP-WSDL-1.26.tar.gz Is already unwrapped into directory /cygdrive/u/.cpan/build/SOAP-WSD +L-1.26 Has already been processed within this session Running make test /usr/bin/perl5.8.8.exe Build --makefile_env_macros 1 test t/1_performance.......ok 6/11File caching is enabled, but you do not h +ave the Ca che::FileCache module. Disabling Filesystem caching. at /cygdrive/u/.c +pan/build/ SOAP-WSDL-1.26/blib/lib/SOAP/WSDL.pm line 539. t/1_performance.......ok t/2_helloworld.NET....ok 1/5# Failed test 3 in t/2_helloworld.NET.t at + line 50 # t/2_helloworld.NET.t line 50 is: ok 0; Service description 'file:////cygdrive/u/.cpan/build/SOAP-WSDL-1.26/t/ +acceptance /test.wsdl.xml' can't be loaded: 404 File `//cygdrive/u/.cpan/build/SO +AP-WSDL-1. 26/t/acceptance/test.wsdl.xml' does not exist Can't call method "find" without a package or object reference at /cygdrive/u/.cpan/build/SOAP-WSDL-1.26/blib/lib/SOAP/WSDL.pm line 178 +(#1) t/2_helloworld.NET....NOK 3/5 (F) You used the syntax of a method c +all, but t he slot filled by the object reference or package name contains an expression that retur +ns a defined value which is neither an object reference nor a package n +ame. Something like this will reproduce the error: $BADREF = 42; process $BADREF 1,2,3; $BADREF->process(1,2,3); Uncaught exception from user code: Can't call method "find" without a package or object reference + at /cygdr ive/u/.cpan/build/SOAP-WSDL-1.26/blib/lib/SOAP/WSDL.pm line 178. at /cygdrive/u/.cpan/build/SOAP-WSDL-1.26/blib/lib/SOAP/WSDL.pm line +178 SOAP::WSDL::_wsdl_init_port('SOAP::WSDL=HASH(0x106ff8bc)', 'Se +rvice1Soap ') called at /cygdrive/u/.cpan/build/SOAP-WSDL-1.26/blib/lib/SOAP/WSDL +.pm line 4 53 SOAP::WSDL::portname('SOAP::WSDL=HASH(0x106ff8bc)', 'Service1S +oap') call ed at t/2_helloworld.NET.t line 56 t/2_helloworld.NET....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 3-5 Failed 3/5 tests, 40.00% okay t/3_various...........ok t/4_auto_set_port.....ok 1/6 # Failed test 'wsdlinit - Service description 'file:////cygdrive/u/. +cpan/build /SOAP-WSDL-1.26/t/acceptance/test.wsdl.xml' can't be loaded: 404 File +`//cygdriv e/u/.cpan/build/SOAP-WSDL-1.26/t/acceptance/test.wsdl.xml' does not ex +ist + # ' # at t/4_auto_set_port.t line 47. Service description 'file:////cygdrive/u/.cpan/build/SOAP-WSDL-1.26/t/ +acceptance /test.wsdl.xml' can't be loaded: 404 File `//cygdrive/u/.cpan/build/SO +AP-WSDL-1. 26/t/acceptance/test.wsdl.xml' does not exist # Looks like you planned 6 tests but only ran 3. # Looks like you failed 1 test of 3 run. # Looks like your test died just after 3. t/4_auto_set_port.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-6 Failed 4/6 tests, 33.33% okay t/5_same_transport....ok t/97_pod..............ok t/98_pod_coverage.....ok Failed Test Stat Wstat Total Fail List of Failed ---------------------------------------------------------------------- +--------- t/2_helloworld.NET.t 2 512 5 5 3-5 t/4_auto_set_port.t 255 65280 6 7 3-6 Failed 2/7 test scripts. 7/34 subtests failed. Files=7, Tests=34, 33 wallclock secs ( 3.83 cusr + 3.87 csys = 7.70 +CPU) Failed 2/7 test programs. 7/34 subtests failed. make: *** [test] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force
Any help would be greatly appreciated.

Comment on SOAP::WSDL Installation
Download Code
Re: SOAP::WSDL Installation
by erroneousBollock (Curate) on Nov 07, 2007 at 00:31 UTC
    You do seem to be having a few issues with regard to installation.

    My advice (in your specific case) would be to put aside the cygwin shell completely w.r.t Perl, and to stick with ActivePerl 5.8.8.

    If you run ActivePerl's perl from within cygwin, you can get a few issues with filenames containing spaces. If you prefer cygwin, you should use the Perl port that is installable via the cygwin installer (not ActivePerl).

    It's pretty painless to uninstall+reinstall ActivePerl so go ahead and do so. When it's installed, you can run ppm from the cmd.exe shell; that'll give you a GUI for finding/installing PPD modules from the ActiveState Perl repository. SOAP-WSDL-1.20 is the latest available version in that repository, and I can verify that it works fine.

    -David

      I will try doing that but the only reason why i am using cygwin is because it provides the "Make" utility. I cant seem to find the binary files for GNU make, which is why i cant run the make command from cmd.exe. The reason why i need the utitliy because the perl packages require the execution of makefiles provided. I am not sure if it would be required if i use PPM.

      Would you be able to clarify that while i uninstall and install Active Perl again.

      The other issue is that PPM has really old version of the packages. Like i just checked and it has SOAP::Lite 0.55 whereas now 0.70 is even available and same is the thing with SOAP::WSDL. Is there any way i can another repository?
        I will try doing that but the only reason why i am using cygwin is because it provides the "Make" utility. I cant seem to find the binary files for GNU make, which is why i cant run the make command from cmd.exe.
        You don't need make, or any other tools. If you use ActivePerl, it installs binary packages, much like a linux distribution.

        The other issue is that PPM has really old version of the packages. Like i just checked and it has SOAP::Lite 0.55 whereas now 0.70 is even available and same is the thing with SOAP::WSDL. Is there any way i can another repository?
        ppm rep add trouchelle.com http://trouchelle.com/ppm/

        That will add the trouchelle.com repository, which has SOAP-Lite 0.69 and SOAP::WSDL 1.26.

        -David

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://649361]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-04-17 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (443 votes), past polls