[Haskell-cafe] Need Cabal/library building help for windows

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Mar 18 08:53:24 EDT 2008


On Tue, 2008-03-18 at 09:28 +0000, Alistair Bayley wrote:
> On 17/03/2008, Felix Martini <fmartini at gmail.com> wrote:
> > Ryan Ingram wrote:
> >  > For reference, I'm using GHC6.8.1 on WinXP.
> >
> > >  setup.hs: ld is required but it could not be found.
> >
> > I did have the same issue with GHC 6.8.1 on Windows. It is fixed in
> >  version 6.8.2.
> >
> >  http://haskell.org/ghc/download_ghc_682.html#windows
> 
> Upgrading GHC to fix this seems a little extreme. You can just add
> gcc-lib (i.e. C:\ghc\ghc-6.8.1\gcc-lib) to your path.

Or you can install Cabal-1.2.3.0 which is the version that comes with
ghc-6.8.2 and contains the fix:

http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Cabal-1.2.3.0

Duncan



More information about the Haskell-Cafe mailing list