can not find prelude module

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

can not find prelude module

Liang Guang
 I originally used Redhat9.0, and the compilation is fine. But now I switched to Fedora 5, the compiler said it can not find prelude module!
 I used Yum to install the ghc-6.4.2, and it is put to into /usr/lib/ghc-6.4.2. I tried to add the directory to the makefile as :
  GHC_OPTS = -O2 -prof -auto-all -i../src:/usr/lib/ghc-6.4.2/
 I also tried 
  GHC_OPTS = -O2 -prof -auto-all -i../src:/usr/lib/ghc-6.4.2/imports
 but they didn't work.
I am quite confused, isn't it that the base library(like prelude module) should be included in the search path by default? How can I deal with the problem?

Thanks!
TOm



Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|

Re: can not find prelude module

sethk
If you repeat the make install step, things should work again.

On Fri, 18 Aug 2006 09:59:31 -0700 (PDT)
Liang Guang <[hidden email]> wrote:

>  I originally used Redhat9.0, and the compilation is fine. But now I switched to Fedora 5, the compiler said it can not find prelude module!
>  I used Yum to install the ghc-6.4.2, and it is put to into /usr/lib/ghc-6.4.2. I tried to add the directory to the makefile as :
>   GHC_OPTS = -O2 -prof -auto-all -i../src:/usr/lib/ghc-6.4.2/
>  I also tried  
>   GHC_OPTS = -O2 -prof -auto-all -i../src:/usr/lib/ghc-6.4.2/imports
>  but they didn't work.
> I am quite confused, isn't it that the base library(like prelude module) should be included in the search path by default? How can I deal with the problem?
>
> Thanks!
> TOm
>
>
>
>  
> ---------------------------------
> Do you Yahoo!?
>  Everyone is raving about the  all-new Yahoo! Mail Beta.
_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users