Re: Problems in nhc98 compilation

Monique Louise <[email protected]> Mon, 21 Nov 2005 08:59:10 -0200
Newsgroups gmane.comp.lang.haskell.nhc.user
Message-ID <[email protected]>
--===============0856312211==
Content-Type: multipart/alternative; 
	boundary="----=_Part_35178_7606267.1132570750759"

------=_Part_35178_7606267.1132570750759
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 <[email protected]> wrote:
>
> Monique Louise <[email protected]> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/nhc-users
>

------=_Part_35178_7606267.1132570750759
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br>
Hi Malcolm,<br>
<br>
&nbsp;&nbsp;&nbsp; I've installed the packages and the first problem was so=
lved.&nbsp; Now I'm receiving the following message:<br>
<br>
ghc&nbsp;&nbsp; -package lang -package util -package base&nbsp;&nbsp; -i../=
hmake&nbsp; -package lang -pac<br>
kage util -package base -c -cpp&nbsp; -o c:/nhc98-1.18/targets/ix86-CYGWIN_=
NT-5.1/obj<br>
/interpreter/HInteractive.o HInteractive.hs<br>
'h: line 19: syntax error near unexpected token `<br>
make[1]: ** [c:/nhc98-1.18/lib/ix86-CYGWIN_NT-5.1/HInteractive.exe] Erro 2<=
br>
make[1]: Leaving directory `/cygdrive/c/nhc98-1.18/src/interpreter'<br>
make: ** [targets/ix86-CYGWIN_NT-5.1/hmake-ghc] Erro 2<br>
<br>
Has anyone any idea about what may be happening?<br>
<br>
Thanks,<br>
<br>
Monique<br>
<br><br><div><span class=3D"gmail_quote">On 11/17/05, <b class=3D"gmail_sen=
dername">Malcolm Wallace</b> &lt;<a href=3D"mailto:[email protected].=
ac.uk">[email protected]</a>&gt; wrote:</span><blockquote class=
=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin=
: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Monique Louise &lt;<a href=3D"mailto:[email protected]">monique.loui=
[email protected]</a>&gt; writes:<br><br>&gt; I receive the following message wh=
en I try to compile and install nhc98 at<br>&gt; WinXP:<br>&gt;<br>&gt; tim=
eUnix.c
:7:23: sys/times.h: No such file or directory<br><br>My guess is that your =
installation of Cygwin is missing the component<br>that provides some of th=
e standard C header files.&nbsp;&nbsp;&lt;sys/times.h&gt; is<br>part of the=
 POSIX standard (
4.5.2), and is normally supported by Cygwin.<br><br>Check (using Cygwin's s=
etup.exe) that you have at least these packages<br>from the Devel category:=
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;gcc-mingw-core<br>&nbsp;&nbsp;&nbsp;&nbsp;g=
lib-devel<br><br>There may be others that are required also.
<br><br>Regards,<br>&nbsp;&nbsp;&nbsp;&nbsp;Malcolm<br>____________________=
___________________________<br>Nhc-users mailing list<br><a href=3D"mailto:=
[email protected]">[email protected]</a><br><a href=3D"http://www.h=
askell.org/mailman/listinfo/nhc-users">
http://www.haskell.org/mailman/listinfo/nhc-users</a><br></blockquote></div=
><br>

------=_Part_35178_7606267.1132570750759--

--===============0856312211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Nhc-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/nhc-users

--===============0856312211==--