http://www.perlmonks.org?node_id=37865

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

I am having great difficulty building PlRPC-0.2012 and I wonder if anyone can see an obvious reason for it. My machine configuration is as follows: Here is the output from "make test TEST_VERBOSE=1":

PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lo +cal/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5/5.6.0 -e 'use T +est::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/* +.t t/base..............1..3 ok 1 ok 2 ok 3 ok t/client............Starting server: /usr/local/bin/perl -Iblib/lib -I +blib/arch t/server --mode=single --debug --timeout 60 Use of uninitialized value in concatenation (.) at t/lib.pl line 30. Use of uninitialized value in concatenation (.) at t/lib.pl line 31. Use of uninitialized value in concatenation (.) at t/lib.pl line 32. 1..10 not ok 1 Failed to make first connection: Usage: Sys::Syslog::_PATH_LOG() at /u +sr/local/lib/perl5/5.6.0/i686-linux/Sys/Syslog.pm line 277. not ok 2 Failed to make second connection: Usage: Sys::Syslog::_PATH_LOG() at / +usr/local/lib/perl5/5.6.0/i686-linux/Sys/Syslog.pm line 277. not ok 3 Failed to create calculator: Can't call method "ClientObject" on an un +defined value at t/lib.pl line 28. Calculator is . Handle is . Client is . not ok 4 Expected 17, got undef, errstr Can't call method "add" on unblessed re +ference at t/lib.pl line 35. not ok 5 not ok 6 not ok 7 not ok 8 not ok 9 not ok 10 FAILED tests 1-10 Failed 10/10 tests, 0.00% okay t/compress..........Starting server: /usr/local/bin/perl -Iblib/lib -I +blib/arch t/server --mode=single --debug --timeout 60 --configfile t/ +compress.cfg --compression=gzip Use of uninitialized value in concatenation (.) at t/lib.pl line 30. Use of uninitialized value in concatenation (.) at t/lib.pl line 31. Use of uninitialized value in concatenation (.) at t/lib.pl line 32. Use of uninitialized value in concatenation (.) at t/lib.pl line 30. Use of uninitialized value in concatenation (.) at t/lib.pl line 31. Use of uninitialized value in concatenation (.) at t/lib.pl line 32. 1..18 not ok 1 Failed to make second connection: Usage: Sys::Syslog::_PATH_LOG() at / +usr/local/lib/perl5/5.6.0/i686-linux/Sys/Syslog.pm line 277. not ok 2 Failed to create calculator: Can't call method "ClientObject" on an un +defined value at t/lib.pl line 28. Calculator is . Handle is . Client is . not ok 3 Expected 17, got undef, errstr Can't call method "add" on unblessed re +ference at t/lib.pl line 35. not ok 4 not ok 5 not ok 6 not ok 7 not ok 8 not ok 9 not ok 10 Failed to make second connection: Usage: Sys::Syslog::_PATH_LOG() at / +usr/local/lib/perl5/5.6.0/i686-linux/Sys/Syslog.pm line 277. not ok 11 Failed to create calculator: Can't call method "ClientObject" on an un +defined value at t/lib.pl line 28. Calculator is . Handle is . Client is . not ok 12 Expected 17, got undef, errstr Can't call method "add" on unblessed re +ference at t/lib.pl line 35. not ok 13 not ok 14 not ok 15 not ok 16 not ok 17 not ok 18 FAILED tests 1-18 Failed 18/18 tests, 0.00% okay t/crypt.............1..0 skipped test on this platform t/methods...........Starting server: /usr/local/bin/perl -Iblib/lib -I +blib/arch t/server --mode=single --debug --timeout 60 --configfile t/ +methods.cfg Use of uninitialized value in concatenation (.) at t/lib.pl line 30. Use of uninitialized value in concatenation (.) at t/lib.pl line 31. Use of uninitialized value in concatenation (.) at t/lib.pl line 32. 1..11 not ok 1 Failed to make second connection: Usage: Sys::Syslog::_PATH_LOG() at / +usr/local/lib/perl5/5.6.0/i686-linux/Sys/Syslog.pm line 277. not ok 2 Failed to create calculator: Can't call method "ClientObject" on an un +defined value at t/lib.pl line 28. Calculator is . Handle is . Client is . not ok 3 Expected 17, got undef, errstr Can't call method "add" on unblessed re +ference at t/lib.pl line 35. not ok 4 not ok 5 not ok 6 not ok 7 not ok 8 not ok 9 ok 10 ok 11 FAILED tests 1-9 Failed 9/11 tests, 18.18% okay Failed Test Status Wstat Total Fail Failed List of failed ---------------------------------------------------------------------- +--------- t/client.t 10 10 100.00% 1-10 t/compress.t 18 18 100.00% 1-18 t/methods.t 11 9 81.82% 1-9 1 test skipped. Failed 3/5 test scripts, 40.00% okay. 37/42 subtests failed, 11.90% ok +ay. make: *** [test_dynamic] Error 29
I decided I wanted this because I wanted to install Bundle::DBI and this was the only component that would not compile in a straight forward manner. It is not clear to me if I actually will need PlRPC, but I am trying to get an instance of Slash 1.0.9 running on a new box, and I don't really know yet.

I've spent several hours trying to read the innards of the module, searching the Web for previous postings, and trying a bunch of long-shot solutions. So far, I am frustrated.

Thanks for any help you can provide,

Dave Aiello
CTDATA

Replies are listed 'Best First'.
Re: Problems building PlRPC-0.2012
by converter (Priest) on Oct 23, 2000 at 16:07 UTC

    I experienced the same problems with PlRPC on a Mandrake 7.1 box with Perl 5.6.0. I spent a few hours on it but decided there were bigger fish to fry.