[GHC] #820: problem compiling a file with top level Template Haskell splice

GHC trac at galois.com
Thu Sep 28 07:41:49 EDT 2006


#820: problem compiling a file with top level Template Haskell splice
-------------------------------+--------------------------------------------
  Reporter:  guest             |          Owner:                
      Type:  bug               |         Status:  closed        
  Priority:  normal            |      Milestone:  6.6           
 Component:  Template Haskell  |        Version:  6.4.2         
  Severity:  normal            |     Resolution:  invalid       
  Keywords:                    |             Os:  Linux         
Difficulty:  Unknown           |   Architecture:  x86_64 (amd64)
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 This looks like a problem with the JRegex package rather than a GHC bug to
 me.  JRegex apparently depends on the pcre library, so its package
 description should have pcre in extra-libraries.  Passing -lpcre on the
 command line may hide the problem for batch compilation, but GHCi and
 template haskell expose the error.

 In fact, the darcs repository of JRegex does indeed have the right
 dependency, so just update JRegex.

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


More information about the Glasgow-haskell-bugs mailing list