On 3/4/2012 7:56 AM, Sisyphus wrote:
----- Original Message ----- From: "David Mertens"
<[email protected]>
To: "perldl" <[email protected]>; <[email protected]>
Sent: Thursday, March 01, 2012 7:32 AM
Subject: [Perldl] Announcing PDL::Graphics::Prima and company
All -
It is with great pride and joy that I finally release the first alphas of
not one, not two, but three distributions to CPAN:
* PDL::Drawing::Prima - PDL bindings for many Prima::Drawable functions
So far on Windows I've managed to get it to build and pass its test only
on my 64-bit builds of perl-5.12.0 and perl-5.14.0. (I'm sure we can
improve on that, however :-)
Issues I have struck:
1) Prima.pm.PL contains a syntax error for 5.8.x :
unless $_ ~~ @$arg_names
The smart match operator was introduced in
version 5.10.1.
2) All builds generate lots of compiler warnings (which I don't think
are causing any harm):
lib\PDL\Drawing\Prima.xs:21:11: warning: unknown escape sequence: '\P'
lib\PDL\Drawing\Prima.xs:21:11: warning: unknown escape sequence: '\D'
lib\PDL\Drawing\Prima.xs:21:11: warning: unknown escape sequence: '\P'
libPDLDrawingPrima.pm.PL: In function 'pdl_prima_arcs_readdata':
libPDLDrawingPrima.pm.PL:1022:11: warning: unknown escape sequence: '\P'
libPDLDrawingPrima.pm.PL:1022:11: warning: unknown escape sequence: '\D'
libPDLDrawingPrima.pm.PL:1022:11: warning: unknown escape sequence: '\P'
[snip]
libPDLDrawingPrima.pm.PL:3063:12: warning: unknown escape sequence: '\P'
libPDLDrawingPrima.pm.PL:2928:12: warning: unknown escape sequence: '\P'
libPDLDrawingPrima.pm.PL:2928:12: warning: unknown escape sequence: '\D'
libPDLDrawingPrima.pm.PL:2928:12: warning: unknown escape sequence: '\P'
This is what I get when you have a path string
in quotes on windows. E.g., the warnings are
likely from constructions like this:
"lib\PDL\Drawing\Prima.pm"
3) My 32-bit builds of 5.10.0, 5.12.0 and 5.14.0 build P::D::P ok, but
all fail the test with:
# Failed test 'use PDL::Drawing::Prima;'
# at t\00-load-main.t line 6.
# Tried to use 'PDL::Drawing::Prima'.
# Error: Can't load
'C:\sisyphusion\PDL-Drawing-Prima-0.01\blib\arch/auto/PDL/Drawing/Prima/Prima.dll'
for module PDL::Drawing::Prima: load_file:The specified module could not
be found at C:/MinGW/perl512/lib/DynaLoader.pm line 200, <DATA> line 206.
# at (eval 4) line 2
# Compilation failed in require at (eval 4) line 2, <DATA> line 206.
# BEGIN failed--compilation aborted at (eval 4) line 2, <DATA> line 206.
Bailout called. Further testing stopped: Unable to load
PDL::Drawing::Prima!
FAILED--Further testing stopped: Unable to load PDL::Drawing::Prima!
Both 1) and 2) are probably easy to fix.
Any ideas on 3) ? I'll take a look as time permits.
The error message suggests that there's a dll that can't be found, but
usually when that's the problem one gets a pop-up that provides the name
of the dll that can't be found - and that's not happening in this case :-(
My 32-bit compiler is gcc-4.5.2, as provided by mingw.org. If you've
been testing with Strawberry Perl you've probably been using gcc-4.4.x,
as provided by mingw64.sf.
I've never gotten the error popup with the missing
DLL info for my perl/PDL builds. If there were a
setting to enable it for testing, that would make
windows debugging go more smoothly.
--Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl