punkish has asked for the wisdom of the Perl Monks concerning the following question:
I experiencing some difficulty installing PDL on my Intel Macbook running Leopard 10.5.6 with gcc 4.0.1 (Apple Inc. build 5490) and Perl 5.88 built for darwin-2level.
First, I tried to install using cpan. I kept on getting the following error
t/aaa_load..................ok + t/argtest...................ok + t/autoload..................ok 1/3 + # Failed test 'Check tilde expansion (/Users/punkish from 'echo ~')' # at t/autoload.t line 43. # got: '/Users/punkish' # expected: '/var/root' t/autoload..................NOK 3/3# Looks like you failed 1 test of 3 +. t/autoload..................dubious + Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay t/bad.......................ok + 3/78 skipped: various reasons
After some chatter on CB, I decided to force install and PDL did work. But, I wanted to do it the right way so decided to redo it.
I also decided to install as many of the supporting libraries as I could, and then install from the PDL source instead of via cpan.
I am getting the following errors
WARNING: Unknown cpu type i386! Not setting $hdf_defs. (This may not b +e a bad thing) Final $hdf_defs flags: '' Cannot find hdf library, libdf.a. Please add the correct library path to Makefile.PL or install HDF Cannot find hdf header file, hdf.h. Please add the correct library path to Makefile.PL or install HDF Skipping build of PDL::IO::HDF.
Yes, HDF is there.
[11:39 PM] /usr/local/lib$ls libh* libhdf5.6.dylib* libhdf5.dylib@ libhdf5.settings libhdf5_hl +.a libhdf5_hl.la* libhdf5.a libhdf5.la* + libhdf5_hl.0.dylib* libhdf5_hl.dylib@
And, finally, when I do make, it croaks with
_XS_PDL_plgriddata in PLplot.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [../../blib/arch/auto/PDL/Graphics/PLplot/PLplot.bundle] +Error 1 make[1]: *** [subdirs] Error 2 make: *** [subdirs] Error 2
I am really eager to start playing with PDL, so any help I can get in installing this and moving on would be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: installing PDL on Intel Mac
by Anonymous Monk on Mar 04, 2009 at 04:13 UTC | |
by punkish (Priest) on Mar 04, 2009 at 04:39 UTC | |
by Anonymous Monk on Mar 04, 2009 at 05:21 UTC |