install problem (with fix)

Jay Glascoe jay@cobite.com
Fri, 18 Jan 2002 14:38:17 -0500 (EST)


hello Hugs Bugs!

I had one small problem installing and running the latest graphics 
library (graphics-2.0.4) on Linux. Long story short: conflicting 
library files due to previous hugs installations. Old "NumExts.hs" 
shadowing new "NumExts.lhs" file.

Short story long ;-)  :

runhugs -Pgraphics-2.0.4/lib/x11: graphics-2.0.4/demos/HelloWorld.hs

yields the error

ERROR "graphics-2.0.4/lib/x11/GraphicsWindow.hs" - Unknown entity "showHex" imported from module "NumExts"

The problem was that there was an old "NumExts" library hanging on 
in the lib/exts dir

# ls -lArt /usr/local/share/hugs/lib/exts/
total 964
-rw-r--r--    1 root     root          146 Apr 11  2001 NumExts.hs
-rw-r--r--    1 root     root         4479 Jan 18 14:14 IOExts.hs
-rw-r--r--    1 root     root         4769 Jan 18 14:14 HtmlBlockTable.lhs
[...]
-rw-r--r--    1 root     root         2252 Jan 18 14:14 NumExts.lhs
[...]

problem resolved by simply removing the offending "NumExts.hs"

--  
Jay Glascoe  |  Software Developer  |  COBITE