network-2.3.0.10 compiled for ghc 7.4.1 windows

Hi, After some pains, I compiled the package Network. sa_family_t is needed in network.Socket.Internal.asc and MinGW seems that it has no such variable defined. I share here the package with the compiled binaries included: http://skydrive.live.com/?cid=2F229EB748D4CBA3&id=2F229EB748D4CBA3%21105

Hi, Someone recently contributed a fix that should make network build with 7.4: https://github.com/haskell/network/pull/25 Can you see if that works for you? I haven't yet had time to merge and release that fix (I'm on vacation.) -- Johan

Hi Johan,
The patch is not for the current version of network and the code is
quite different. Basically it is necesary to define this variable as
"unsigned short" that is the thing intended in the patch. however I
put it by brute force, without regard of the prerpocessor directives.
With this change the code compiles well with:
http://neilmitchell.blogspot.com/2010/12/installing-haskell-network-library-...
However my compiled library lack the methods defined as foreign. I´ll
keep trying.
2012/2/6 Johan Tibell
Hi,
Someone recently contributed a fix that should make network build with 7.4: https://github.com/haskell/network/pull/25
Can you see if that works for you? I haven't yet had time to merge and release that fix (I'm on vacation.)
-- Johan
participants (2)
-
Alberto G. Corona
-
Johan Tibell