Hi,

 

After reading the latest article on the Haskell Hacking blog (Daily Haskell: Download and analyse logs, then generate sparklines) I wanted to install cabal-install to check it out. Soon I found out that it has a dependency on
Cabal (>=1.4&&<1.5), so next thing to do was getting and installing Cabal-1.4.0.1 (since the version coming with
ghc-6.8.3 is 1.2.4.0). But during the configuration part of the installation I got the following error:
 

During interactive linking, GHCi couldn't find the following symbol:
  SHGetFolderPathA@20
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session.  Restart GHCi, specifying
the missing library using the -L/path/to/object/dir and -lmissinglibname
flags, or simply by naming the relevant files on the GHCi command line.
Alternatively, this link failure might indicate a bug in GHCi.
If you suspect the latter, please send a bug report to:
  glasgow-haskell-bugs@haskell.org

 

After some googling, I couldn't find anything on the web related to the problem, so posting to a Haskell mailing list seemed like an obvious next step.  Since I'm a novice Haskell any help would be very much appreciated, indeed.

I'm using ghc-6.8.3 on a Windows XP Professional SP3.

 

Regards

Sasko