Hi Malcolm,

    I've installed the packages and the first problem was solved.  Now I'm receiving the following message:

ghc   -package lang -package util -package base   -i../hmake  -package lang -pac
kage util -package base -c -cpp  -o c:/nhc98-1.18/targets/ix86-CYGWIN_NT-5.1/obj
/interpreter/HInteractive.o HInteractive.hs
'h: line 19: syntax error near unexpected token `
make[1]: ** [c:/nhc98-1.18/lib/ix86-CYGWIN_NT-5.1/HInteractive.exe] Erro 2
make[1]: Leaving directory `/cygdrive/c/nhc98-1.18/src/interpreter'
make: ** [targets/ix86-CYGWIN_NT-5.1/hmake-ghc] Erro 2

Has anyone any idea about what may be happening?

Thanks,

Monique


On 11/17/05, Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> wrote:
Monique Louise <monique.louise@gmail.com> writes:

> I receive the following message when I try to compile and install nhc98 at
> WinXP:
>
> timeUnix.c :7:23: sys/times.h: No such file or directory

My guess is that your installation of Cygwin is missing the component
that provides some of the standard C header files.  <sys/times.h> is
part of the POSIX standard ( 4.5.2), and is normally supported by Cygwin.

Check (using Cygwin's setup.exe) that you have at least these packages
from the Devel category:

    gcc-mingw-core
    glib-devel

There may be others that are required also.

Regards,
    Malcolm
_______________________________________________
Nhc-users mailing list
Nhc-users@haskell.org
http://www.haskell.org/mailman/listinfo/nhc-users