[GHC] #4104: ghc-pkg refuses to register packages if some include
directories don't exist
GHC
cvs-ghc at haskell.org
Sat May 29 09:44:59 EDT 2010
#4104: ghc-pkg refuses to register packages if some include directories don't
exist
---------------------------------+------------------------------------------
Reporter: mux | Owner:
Type: bug | Status: new
Priority: normal | Component: Package system
Version: 6.12.2 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
When registering a package, ghc-pkg fails with an error if any of the
include directories do not exist. This is fine in general, but causes
installation failures with gtk2hs. This is because the gtk2hs build tools
will add all the directories given by "pkg-config --cflags gtk+-2.0",
which typically contains lots of redundant and possibly non-existent
directories, depending on your operating system.
Maybe ghc-pkg should just warn instead?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4104>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list