[Hugs-users] Missing Prelude

Ross Paterson ross at soi.city.ac.uk
Tue Mar 6 13:32:09 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



More information about the Hugs-Users mailing list