Re: Hugs98 Oct2002 release candidate available

Josef Svenningsson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.