[haskell-platform] #208: Compiling with extra libraries in Windows doesn't work with whitespaces in platform folder

haskell-platform haskell-platform at projects.haskell.org
Tue Aug 28 16:54:13 BST 2012


#208: Compiling with extra libraries in Windows doesn't work with whitespaces in
platform folder
---------------------------+------------------------------------------------
 Reporter:  neothemachine  |       Owner:  dons
     Type:  defect         |      Status:  new 
 Priority:  critical       |   Milestone:      
Component:  Platform       |    Keywords:      
---------------------------+------------------------------------------------
 I tried to do the following:

 >cabal install monadiccp --flags="RuntimeGecode Debug" --extra-lib-
 dirs="D:\Programme\Gecode\bin;D:\Programme\Gecod
 e\lib" --extra-include-dirs=D:\Programme\Gecode\include\ --reinstall

 But that didn't work. The errors I saw with -v3 indicate that gcc.exe is
 somehow executed wrongly, e.g.:

 realgcc.exe: Platform\2012.2.0.0\lib\time-1.4\include
 -ID:\programme\Haskell:Invalid argument

 It cuts off at the first whitespace, as if there are no " " around the
 paths. See the attached log file.

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