Hi Karl,

I am testing this on my Mac, OS 10.10.5 (Yosemite).  The results were mixed.

Unpacking went fine.

> Example commands for install  (for hardcore unix people only, mistypes can be 
> dangerous!):
> 
> % cd /
> % tar xvfz /path/to/tarball.tar.gz
> 
> 
> And to test:
> 
> % source /Applications/PDL/setup_bash   # Set PATH for bash users

My PATH is set correctly, but PDL crashes on startup.  It reads my ~/.perldlrc, 
which is simple:
$ more ~/.perldlrc
#startup script for perldl shell

require('PDL/default.perldlrc');

use PDL::AutoLoader;
use PDL::Graphics::PGPLOT::Window;

$PDL::AutoLoader::Rescan=1;
1;


> % pdl

derek@turul:/$ which perl
/Applications/PDL/bin/perl

derek@turul:/$ which pdl
/Applications/PDL/bin/pdl


derek@turul:/$ pdl
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 /Users/derek/.perldlrc...
dyld: lazy symbol binding failed: Symbol not found: 
_Perl_xs_apiversion_bootcheck
  Referenced from: 
/Users/derek/local/lib/perl5/darwin-2level/auto/PerlIO/Layers/Layers.bundle
  Expected in: dynamic lookup

dyld: Symbol not found: _Perl_xs_apiversion_bootcheck
  Referenced from: 
/Users/derek/local/lib/perl5/darwin-2level/auto/PerlIO/Layers/Layers.bundle
  Expected in: dynamic lookup

Trace/BPT trap: 5
derek@turul:/$


I was surprised to see /Users/derek/local/lib/perl5 in there, because that 
comes from my $PERL5LIB environment variable.  So I did

derek@turul:/$ unset PERL5LIB

and tried again:
derek@turul:/$ pdl
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 /Users/derek/.perldlrc...
Found docs database 
/Applications/PDL/lib/perl5/site_perl/5.22.1/darwin-2level/PDL/pdldoc.db
Type 'help' for online help
Type 'demo' for online demos
Loaded PDL v2.015 (supports bad values)
pdl> 


> pdl> demo pdl
> pdl> demo pgplot

these 2 demos worked well.

> 
> You can also run though the standard test set in the PDL source if you know 
> what to expect :-) with:
> 
> /Applications/PDL/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
> 'blib/lib', 'blib/arch')" t/*.t

This does not work, because there is no blib directory or t directory under 
/Applications/PDL

> 
> Note for the latter you will also need to install XQuartz! (Other than that 
> should work on an out of the box OS X install - should not even need XCode)
> 
> There are also a couple of trivial Applescript launchers in the 
> /Applications/PDL folder

I tried the 'pdl [here]' and 'pdl [home]' launchers from Finder but for both 
get an error like this: ' “pdl [here]” is damaged and can’t be opened. You 
should move it to the Trash.'

I'm not sure what the difference between those two are.  Do I need to add 
'source /Applications/PDL/setup_bash' to my .profile, then log out and log in 
again so they have the PATH set correctly?

Derek

> 
> Karl
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> pdl-devel mailing list
> pdl-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pdl-devel
> 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to