[haskell-platform] #24: GHC in a directory with spaces causes configure failure

haskell-platform haskell-platform at projects.haskell.org
Tue May 5 18:11:57 EDT 2009

#24: GHC in a directory with spaces causes configure failure
 Reporter:  larsv              |       Owner:  refold
     Type:  defect             |      Status:  new   
 Priority:  minor              |   Milestone:        
Component:  Windows installer  |    Keywords:        
 I've attempted to build Gtk2Hs against the 2009.2.0 platform using the
 MinGW and MSYS versions recommended on the GHC wiki [2] with current
 autoconf/automake/libtool to be able to autoconf Gtk2Hs
 I run into an issue while configuring as the Platform installs into a
 folder with spaces (/c/Program Files (x86)/Haskell Platform/2009.2.0).

 I'm unsure if the root cause is configure, Gtk2Hs or mingw, but it's most
 definitely due to there being spaces in the path. I assume there's a
 reason ghc usually installs to C:\ghc. This concern is lifted in ticket #6
 by claus as well.

 [1] -----8<-----
 checking for ghc... /c/Program Files (x86)/Haskell
 ./configure: line 4749: test: too many arguments
 checking version of GHC... ./configure: line 4763: /c/Program: No such
 file or directory

 configure: error: Gtj2Hs requires GHC 6.4 or later

 [2] http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation/Windows

Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/24>
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