Re: Open3: Problems installing from CPAN

[email protected] (Johannes Kilian)
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
Am 20.05.2010 02:24, schrieb David Golden:
> I have to admit I'm a bit stumped.  

Me too ... ;-)

> I would try upgrading Test::Harness.

I already do have the latest version :-( (upgrade /Harness/ says so ...)

> 
> If that fails, try it manually.  From the CPAN shell prompt, do "look
> Net::LDAP::Server::Test", then run "perl Makefile.PL", "dmake", "dmake
> test".
> 
> You might also try Perl 5.12.0 -- but that might be using an atomic
> bomb to swat a fly.
> 
> The error is in the test harness and doesn't mean the module won't
> work.  So you can just "force install ..." and ignore the test
> failures.

"Forcing" installation always leaves a bad feeling and an insecurity
about full and errorfree functionality. But since almost all test errors
origin from "open3", I forced the installation anyway - and everything
worked till now.

To make the test work anyway there is a third possibility (in my case) -
which make the tests work in most cases: Restarting cpan and start the
installation of the module again - a few more modules, which failed
before, are installed ... until an "open3" error occurs in some module
later on. Restarting ...

I want to stay on Perl 5.10 - until 5.12 is more stable, since I use
perl within a production system.

Anyway - thanks for your help
Jo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.