Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: PDL and PGPLOT on Windows XP

by syphilis (Archbishop)
on Oct 07, 2010 at 01:02 UTC ( [id://863890]=note: print w/replies, xml ) Need Help??


in reply to [SOLVED]: PDL and PGPLOT on Windows XP

I have PGplot.pm installed right where it is supposed to be at: C:\strawberry\perl\site\lib\PDL\Graphics\PGplot.pm

That's not the file it "can't locate". The file it can't locate is C:\strawberry\perl\site\lib\auto\PGPLOT\PGPLOT.xs.dll. That file should have been installed when you installed PGPLOT via ppm.
Does that file exist ? If not, does that directory even exist (and, if it exists, what does it contain) ?

Might pay to try re-installing PGPLOT:
ppm remove PGPLOT --force
(hope that's the right invocation - I think you'll need to use '--force'), then:
ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/PGPLOT.ppd
Cheers,
Rob

Replies are listed 'Best First'.
Re^2: PDL and PGPLOT on Windows XP
by BJ_Covert_Action (Beadle) on Oct 07, 2010 at 16:50 UTC

    Hmmm. Well it appears that I do have that directory and file installed. Existing within: C:\strawberry\perl\site\lib\auto\PGPLOT, I have the following files:

    • .packlist
    • PGPLOT.bs
    • PGPLOT.xs.dll

    I did a remove command using ppm and tried reinstalling PGPLOT. I also added C:\strawberry\perl\bin to my PATH variable (though I think it might already have been there). After doing so, I tried use PGPLOT; in the perldl shell again and I got this error:

    Attempt to reload PGPLOT.pm aborted. Compilation failed in require at (eval 44) line 4, <STDIN> line 2. at (eval 44) line 4 main::BEGIN() called at (eval 44) line 4 eval {...} called at (eval 44) line 4 eval ' sub { { use PG +PLOT; ; } } ;' called at C:\strawberry\perl\bin/perldl line 657 main::eval_and_report('use PGPLOT;\x{a}') called at C:\strawbe +rry\perl\bin/perldl line 606 main::process_input() called at C:\strawberry\perl\bin/perldl +line 626 eval {...} called at C:\strawberry\perl\bin/perldl line 626 BEGIN failed--compilation aborted at (eval 44) line 4, <STDIN> line 2. at (eval 44) line 4 eval ' sub { { use PG +PLOT; ; } } ;' called at C:\strawberry\perl\bin/perldl line 657 main::eval_and_report('use PGPLOT;\x{a}') called at C:\strawbe +rry\perl\bin/perldl line 606 main::process_input() called at C:\strawberry\perl\bin/perldl +line 626 eval {...} called at C:\strawberry\perl\bin/perldl line 626

    ...which appears to be substantially different, though I can't tell if it is better or worse. Any new ideas? Thanks again for the help thus far.




    EDIT: So, I tried removing and reinstalling PGPLOT one more time using PPM and after reinstalling all of the dll's and exe's in my C:\strawberry\perl\bin\ directory I am back to getting this error:


    Can't locate loadable object for module PGPLOT in @INC (@INC contains: + C:/strawberry/perl/lib C:/strawberry/perl/site/lib .) at (eval 40) l +ine 4 Compilation failed in require at (eval 40) line 4, <STDIN> line 1. BEGIN failed--compilation aborted at (eval 40) line 4, <STDIN> line 1.

    So it might be worth skipping all that junk that got spewed out during my first attempt.

      I am back to getting this error

      Sorry - I've only just now remembered that the DynaLoader that shipped with 5.10.0 was broken as regards the mechanism that loads PGPLOT.xs.dll.
      If you can upgrade to 5.10.1, or just grab a 5.10.1 DynaLoader.pm and stick it in there, then all should be fine.

      Or, if you /msg me your email address I could send you the DynaLoader.pm that I use with 5.10.0.

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://863890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-19 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found