<div>Thanks! It is a very helpful hint..</div> <div>I didnot find the profiling library for ghc-6.8.2, so I installed ghc661-prof, but the yum ( i use fedora 8) installed the latest ghc-6.8.2, so they end up in different directories..</div> <div>now it is working.</div> <div> </div> <div>Cheers,</div> <div>Liang</div> <div><BR><BR><B><I>Daniel Fischer <daniel.is.fischer@web.de></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Am Freitag, 18. April 2008 22:14 schrieb Liang Guang:<BR>> Hi!<BR>> the ghc compiler keeps complaing " can't find module 'Char', perhaps you<BR>> haven't installed the profiling libraries for package haskell98?". but<BR>> actually I did install it, and i checked with ghc -v , it is right there:<BR>> "wired-in package haskell98 mapped to haskell98-1.0.1.0", and Char.hi is<BR>> right there in the folder haskell98-1.0.1.0.. can't figure out why
it<BR>> happened.. anyone please ?<BR>><BR>><BR>> Thanks!<BR>> Liang<BR><BR>On second reading, ghc asks for profiling libraries for haskell98, that would <BR>mean you should look for Char.p_hi. If there are no *.p_hi files in the <BR>folder, that library wasn't built for profiling and you should do that then,<BR><BR>runghc ./Setup.hs configure -p<BR>runghc ./Setup.hs build<BR>runghc ./Setup.hs haddock<BR>runghc ./Setup.hs install<BR><BR>Hope this helps,<BR>Daniel<BR></BLOCKQUOTE><BR><p> 
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>