Perl PDL won't run in my laptop in Slacko; ok in desktop

Using applications, configuring, problems
Post Reply
Message
Author
doccpu
Posts: 24
Joined: Thu 11 Mar 2010, 21:58

Perl PDL won't run in my laptop in Slacko; ok in desktop

#1 Post by doccpu »

I can't seem to find any way to get the perl PDL to run on my HP laptop. I was able to download the source from the perl.pdl.org and compile it and run in on my desktop, but the same procedures don't work on my laptop.

Has anyone put the PDL in a pet install file, or a handy sfs file?

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#2 Post by GustavoYz »

Not sure in Slacko, as I don't use it, but it should work if you install it like this:
- Make sure you have the devxx.sfs up and running (that will give you a full perl).
- Install cpanp (if is not there) which allows you to install modules from the terminal.
- Run this:

Code: Select all

cpanp -i PDL 
It will ask you what to do with the missing modules (if any); choose option 3 ("install all" or something similar) and let it handle the installation...
- Now just wait and then run "pdl" to start pdl shell. Will see something like this:

Code: Select all

perlDL shell v1.357
 PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
 'COPYING' in the PDL distribution. This is free software and you
 are welcome to redistribute it under certain conditions, see
 the same file for details.
ReadLines, NiceSlice, MultiLines  enabled
Reading PDL/default.perldlrc...
Found docs database /usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/PDL/pdldoc.db
Type 'help' for online help
Type 'demo' for online demos
Loaded PDL v2.006 (supports bad values)

Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)

pdl> 
Main idea of this: Use cpanp for install perl modules into a full Perl.

Otherwise (when it just cant be the case because missing free space or wanna have more control over Perl), use Perlbrew.

Post Reply