On Mar 11, 2007, at 12:54 AM, Joel Rees wrote:

perl 5.8.8 parallel build in /usr/local, botched it a couple of times trying to get it to pull in expat and tie it in to apache 2, I finally gave up on apache 2, then on expat.

Now, when I try to run certain things, I get this:

Use of uninitialized value in concatenation (.) or string at /usr/ local/lib/perl5/5.8.8/darwin-2level/Scalar/Util.pm line 30.

Line 30 in Scalar::Util is Carp::croak()ing about a feature only being available in the XS version. With Scalar::Util being a core module, I'd say something went wrong while you were building 5.8.8.

One of the things I get it with is cpan, and I find I can't update Bundle::CPAN because of it. Cascading failures starting about half way through, starting with an instance of the above uninitialized string.

The above warning won't, in an of itself, cause any failures - it's the Carp::croak() that's causing test scripts to die. There may be modules that depend on the XS version of Scalar::Util.

I've tried deleting the .cpan in my build user's directory and deleting all the build tree and the entire contents of /usr/local/ bin and /usr/local/lib to start over, but it senses perl 5.8.8 anyway, and takes some defaults I don't think I want it to. And the errors get worse. Do I need to delete the entire /usr/local tree as well?

That's absurd - what's next, nuke the site from orbit?

What "it" are you talking about that "senses" Perl 5.8.8? The scripts you're trying to run? Something you're trying to install? Are you certain that it's "sensing" Perl 5.8.8? How are you certain of that?

Sorry to be so vague, but if you're an IT vet, you know the drill - troubleshooting is a methodical, step-by-step process, and you can't rely on guesswork for any step. Step one: Which Perl are your scripts running with #!? Which "perl" is in your path? When you start the CPAN shell, how are you doing that? If you're using the cpan script, what's its #! line?

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply via email to