Ticket #18 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

cabal-install does not work with network-2.2.1.3 on Windows

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

Description

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-2.2.1.3\ghc-6.10.4/libHSnetwork-2.2.1.3.a
(Socket.o):fake:(.text+0xb014): undefined reference to `getnameinfo'
collect2: ld returned 1 exit status

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

Change History

Changed 5 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 5 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:

http://hackage.haskell.org/package/network-2.2.1.4

Please let me know if you still have problems.

Changed 5 years ago by refold

I confirm that this was fixed.

Note: See TracTickets for help on using tickets.