Hi Jim,

I managed to install PDL a while back on snow leopard.  It was a bit fiddly and 
I had no success with CPAN.
Did you install the f77 compiler suggested on Karl's ReadMe? (the HPC webpage 
http://hpc.sourceforge.net/ )
I found this helps if you're installing from source.

Also, is your new laptop 32 or 64-bit? If 64-bit then there are a few extra 
hurdles I think, but I'm still using an older 32-bit mac pro.

cheers,

Paul 

On 6 Jan 2010, at 21:24, Jim Magnuson wrote:

> I've been using PDL for years on OS X with no problems (thank you, thank you, 
> thank you for the countless hours saved). Now I have a new laptop with Snow 
> Leopard and I can't get it to install. 
> 
> Before trying to install PDL, I got PGPLOT working following instructions 
> posted at 
> http://iparrizar.mnstate.edu/~juan/urania/2009/10/23/pgplot-on-snow-leopard/.
> 
> But I run into trouble trying to install PDL either using CPAN or from 
> source. Previous postings to this list seem not to apply to my problem, but 
> I'm not very tech-savvy, so I may not have understood the implications. I'll 
> paste in the problems I'm having with each installation attempt, and I'd be 
> most grateful for any advice. 
> 
> First, when I try installing PDL using 'sudo cpan' and then 'install PDL', I 
> get the following when it comes to CHM:
> 
> Running make for C/CH/CHM/PDL-2.4.6.tar.gz
>   Has already been unwrapped into directory 
> /Users/jmagnuson/.cpan/build/PDL-2.4.6-H9gAgm
> 
>   CPAN.pm: Going to build C/CH/CHM/PDL-2.4.6.tar.gz
> 
> /usr/bin/perl "-Iblib/arch" "-Iblib/lib" pdldoc.PL pdldoc
> Extracting pdldoc (WITH bad value support)
> cp Reduce.pm ../blib/lib/PDL/Reduce.pm
> cp PDL.pm ../blib/lib/PDL.pm
> cp Lite.pm ../blib/lib/PDL/Lite.pm
> cp Options.pm ../blib/lib/PDL/Options.pm
> cp LiteF.pm ../blib/lib/PDL/LiteF.pm
> cp default.perldlrc ../blib/lib/PDL/default.perldlrc
> cp AutoLoader.pm ../blib/lib/PDL/AutoLoader.pm
> cp Lvalue.pm ../blib/lib/PDL/Lvalue.pm
> cp Matrix.pm ../blib/lib/PDL/Matrix.pm
> PERL5OPT='' podselect ../Gen/Inline/Pdlpp.pm > PP-Inline.pod
> /bin/sh: /usr/bin/podselect: Permission denied
> make[2]: *** [PP-Inline.pod] Error 126
> make[1]: *** [subdirs] Error 2
> make: *** [subdirs] Error 2
>   CHM/PDL-2.4.6.tar.gz
>   /usr/bin/make -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   Make had returned bad status, install seems impossible
> Failed during this command:
>  CHM/PDL-2.4.6.tar.gz                         : make NO
> 
> cpan[2]> install PDL                                                          
>                                                                               
>                                                                       
> Running install for module 'PDL'
> Running make for C/CH/CHM/PDL-2.4.6.tar.gz
>   Has already been unwrapped into directory 
> /Users/jmagnuson/.cpan/build/PDL-2.4.6-H9gAgm
> Could not make: Unknown error
> Running make test
>   Can't test without successful make
> Running make install
>   Make had returned bad status, install seems impossible
> 
> Second, if I try installing from source, it warns me that f77 has not been 
> found when I run 'perl Makefile.PL'. Otherwise, all is fine til I run 'make', 
> where there are surprising permission errors. 
> 
> Even if I run 'sudo make', I get the following error:
> 
> /usr/bin/perl "-Iblib/arch" "-Iblib/lib" pdldoc.PL pdldoc
> Extracting pdldoc (WITH bad value support)
> Manifying ../../blib/man1/PDL::Impatient.1
> Manifying ../../blib/man1/PDL::BadValues.1
> Manifying ../../blib/man1/PDL::Internals.1
> Manifying ../../blib/man1/PDL::Tips.1
> Manifying ../../blib/man1/PDL::PP-Inline.1
> Manifying ../../blib/man1/PDL::Dataflow.1
> Manifying ../../blib/man1/PDL::Delta.1
> Manifying ../../blib/man1/PDL::Philosophy.1
> Manifying ../../blib/man1/PDL::FAQ.1
> Manifying ../../blib/man1/PDL::Objects.1
> Manifying ../../blib/man1/PDL::Indexing.1
> Manifying ../../blib/man1/pdl.1
> Manifying ../../blib/man1/PDL::PP.1
> Manifying ../../blib/man1/PDL::API.1
> /usr/bin/perl "-I../../blib/arch" "-I../../blib/lib" pptemplate.PL pptemplate
> Extracting pptemplate (with variable substitutions)
> PERL5OPT='' podselect pptemplate > pptemplate.pod
> /bin/sh: /usr/bin/podselect: Permission denied
> make[2]: *** [pptemplate.pod] Error 126
> make[1]: *** [subdirs] Error 2
> make: *** [subdirs] Error 2
> 
> 
> Thanks,
> 
> jim
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to