
On Mon, 2007-11-19 at 20:29 +0000, Andrew Coppin wrote:
Don Stewart wrote:
Just a quick announce: the stream fusion library for lists, that Duncan Coutts, Roman Leshchinskiy and I worked on earlier this year is now available on Hackage as a standalone package:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/stream-fusion-0.1...
As described in the recent paper:
"Stream Fusion: From Lists to Streams to Nothing at All" Duncan Coutts, Roman Leshchinskiy and Don Stewart. ICFP 2007
This is a drop-in replacement for Data.List.
Well, I just tried to install this, and as per usual, Cabal has having none of it.
C:\fusion\> runhaskell Setup configure Configuring stream-fusion-0.1.1... Setup: ld is required but it could not be found.
Well, no, this is Windoze, we don't have ld here...
On the other hand... hold on, doesn't GHC use GCC and ld?
On closer inspection, it seems that there *is* an LD.EXE on my harddrive. Cabal is simply failing to find it. Great.
It turns out, the standard GHC installer automatically adds C:\ghc\ghc-6.8.1.\bin to the search path. This contains GHC.EXE (and other things), but LD.EXE and friends aren't in there. Those are found in C:\ghc\ghc-6.8.1\gcc-lib. If you temporarily add *that* to your path...
C:\fusion\> set PATH=%PATH%;C:\ghc\ghc-6.8.1\gcc-lib C:\fusion\> runhaskell Setup configure Configuring stream-fusion-0.1.1...
Hm, this actually is supposed to work. Could you please re-run this procedure with the original path and with maximum verbosity? I.e.:
runhaskell Setup configure -v3
In any case though, if you have problems with Cabal or cabal-install, send a bug report -- Windows might not be number one priority (since most of the developers don't use it (often)) don't expect us to fix bugs that we don't know about. (Naturally.) Thanks, / Thomas