[Hugs-users] Missing Prelude

dfeustel at mindspring.com dfeustel at mindspring.com
Tue Mar 6 14:25:23 EST 2007


> On Tue, Mar 06, 2007 at 06:21:44PM +0000, Dave at haskell.org wrote:
> > I replaced installed Hugs and ghc with the newest versions which
> > I built myself. ghc works but hugs now exits with the message
> > 
> > __   __ __  __  ____   ___      _________________________________________
> > ||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
> > ||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
> > ||---||         ___||           World Wide Web: http://haskell.org/hugs
> > ||   ||                         Bugs: http://hackage.haskell.org/trac/hugs
> > ||   || Version: September 2006 _________________________________________
> > 
> > Haskell 98 mode: Restart with command line option -98 to enable extensions
> > 
> > Hugs.Prelude not found on current path: ".:{Home}/lib/hugs/packages/*:/usr/local/lib/hugs/packages/*"
> > 
> > FATAL ERROR: Unable to load prelude implementation
> > 
> > Where does hugs normally find the Hugs.Prelude file?
> 
> With these settings (which are the default),
> 
> 	/usr/local/lib/hugs/packages/hugsbase/Hugs/Prelude.hs
> 

ls: /usr/local/lib/hugs/packages/hugsbase/Hugs/P*: Permission denied

Thanks. Somehow directory /usr/local/lib/hugs had the x permissions removed from group and world which
removed my access to Prelude. I restored the permissions and hugs now works again.


More information about the Hugs-Users mailing list