Skip Menu |

This queue is for tickets about the Prima CPAN distribution.

Report information
The Basics
Id: 112566
Status: resolved
Priority: 0/
Queue: Prima

People
Owner: Nobody in particular
Requestors: Volker.Mertens [...] dlr.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Hello Volker, Thank you for the report! However, I cannot reproduce the bug on the modern perls. Could you possibly post the output of "perl -V" here? Thank you! Dmitry
Subject: Re: [rt.cpan.org #112566] Prima on Windows
Date: Tue, 1 Mar 2016 07:40:37 +0100
To: <bug-Prima [...] rt.cpan.org>
From: Volker Mertens <Volker.Mertens [...] dlr.de>
C:\Windows\System32>perl -V Summary of my perl5 (revision 5 version 14 subversion 2) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='Win32 strawberryperl 5.14.2.1 #1 Tue Nov 22 21:00:59 2011 i386' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTO MIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfi elds', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.4.7', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek size=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"D:\Dwimperl\perl\lib\CORE" -L"D:\Dwimperl \c\lib"' libpth=D:\Dwimperl\c\lib D:\Dwimperl\c\i686-w64-mingw32\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladva pi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lver sion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl514.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"D:\Dwimperl\perl\lib\CORE" -L"D:\Dwim perl\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Built under MSWin32 Compiled at Nov 22 2011 21:13:28 @INC: D:/Dwimperl/perl/site/lib/MSWin32-x86-multi-thread D:/Dwimperl/perl/site/lib D:/Dwimperl/perl/vendor/lib D:/Dwimperl/perl/lib .
Hi Volker, It seems that's a perl 5.14 bug, and rather innocent, except that you cannot install it on your setup. I think I fixed it, so you can either try it from github (https://github.com/dk/Prima) or set a newer strawberry perl and retry with Prima. Hope this helps! Dmitry