[Mono-list] Mono 0.6 has been released
Garrett Rooney
rooneg@electricjellyfish.net
Thu, 23 Aug 2001 07:52:14 -0400
> * Availability:
>
> Runtime:
>
> http://www.go-mono.com/archive/mono-0.6.tar.gz
>
> Classes:
>
> http://www.go-mono.com/archive/mono-compiler-classes.0.6.tar.gz
>
just downloaded the runtime and gave it a shot on FreeBSD. configure
dies in libffi. here's the last bit that gets output...
checking whether byte ordering is bigendian... no
updating cache .././config.cache
creating ./config.status
creating include/Makefile
creating testsuite/Makefile
creating Makefile
creating fficonfig.h
fficonfig.h unchanged
.: Can't open ./config-ml.in: No such file or directory
configure: error: ./configure failed for libffi
if i try compiling anyway, it seems to work, but the compile fails in
the wrapper directory... here's the last of the output.
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/glib12
-I../.. -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-c wrapper.c -fPIC -DPIC -o .libs/wrapper.lo
In file included from wrapper.c:4:
wrapper.h:22: syntax error before `.'
wrapper.h:23: syntax error before `.'
wrapper.h:24: syntax error before `.'
wrapper.c: In function `mono_wrapper_fstat':
wrapper.c:41: structure has no member named `st_atimespec'
wrapper.c:42: structure has no member named `st_mtimespec'
wrapper.c:43: structure has no member named `st_ctimespec'
gmake[3]: *** [wrapper.lo] Error 1
gmake[3]: Leaving directory
`/usr/home/rooneg/0.6/mono-0.6/mono/wrapper'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/home/rooneg/0.6/mono-0.6/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/rooneg/0.6/mono-0.6'
gmake: *** [all-recursive-am] Error 2
i belive the problem comes from wrapper.h including sys/stat.h. if i
remove that, those particular errors go away, but i get further errors
later in the compile of course, because it needs the stuff in
sys/stat.h ;-( #includeing sys/stat.h directly in wrapper.c gets me
further, but i die still further, with it complaining about no member
st_atimespec, st_mtimespec, and st_ctimespec. a quick glance at the stat
man page says those are only defined when _POSIX_SOURCE is not
defined. i imagine we are defineing _POSIX_SOURCE somewhere. if we
wish to do so, we should be using these alternate fields instead:
time_t st_atime; /* time of last access */
long st_atimensec; /* nsec of last access */
time_t st_mtime; /* time of last data modification */
long st_mtimensec; /* nsec of last data modification */
time_t st_ctime; /* time of last file status change */
long st_ctimensec; /* nsec of last file status change */
i still haven't got around to actually trying to run any of this
stuff... more on that tonight, if i have a chance.
--
garrett rooney Unix was not designed to stop you from
rooneg@electricjellyfish.net doing stupid things, because that would
http://electricjellyfish.net/ stop you from doing clever things.