So then I was just missing the libplplot.so file
Strictly speaking, I expect that there would have been more than just the libplplotd.so file that was missing (eg. the plplot header files, too), so I don't know why libplplotd.so was singled out.
I think a more appropriate message would have been something like "Cannot find the plplot library".
But yes, it was the absence of the plplot (and no other) library that was preventing PDL-Graphics-PLplot from building.
Those other libraries that you installed are used by modules located within the PDL source package. ("PDL" and "PDL-Graphics-PLplot" are separate packages.)
I am not sure why cpan doesnt go and get libplplot
The cpan utility will grab the perl modules as necessary, but it's mostly up to the user to ensure that any third party requirements of those modules (such as libraries like plplot) are already available to the build.
Some modules will take steps to download and install missing requisite libraries - but, IMO, it's far better to just leave that up to the user.
I'll file a bug report about the deceptive behaviour of PDL::Graphics::PLplot that you struck, after I've checked that it hasn't already been fixed in development.
Update: Bug has now been reported
Cheers,
Rob
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.