[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
 correctly.

 {{{
 >ghc-pkg describe zlib
 ...
 import-dirs: $topdir\extralibs\zlib-0.5.2.0\ghc-6.12.1
 library-dirs: $topdir\extralibs\zlib-0.5.2.0\ghc-6.12.1
 include-dirs: $topdir\extralibs\zlib-0.5.2.0\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
 {{{zlib.h}}}:

 {{{
 >ghc-pkg field zlib include-dirs
 include-dirs:
 C:/Haskell/Platform/2010.1.0.0\lib\extralibs\zlib-0.5.2.0\ghc-6.12
 .1\include
 }}}

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

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

-- 
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