Closed shawnlaffan closed 2 years ago
Sorry, neglected to say I am using Strawberry perl 5.30.0.
perl -v
This is perl 5, version 30, subversion 0 (v5.30.0) built for MSWin32-x64-multi-thread
Removing the git paths from PATH has no effect.
Will try a share install with 5.28 next.
How does the output compare with the CI build? I have it running with ...\strawberry-perl\5.30.3\x64\perl\bin\perl.exe
I believe the parts that say /usr/bin/...
are from Alien::MSYS
so that is expected.
Passes with Strawberry perl 5.28.
Will check against CI build now.
Could it have something to do with -lpthread
?
Also, I noticed you are using the PDL version of Strawberry Perl. How does it fare on the regular Strawberry Perl 5.30?
Checking the proj4 configure gives differences between CI and my system related to mingw32 and mingw64.
Am upgrading to latest Alien::MSYS to see if it has any effect (this is an old install of 5.30 that I have not kept up to date). If that has no effect then will try a non-PDL Strawberry.
My system:
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
CI:
checking build system type... i686-pc-mingw64
checking host system type... i686-pc-mingw64
Compilation works with Alien-MSYS-0.14 (upgraded from 0.09).
It might just be a newer version of MSYS itself was needed, but I don't think there have been any changes to that in a long time.
Will update Makefile.PL to require 0.14 in any case.
Just released 2.019112. Please try and if it works, close this :-)
Thanks again. 2.019112 builds and tests on my system.
And just for some completeness, nm
used under Alien::MSYS 0.14 is from Strawberry instead of MSYS. The configure step under Alien::MSYS 0.09 shows a fail which might have been the culprit.
configure with Alien::MSYS 0.14
checking for BSD- or MS-compatible name lister (nm)... /c/shawn/perls/5.30.0_64_PDL/c/bin/nm -B
checking the name lister (/c/shawn/perls/5.30.0_64_PDL/c/bin/nm -B) interface... BSD nm
<snip>
checking command to parse /c/shawn/perls/5.30.0_64_PDL/c/bin/nm -B output from gcc object... ok
configure with Alien::MSYS 0.09
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
<snip>
checking command to parse /usr/bin/nm -B output from gcc object... failed
First noted in https://github.com/PDLPorters/pdl/issues/346
Build log is below.
Possibly relevant is that the proj4 configure log shows it is using utilities from
/usr/bin
. These are often from Git installations. I exclude these in Alien::proj using an around hook (also other aliens such as Alien::gdal). https://github.com/shawnlaffan/perl-alien-proj/blob/4850586752a5631837ccc3ac1854a3d9f0b1cbd7/alienfile#L221