Dear All,

Thanks for your responses!

Rob, I have tried to install the modified PPM (no errors) - however, I have the feeling that something went wrong here, as the command 'ppm' was not available anymore from the command line afterwards (error "No Perl script found in input").

Clean installation via the cpan module also worked, but I was especially after PDL::GSL and the included random number generators.

What finally did the job was

use PAR::Dist::InstallPPD;
par_install_ppd(uri => "http://www.sisyphusion.tk/ppm/PDL.ppd";);

Brillant! Thanks!

Alex


----- Original Message ----- From: "Alexander Dilthey"
<[email protected]>
To: <[email protected]>
Sent: Thursday, March 01, 2012 12:22 AM
Subject: [Perldl] Installation from PPM problems


Dear All,

I am trying to install PDL on a Windows 7 machine, Strawberry Perl
5.14 64 bit, from PPM.

I type

ppm install http://www.sisyphusion.tk/ppm/PDL.ppd

and get the following errors:

Element 'IMPLEMENTATION' cannot contain a child element 'REQUIRE' at
C:/strawberry/perl/site/lib/PPM.pm line 1677.
Element 'IMPLEMENTATION' cannot contain a child element 'REQUIRE' at
C:/strawberry/perl/site/lib/PPM.pm line 1677.
Element 'IMPLEMENTATION' cannot contain a child element 'REQUIRE' at
C:/strawberry/perl/site/lib/PPM.pm line 1677.
Can't locate object method "rvalidate" via package
"PPM::XML::PPD::REQUIRE" at
C:/strawberry/perl/site/lib/PPM/XML/ValidatingElement.pm line 38.

That's an old version of PPM that doesn't understand modern ppd files.
Unfortunately it's also the latest version of PPM that's in the public
domain, so Strawberry Perl is stuck with it.

How about:
See the section "Installing PPM" at
http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_on_Windows

and install that version of PPM (ie
http://www.sisyphusion.tk/libraries/PPM-2.50_01.tar.gz ) .

Other than that I could probably write modified ppd files that will work
with your current version of PPM and send them over to you. (Might take
a couple of attempts to get it right, but shouldn't be too difficult.)

A third alternative is to use PAR::Dist::InstallPPD (available from
CPAN) to install the PPM packages. (I have no personal experience with
this module, but am told it will install those PPM packages.)

Cheers,
Rob



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

Reply via email to