in reply to Re^2: Module Install Problems
in thread Module Install Problems

Hi All,

more of the same, at another attempt. This is an install of perl via yum. Should I perhaps try removing it, and installing perl from source, perhaps? Cheers.

coolboarderguy...

Use of uninitialized value in chdir at /usr/lib/perl5/5.8.5/CPAN.pm li +ne 4487. Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/lib/ +perl5/5.8.5/CPAN.pm line 4487. Can't open perl script "Makefile.PL": No such file or directory. Use -S to search $PATH for it. Bundle summary: The following items in bundle Bundle::CPAN had install +ation problems: Module::Signature Compress::Zlib Archive::Tar Archive::Zip Bundle::l +ibnet Term::ReadKey Term::ReadLine::Perl YAML Text::Glob Module::Build CPA +N and the following items had problems during recursive bundle calls: Net::Telnet Panic: no build_dir? at /usr/lib/perl5/5.8.5/CPAN.pm line 4666.

Replies are listed 'Best First'.
Re^4: Module Install Problems
by tirwhan (Abbot) on Mar 27, 2006 at 09:35 UTC

    In my own dealings with rpm-based systems in the past that was often the best solution, remove the perl that came with the OS (or at least as much of it as you can without crippling the system entirely) and install a new one from scratch in /usr/local/... Now that I'm on Debian I go the opposite way and use dh-make-perl to generate .debs from any CPAN package I want to install, which is much nicer of course. I don't know whether an equivalent script exists for your system (if not it shouldn't be too hard to create one yourself, or possibly even use dh-make-perl and then alien --to-rpm to create appropriate system packages? Dunno whether that is even possible though).

    None of this is very much help with your immediate problem of course, it seems to me that you're having version problems from mixing two different perl module sources, but that's all I can say.


    All dogma is stupid.