[GHC] #4497: hmatrix-0.10.0.0 fails to build with GHC 7.0.1 (worked with 7.0.0.20101111)

GHC cvs-ghc at haskell.org
Wed Nov 17 07:49:40 EST 2010


#4497: hmatrix-0.10.0.0 fails to build with GHC 7.0.1 (worked with 7.0.0.20101111)
---------------------------------------------------------+------------------
    Reporter:  luite                                     |        Owner:              
        Type:  bug                                       |       Status:  new         
    Priority:  normal                                    |    Milestone:              
   Component:  Compiler                                  |      Version:  7.0.1       
    Keywords:  hmatrix context reduction stack overflow  |     Testcase:              
   Blockedby:                                            |   Difficulty:              
          Os:  Windows                                   |     Blocking:              
Architecture:  Unknown/Multiple                          |      Failure:  None/Unknown
---------------------------------------------------------+------------------

Comment(by simonpj):

 Maybe the bug in `hmatrix` configure is that it only works with an
 installed compiler, or one in your PATH (rather than one specified with
 `--with-ghc`).  Alberto, might you fix this?

 So I followed your path but `./Setup configure` fell over again
 {{{
 ...
 Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config
 Using ranlib found on system at: /usr/bin/ranlib
 Using strip found on system at: /usr/bin/strip
 Using tar found on system at: /bin/tar
 No uhc found
 sh configure --with-compiler=ghc
 Checking foreign libraries... FAIL
  *** Sorry, I can't link GSL.
  *** Please make sure that the appropriate -dev packages are installed.
  *** You can also specify the required libraries using
  *** cabal install hmatrix --configure-option=link:lib1,lib2,lib3,etc.
 Reading parameters from ./hmatrix.buildinfo
 }}}
 So I hacked `configure.hs` manually to ignore the GSL stuff. Success.  I
 can reproduce the error.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4497#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list