"ghci -package hpc" gives me unknown symbol `hs_hpc_rootModule'
mads_lindstroem at yahoo.dk
Mon Aug 13 17:29:35 EDT 2007
I have downloaded, build, and installed GHC. When I do:
it works fine. Bug when I do:
ghci -package hpc
GHCi, version 6.7.20070812: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Loading package old-locale-1.0 ... linking ... done.
Loading package old-time-1.0 ... linking ... done.
Loading package filepath-1.0 ... linking ... done.
Loading package directory-1.0 ... linking ... done.
Loading package array-0.1 ... linking ... done.
Loading package containers-0.1 ... linking ... done.
unknown symbol `hs_hpc_rootModule'
Loading package hpc-0.5 ... linking ... ghc-6.7.20070812: unable to load
What I really wanted to do was to use the GHC-package (GHC as a library
package). But, for some reason, it loads the HPC package and thus fails (as seen
Can anybody explain what I do wrong or if this is a bug in GHC?
I am running on Debian stable on x86 hardware. I used the following build script:
rm -rf $HOME/ghc
darcs get --partial http://darcs.haskell.org/ghc
chmod +x darcs-all
./darcs-all --extra get
If anybody is interested I can provide the complete output of the build.
More information about the Cvs-ghc