----- Original Message -----
From: "Sisyphus"
It occurs to me that it should also be possible to extract the PDL::FFTW
source from the PDL source and build and install it alone - ie without
building the whole of PDL as well.
For the record, I found that quite trivial to do.
It was simply a matter of patching the PDL-FFTW Makefile.PL as follows:
#######################################
--- Makefile.PL_orig Sat Aug 27 11:41:49 2011
+++ Makefile.PL Sat Aug 27 12:01:40 2011
@@ -4,6 +4,7 @@
use ExtUtils::MakeMaker;
use Config;
+require PDL::Core::Dev;
PDL::Core::Dev->import();
BEGIN {
@@ -187,7 +188,7 @@
close F;
@pack = (["fftw.pd",FFTW,PDL::FFTW]);
-%hash = pdlpp_stdargs_int(@::pack);
+%hash = pdlpp_stdargs(@::pack);
$hash{INC} .= " -I".join(' -I',@FFTW_inc_locations);
$hash{clean}->{FILES} .= ' typespec';
push @{$hash{LIBS}},"-lm -L".join(" -L",@FFTW_lib_locations)." $lib";
@@ -195,5 +196,5 @@
sub MY::postamble {
- pdlpp_postamble_int(@::pack);
+ pdlpp_postamble(@::pack);
} # Add genpp rule
#######################################
That's the same changes as Doug makes to his PDL::Graphics::PLplot
Makefile.PL for his CPAN version of that module.
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl