Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Welcome to the Monastery
 
PerlMonks  

Re^3: inet_pton on Windows Perl

by syphilis (Canon)
on Aug 16, 2013 at 13:08 UTC ( #1049737=note: print w/ replies, xml ) Need Help??


in reply to Re^2: inet_pton on Windows Perl
in thread inet_pton on Windows Perl

Those combinations would fail to even build Math::Int128

For Math::Int128 you need a 64-bit compiler, and hence a 64-bit build of perl.
Even then, the build is failing due to a bug in either perl itself or the Math-Int128-0.12 source. (Last I heard, the Math::Int128 author was investigating.)

If you have a 64-bit build of Windows perl you can install Math-Int128-0.12 using ppm:

ppm install http://www.sisyphusion.tk/ppm/Math-Int128.ppd --force
That package was built using this patch. (If you want to build Math-Int128-0.12 from source yourself, use that patch in preference to the patch supplied in the afore mentioned bug report.)

And keep an eye out for Math-Int128-0.13 which will hopefully build straight out of the box with MinGW ports of 64-bit gcc.

Cheers,
Rob


Comment on Re^3: inet_pton on Windows Perl
Download Code
Re^4: inet_pton on Windows Perl
by atreyu (Sexton) on Aug 26, 2013 at 21:25 UTC

    Okay, I tried that Math-Int128 package and it did install successfully on my Active Perl 5.16.3, 64-bit. Thanks for that.

    However, I come back to the same problem: the last package I need to install is MaxMind::DB::Reader, and it requires version 0.12 of Net::Works. The Active repo has version 0.01 so I use cpan to try and install Net::Works 0.12 and dmake barfs on the same `inet_pton' errors:

    C:\apps\Perl64\cpan\build\Net-Works-0.12-8Cw8vA>dmake test C:\apps\Perl64\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harne +ss(0, 'blib\lib', 'blib\arch')" t/*.t t/Address.t ................ Socket::inet_pton not implemented on this + architecture at C:\apps\Perl64\cpan\build\Net-Wor ks-0.12-8Cw8vA\blib\lib/Net/Works/Address.pm line 67. t/Address.t ................ Dubious, test returned 255 (wstat 65280, +0xff00)
    I am using the gcc (rubenvb-4.5.4) and dmake (4.12-20090907) provided by Active's PPM.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049737]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-04-19 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (481 votes), past polls