in reply to LWP Fails Tests on Mac OS X 15.6

I note the following:
Use of uninitialized value in concatenation (.) or string at /System/L +ibrary/Perl/5.8.8/darwin-thread-multi-2level/Scalar/Util.pm line 30. Warning: prerequisite Compress::Zlib 1.10 not found.
The latter problem (missing Compress::Zlib) appears to have been attended to *after* make test was run.
You could try rebuilding LWP (now that Compress::Zlib is installed) and see if the failures persist. If they do, then it may be that the problem with Scalar::Util needs fixing. I've an idea that there are issues with Scalar::Util if the XS version is not installed ... not sure, I might be confusing it with something else. What does line 30 of Util.pm contain ?

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: LWP Fails To Build on Mac OS X 15.6
by A Poet (Initiate) on May 14, 2009 at 03:08 UTC
    Rob, Thanks for the reply. I included the contents of line 30 in my original post. Also, I have tried to rebuild LWP and it still says Compress::Zlib not found in the error log. How does that make any sense? Also, should I try to uninstall and rebuild Scalar::Util?
      Also, should I try to uninstall and rebuild Scalar::Util?

      Yes, I think so, and check that it's an XS build of Scalar::Util that gets installed. (I think it's dualvar() that needs the XS build.)

      Hopefully that will take care of the Compress::Zlib error, too. But this is a problem that I've never managed to reproduce, so I can't speak from personal experience :-)

      Cheers,
      Rob