----- Original Message -----
From: "Sisyphus"
I'm glaring (with some suspicion, and much disdain) at Module::Build ....
Not the fault of Module::Build at all.
It seems the problem arises in Prima itself - though the reason a fix is
needed is not yet clear to me. (Based on other experiences I've had with
ExtUtils-Depends, the Prima build should be fine as it is ... but I probably
need to look at it a bit closer.)
When I build Prima with my 32-bit compiler, in addition to building
auto/Prima/Prima.dll I also get the import lib auto/Prima/Prima.a.
If the import lib is instead named auto/Prima/libPrima.a then the problems
with PDL::Drawing::Prima go away - it builds fine.
The 64-bit builds of Prima don't create an import library, so -lPrima must
be linking directly to Prima.dll. That seems to work well enough for them,
and I don't know why the 32-bit build can't just do the same, but it can't.
(I wasted a coupla hours going down that path, and a few more hours
exploring various other dead ends.)
With Joel's suggested code replacement for the smartarse operator, PDL::D::P
then builds fine on 5.8.9. (Note that 5.8.0 is precluded by the
ExtUtils-ParseXS-3.05 requirement, but everything later than 5.8.0 should be
fine.)
The only other thing to do is to get rid of the backslashes in the
autogenerated '#line ...' entries in Prima.xs, which should eliminate the
"unknown escape" warnings.
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl