in reply to Re: Unable to install Tk module
in thread Unable to install Tk module
Well, the same problem with module Math::NumberCruncher
I did cpanp -i Math::NumberCruncher and that is what I got:
ubuntu@omap:~$ cpanp -i Math::NumberCruncher Installing Math::NumberCruncher (5.00) Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/lib/perl/5.14/Cwd.pm line 338. Running /usr/bin/perl /usr/bin/cpanp-run-perl /home/ubuntu/.cpanplus/5.14.2/build/Math-NumberCruncher-5.00/Makefile.PL INSTALLDIRS=site... ERROR Could not run '/usr/bin/perl Makefile.PL': -- cannot continue ERROR Dir '' does not exist Key 'dir' () is of invalid type for 'CPANPLUS::Internals::Utils::_chdir' provided by CPANPLUS::Dist::MM::prepare at /usr/share/perl/5.14/CPANPLUS/Dist/MM.pm line 435 ERROR Could not chdir back to start dir '' ERROR Unable to create a new distribution object for 'Math::NumberCruncher' -- cannot continue *** Install log written to: /home/ubuntu/.cpanplus/install-logs/Math-NumberCruncher-5.00-1342196241.log Error installing 'Math::NumberCruncher' Problem installing one or more modules
Running cpanp -z gave me this kind of response:
ubuntu@omap:~$ cpanp -z Math::NumberCruncher Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/lib/perl/5.14/Cwd.pm line 338. Error executing your subshell '/bin/bash': Cannot allocate memory ERROR Dir '' does not exist Key 'dir' () is of invalid type for 'CPANPLUS::Internals::Utils::_chdir' provided by CPANPLUS::Shell::Default::_shell at /usr/share/perl/5.14/CPANPLUS/Shell/Default.pm line 811
I tried sudo apt-get install perl-Math::NumberCruncher and:
ubuntu@omap:~$ sudo apt-get install perl-Math::NumberCruncher Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package perl-Math::NumberCruncher
Any idea what is the problem?? Thanks
Robert
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unable to install Tk module
by Anonymous Monk on Jul 13, 2012 at 18:22 UTC |