From: Chris Marshall
Sent: Saturday, May 30, 2015 7:52 AM
To: [email protected]
Subject: [Pdl-general] PDL-2.009 released to CPAN
...and should be appearing at a CPAN mirror near you soon.

> This release fixes some minor issues with PDL-2.008 but is otherwise 
> identical.

Not *quite* identical.

The Graphics/PLplot directory has been removed from the source ... which 
breaks things for me on Windows.
During 'dmake', I get:

##################################
......
cp LUT.pm ..\..\blib\lib\PDL\Graphics\LUT.pm
cp random3.fits ..\..\..\blib\lib\PDL\Graphics\LUT\tables/random3.fits
....
cp gamma.fits ..\..\..\blib\lib\PDL\Graphics\LUT\ramps/gamma.fits
The system cannot find the path specified.
dmake:  Error code 129, while making 'subdirs'
dmake:  Error code 255, while making 'subdirs'
##################################

That's not very informative, so:

##################################
C:\sisyphusion\PDL-2.009>dmake -vcdfimrtw
.....
cd Graphics && dmake -f Makefile all
The system cannot find the path specified.
dmake:  Error code 129, while making 'subdirs'
dmake:  Error code 255, while making 'subdirs'

##################################

Still not very informative, so:

#################################
C:\sisyphusion\PDL-2.009\Graphics>cd Graphics

C:\sisyphusion\PDL-2.009\Graphics>dmake -vcdfimrtw
....
cd PLplot && dmake -f Makefile all
The system cannot find the path specified.
dmake:  Error code 129, while making 'subdirs'

#################################

Of course, there no longer is a Graphics/PLplot directory.
(I don't think this problem will be limited to *me* ... but I could be wrong 
about that ;-)

Anyway, this simple patch to the PDL/Graphics Makefile.PL takes care of it 
for me:

#################################
--- ../PDL-2.008/Graphics/Makefile.PL   2015-05-30 23:17:56 +1000
+++ Graphics/Makefile.PL        2015-05-30 23:16:27 +1000
@@ -2,7 +2,7 @@
use warnings;
use ExtUtils::MakeMaker;

-my @subdirs = qw(PGPLOT LUT IIS PLplot Limits);
+my @subdirs = qw(PGPLOT LUT IIS Limits);

# we try and build unless WITH_3D == 0
my $t = $PDL::Config{WITH_3D};
#################################

Cheers,
Rob





------------------------------------------------------------------------------
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to