Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: inet_pton on Windows Perl

by syphilis (Archbishop)
on Aug 16, 2013 at 13:08 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1049737]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 11:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found