[jhc] trouble with jhc 0.7.1

David Roundy roundyd at physics.oregonstate.edu
Thu Aug 27 07:08:43 EDT 2009


I just installed jhc 0.7.1 from the tarball, and it seems to be unable
to find its libraries:

$ jhc hello.hs -o hello
jhc hello.hs -o hello
jhc 0.7.1 (0.7.0-13)
Finding Dependencies...
Using Ho Cache: '/mnt/home/droundy/.jhc/cache'
Library was not found 'base'

I compiled jhc using "./configure --prefix=$HOME/local; make; make
install; ln -s $HOME/local/lib/jnc $HOME/bin/".

Running --list-libraries gives the results:

$ jhc --list-libraries
Search path:
/mnt/home/droundy/lib/jhc-0.7
/mnt/home/droundy/lib/jhc
/usr/local/lib/jhc-0.7
/usr/local/lib/jhc
/usr/lib/jhc-0.7
/usr/lib/jhc
/mnt/home/droundy/share/jhc-0.7
/mnt/home/droundy/share/jhc
/usr/local/share/jhc-0.7
/usr/local/share/jhc
/usr/share/jhc-0.7
/usr/share/jhc
/mnt/home/droundy/local/share/jhc-0.7
Libraries found:

Which is odd, because:

$ ls /mnt/home/droundy/local/share/jhc-0.7
applicative-1.0.hl  containers-0.2.0.hl  include
base-1.0.hl         haskell98-1.0.hl     jhc-1.0.hl

Any idea what might be going wrong? I haven't looked at the source
code at all, but a quick strace showed that jhc --list-libraries is
indeed opening all these .hl files.  I've no idea why it isn't showing
them as being found.
--
David Roundy


More information about the jhc mailing list