Ticket #18 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

cabal-install does not work with network- on Windows

Reported by: refold Owned by:
Priority: major Milestone:
Component: network Version:
Keywords: Cc:


When trying to build cabal-install on Windows for the Haskell Platform 2009.2.0.2 release I ran into the following error:

Linking dist\build\cabal\cabal.exe ...
E:\Program Files (x86)\Haskell\network-\ghc-6.10.4/libHSnetwork-
(Socket.o):fake:(.text+0xb014): undefined reference to `getnameinfo'
collect2: ld returned 1 exit status

This is with network and GHC 6.10.4. Everything works fine with network

Change History

Changed 8 years ago by tibbe

Could you try to build the latest development version and see if that fixed the problem?

darcs get http://code.haskell.org/network
cd network
cabal configure && cabal build

Changed 8 years ago by tibbe

  • status changed from new to closed
  • resolution set to fixed

I believe this is fixed with:

Tue Jun  9 07:09:55 CEST 2009  iavor.diatchki@gmail.com
  * Add hsnet_getnameinfo to avoid linking problems on Windows.

New bugfix release on Hackage:


Please let me know if you still have problems.

Changed 8 years ago by refold

I confirm that this was fixed.

Note: See TracTickets for help on using tickets.