[haskell-platform] #124: Windows installer messes up directory structure

haskell-platform haskell-platform at projects.haskell.org
Thu Jul 1 16:09:54 EDT 2010

#124: Windows installer messes up directory structure
 Reporter:  Toxaris            |        Owner:  refold  
     Type:  defect             |       Status:  assigned
 Priority:  major              |    Milestone:          
Component:  Windows installer  |   Resolution:          
 Keywords:                     |  
Comment (by Toxaris):

 From what I can tell, the zlib packages may actually be registered

 >ghc-pkg describe zlib
 import-dirs: $topdir\extralibs\zlib-\ghc-6.12.1
 library-dirs: $topdir\extralibs\zlib-\ghc-6.12.1
 include-dirs: $topdir\extralibs\zlib-\ghc-6.12.1\include
 includes: zlib.h

 So with an appropriate {{{$topdir}}}, this should work.

 And {{{ghc-pkg field zlib include-dirs}}} returns the correct path to the

 >ghc-pkg field zlib include-dirs

 This is the correct path, but this path is not passed to {{{gcc}}} when
 using {{{cabal install}}}. Instead, {{{...\2010.1.0.0\extralibs\...}}} is

 So maybe {{{$topdir}}} is sometimes expanded correctly to
 {{{c:/Haskell/Platform/2010.1.0.0/lib}}}, and sometimes incorrectly to

Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/124#comment:4>
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