[jhc] how to use jhc
isaacdupree at charter.net
Fri Oct 5 12:13:07 EDT 2007
I'm trying to run Jhc again, following docs/using.txt. "(g)make" works.
make install PREFIX=/Users/me/programming/instjhc/ complains
install -d "/Users/me/programming/instjhc//bin"
install jhc "/Users/me/programming/instjhc//bin"
ln -sf "/Users/me/programming/instjhc//bin/jhc"
install -d "/Users/me/programming/instjhc//lib/jhc-0.1"
install base-1.0.hl haskell98-1.0.hl
real_install: cannot stat `base-1.0.hl': No such file or directory
real_install: cannot stat `haskell98-1.0.hl': No such file or directory
make: *** [install] Error 1
so I tried compiling something without installing
Compiling Main.hs 'main=putStrLn"hello"' with any combination of JHCPATH
and JHCLIBPATH I tried, errors like this:
jhc -vvvv Main.hs
jhc 0.1 20071005 (obderaty+0)
Compiling [Right "Main.hs"]
Loading libraries: ["base","haskell98"]
user error (LibraryMap: Library base not found!)
More information about the jhc