----- Original Message ----- From: "David Mertens" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, January 17, 2012 4:43 AM
Subject: Re: [Perldl] PLPlot on Windows/XMing - PLPLOT_LIB Solved


On Mon, Jan 16, 2012 at 11:10 AM, Fabio D'Alfonso <
[email protected]> wrote:

 Hi,
I will be happy to help, where I can.
If you point at something specific I can start right now.


The most important thing you can do is describe what you did to get PDL
working for you. If you could email the text to the mailing list, we (I?)
could add it to the wiki page.

I think he has simply done a 'ppm install' of PDL, and then missed the messages that the PLPLOT_LIB environment variable needs to be set.

The ppm installation process concludes with a message telling the user that, in order for PDL::Graphics::PLplot to be functional, the PLPLOT_LIB env var needs to be set. (It also specifies the string that the env var needs to be set to.)
And the need to do this is also specified on the wiki.

However, I think it's very easy to *not* notice those instructions ... it would be nice if there was a better way.

We could have PLplot.pm set this env var - but unfortunately that doesn't work. Even setting $ENV{PLPLOT_LIB} in a BEGIN{} block in one's script (before PDL::Graphics::PLplot is
loaded) fails to do the job.
I don't yet understand why this is so.

Cheers,
Rob

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

Reply via email to