[haskell-platform] #212: HP Windows installer should add mingw/bin to PATH

haskell-platform haskell-platform at projects.haskell.org
Thu Oct 18 18:33:12 BST 2012


#212: HP Windows installer should add mingw/bin to PATH
-------------------------------+--------------------------------------------
 Reporter:  nurpax             |       Owner:  refold
     Type:  defect             |      Status:  new   
 Priority:  major              |   Milestone:        
Component:  Windows installer  |    Keywords:        
-------------------------------+--------------------------------------------
 As far as I understood, the HP installer adds GHC and other Haskell tools
 to PATH, like so:

 $ which ghc
 /c/Program Files (x86)/Haskell Platform/2012.2.0.0/bin/ghc

 However, it seems that the embedded mingw installation is not added to
 PATH.  This directory is under

 /c/Program Files (x86)/Haskell Platform/2012.2.0.0/mingw/bin

 This by default causes installation of any package that have .c files in
 them to fail.  Examples of such packages are at least network and direct-
 sqlite.

 I didn't realize that mingw is included in HP so I was just assuming HP
 doesn't come with a C compiler at all.  Thus I've been working around this
 by doing tricks like in https://gist.github.com/3907344#comments

 I think it'd make sense for the installer to stick the mingw\bin directory
 to PATH just as it seems to do for ghc.

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/212>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list