Subject: | Prima on Windows |
Date: | Mon, 29 Feb 2016 13:53:47 +0100 |
To: | <bug-Prima [...] rt.cpan.org> |
From: | Volker Mertens <Volker.Mertens [...] dlr.de> |
Dear Dmitry,
I have to use Windows now and installed
DWIMperl.
The installation of Prima via cpanm went not smooth.
...
D:\Dwimperl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib\lib', 'blib\arch')" t/*/*.t
t/Image/Bar.t ........... ok
t/Image/Basic.t ......... ok
t/Image/Codec.t ......... ok
t/Image/Colormap.t ...... ok
t/Image/Import.t ........ ok
t/Image/ROP.t ........... ok
t/Image/Stream.t ........ ok
t/Image/Transform.t ..... ok
t/misc/pod.t ............ ok
t/misc/syntax.t ......... ok
t/Object/Application.t .. ok
t/Object/Clipboard.t .... ok
t/Object/Component.t .... ok
Bareword found where operator expected at D:\.cpanm\work\1456739474.1772
\Prima-1.45\blib\lib/Prima/Application.pm line 2, near "2002 The"
(Missing operator before The?)
syntax error at D:\.cpanm\work\1456739474.1772\Prima-1.45\blib
\lib/Prima/Application.pm line 2, near "2002 The Protein "
BEGIN not safe after errors--compilation aborted at D:\.cpanm\work
\1456739474.1772\Prima-1.45\blib\lib/Prima/Application.pm line 33.
Compilation failed in require at t/Object/Fonts.t line 7.
BEGIN failed--compilation aborted at t/Object/Fonts.t line 7.
The solution was to put an "#" into the first line, which was empty, of
Application.pm.
I decided to use Prima for this very purpose of platform independence
and now it hopefully pays off.
Best regards,
Volker