x

Re: perl: geo::proj4 unter strawberry-perl


Geschrieben von couchmapper (Gast) am 25. Mai 2014 12:47:44: [flux]

Als Antwort auf: perl: geo::proj4 unter strawberry-perl geschrieben von Lübeck (Gast) am 23. Mai 2014 09:55:

Hmmm. unter Windows kommen sich verschiedene Defnitionen von PVALUE in die Query. Keine Ahnung, wie man das auf die Schnelle beheben kann.

Auszug aus dem build.log:

Checking␣dependencies␣from␣MYMETA.json␣...
Checking␣if␣you␣have␣ExtUtils::MakeMaker␣0␣...␣Yes␣(6.94)
Building␣and␣testing␣Geo-Proj4-1.05
cp␣lib/Geo/Proj4.pod␣blib\lib\Geo\Proj4.pod
cp␣lib/Geo/Proj4.pm␣blib\lib\Geo\Proj4.pm
Running␣Mkbootstrap␣for␣Geo::Proj4␣()
C:\strawberry\perl\bin\perl.exe␣-MExtUtils::Command␣-e␣chmod␣--␣644␣Proj4.bs
C:\strawberry\perl\bin\perl.exe␣C:\strawberry\perl\lib\ExtUtils\xsubpp␣␣-typemap␣C:\strawberry\perl\lib\ExtUtils\typemap␣-typemap␣typemap␣␣Proj4.xs␣>␣Proj4.xsc␣&&␣C:\strawberry\perl\bin\perl.exe␣-MExtUtils::Command␣-e␣mv␣--␣Proj4.xsc␣Proj4.c
gcc␣-c␣␣-I.␣-IC:\PROGRA~1\FWTOOL~1.7/include␣	-s␣-O2␣-DWIN32␣-DPERL_TEXTMODE_SCRIPTS␣-DPERL_IMPLICIT_CONTEXT␣-DPERL_IMPLICIT_SYS␣-DUSE_PERLIO␣-fno-strict-aliasing␣-mms-bitfields␣-s␣-O2␣	␣␣-DVERSION=\"1.05\"␣	-DXS_VERSION=\"1.05\"␣␣"-IC:\strawberry\perl\lib\CORE"␣␣␣Proj4.c
In␣file␣included␣from␣Proj4.xs:7:0:
C:\PROGRA~1\FWTOOL~1.7/include/projects.h:150:47:␣error:␣conflicting␣types␣for␣'PVALUE'
In␣file␣included␣from␣c:\strawberry\c\bin\../lib/gcc/i686-w64-mingw32/4.7.3/../../../../i686-w64-mingw32/include/windows.h:66:0,
from␣C:\strawberry\perl\lib\CORE/win32.h:125,
from␣C:\strawberry\perl\lib\CORE/win32thread.h:4,
from␣C:\strawberry\perl\lib\CORE/perl.h:2869,
from␣Proj4.xs:2: