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.

--

when small people start casting long shadows, it is time to go to bed

In reply to installing PDL on Intel Mac by punkish

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.