Hugs98 Oct2002 release candidate available

Josef Svenningsson josefs@cs.chalmers.se
Tue, 22 Oct 2002 17:53:20 +0200 (MET DST)


Hi again,

Well, adding limits.h didn't seem to do it....

	/Josef

On Tue, 22 Oct 2002, Sigbjorn Finne wrote:

> Hi there,
>
> thanks for the report:
>
> - the -L option to cp is a GNUism (I believe), but isn't
>   really needed here (so I've dropped it.)
> - failure to compile Foreign.C.Error is due to the configure
>   script not checking for limits.h. This has been fixed in
>   the CVS sources, but to get going, just add limits.h
>   to the AC_CHECK_HEADERS list in src/unix/configure.in
>   (followed by the use of 'autoconf' to regenerate a
>    configure script.)
>
> hth
> --sigbjorn
>
> ----- Original Message -----
> From: "Josef Svenningsson" <josefs@cs.chalmers.se>
> To: "Sigbjorn Finne" <sof@galois.com>
> Cc: <hugs-bugs@haskell.org>
> Sent: Tuesday, October 22, 2002 07:07
> Subject: Re: Hugs98 Oct2002 release candidate available
>
>
> > Hi!
> >
> > When I tried to install install the new version I get the following
> > message:
> >
> > /bin/cp: illegal option -- L
> > Usage: cp [-f] [-i] [-p] f1 f2
> >        cp [-f] [-i] [-p] f1 ... fn d1
> >        cp -r|R [-f] [-i] [-p] d1 ... dn-1 dn
> > make: *** [install_libraries] Error 2
> >
> > I've never seen an L option for cp. Are we using an old version of it?
> >
> > Anyway. I edited the Makefile to remove the option. Now I get a couple of
> > other problems:
> >
> > [way down during installation]
> >
> > ./ffihugs +N +G -W +L"../libraries/Foreign/C/errno.c" Foreign.C.Error
> > In file included from
> >
> /.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/C
> /Error.c:16:
> >
> /.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/C
> /HsBase.h:
> > In function `__hscore_path_max':
> >
> /.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/C
> /HsBase.h:427:
> > `PATH_MAX' undeclared (first use in this function)
> >
> /.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/C
> /HsBase.h:427:
> > (Each undeclared identifier is reported only once
> >
> /.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/C
> /HsBase.h:427:
> > for each function it appears in.)
> > In file included from ../libraries/Foreign/C/errno.c:9:
> > ../libraries/Foreign/C/HsBase.h: In function `__hscore_path_max':
> > ../libraries/Foreign/C/HsBase.h:427: `PATH_MAX' undeclared (first use in
> > this function)
> > ../libraries/Foreign/C/HsBase.h:427: (Each undeclared identifier is
> > reported only once
> > ../libraries/Foreign/C/HsBase.h:427: for each function it appears in.)
> > runhugs: Error occurred
> >
> > [further down]
> >
> > Reading file
> >
> "/.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/
> C/Error.hs":
> > ERROR
> >
> "/.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/
> C/Error.hs"
> > - Error while running compilation command 'gcc -shared
> > "-I/.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/include"
> >
> "/.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/
> C/Error.c"
> > -o
> >
> "/.../chalmers.se/fs/cab/cs/work/proj/multi/home/lib/hugs/libraries/Foreign/
> C/Error.so"
> > ../libraries/Foreign/C/errno.c'
> >
> >
> > make: *** [install_libraries_ffi] Error 1
> >
> > uname: SunOS 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-5_10
> > gcc: gcc version 2.95.3 20010315 (release)
> >
> > What to do?
> >
> > /Josef
> >
>
>