
Am 21.02.2011 14:00, schrieb Kazu Yamamoto (山本和彦):
Hello,
The problem (below) is caused by the new flags -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 inside hsc2hs that have been added to fix http://hackage.haskell.org/trac/ghc/ticket/4860.
./configure for the network package does not use these flags. So AI_NUMERICSERV is defined for 10.6 but not for 10.5.
You need the latest Cabal library.
% cabal --version cabal-install version 0.9.5 using version 1.10.1.0 of the Cabal library
With this the cabal-install command, you can install the network package.
No, I've tried with: cabal-install version 0.9.6 using version 1.10.0.0 of the Cabal library (that I needed to install using ghc-7.0.1, because it needs network.) hsc2hs is the wrong! Christian
--Kazu