Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Unable to install Tk module

by Anonymous Monk
on Jul 12, 2012 at 16:46 UTC ( [id://981438]=note: print w/replies, xml ) Need Help??


in reply to Unable to install Tk module

The problem is, in all that stuff you posted, there is not a single relevant error message

Do  cpanp -i Tk and if that fails,  cpanp -z Tk then  make realclean then post the output of perl Makefile.PL && make

Replies are listed 'Best First'.
Re^2: Unable to install Tk module
by rkrasowski (Sexton) on Jul 12, 2012 at 17:59 UTC
    well, I did apt-get install perl-tk and I got the module installed and working fine. Robert
Re^2: Unable to install Tk module
by rkrasowski (Sexton) on Jul 13, 2012 at 16:34 UTC

    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

      Any idea what is the problem?? Thanks

      This >>> '/bin/bash': Cannot allocate memory

      your account appears to have memory limits, talk to your admin

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://981438]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (8)
As of 2024-04-19 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found