[nhc-bugs] Re: Error building hmake-3.00 in RH Linux with ghc-5.02.2

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Mon, 21 Jan 2002 18:44:34 +0000


> Compiling hmake-3.00 with ghc-5.02.2 in my RedHat Linux 7.2 box gives
> me the following errors.
> 
>   $ ./configure --prefix=/usr --mandir=/usr/share/man/man1
>         --buildwith=ghc --buildopts=-O
>   [...]
> 
>   $ make 'OPT=-O2 -march=i386 -mcpu=i686'
>   [...]
>   sh /home/romildo/rpmbuild/BUILD/hmake-3.00/targets/ix86-Linux/hmake3.config
>   hmake-config: Warning: Config file not found:
>     '/home/romildo/rpmbuild/BUILD/hmake-3.00/lib/ix86-Linux/hmakerc'
>   hmake-config: Starting new config from scratch.
>   Fail: Can't find ghc includes at /imports
>   Fail: Can't find ghc includes at /imports
>   hmake-config: compiler not known:
>     'ghc'
>   make[1]: *** [config] Error 2

It looks like there is some trouble detecting the import directories
for your installation of ghc.  What version of ghc do you have?
What is the full path to ghc's driver script?  And does the driver
script contain a line like this:

    libdir='/usr/local/lib/ghc-5.00.1'

Regards,
    Malcolm