[GRASS5] Re: [GRASSLIST:1960] can't find statvfs.h [r.terraflow on MaxOSX]
Hamish
hamish_nospam at yahoo.com
Wed Dec 10 01:53:17 EST 2003
> When building grass57, I get the following errors from main.cc:
>
> c++ -c -I./IOStream/include -DUSER=\"chris\" -DNODATA_FIX
> -D_FILE_OFFSET_BITS=64 -DELEV_FLOAT main.cc -o
> OBJ.powerpc-apple-darwin7.0.0/FLOAT/main.o
> main.cc:48:25: sys/statvfs.h: No such file or directory
> main.cc:52:17: gis.h: No such file or directory
> In file included from main.cc:56:
...
> I have NO idea why it can't find gis.h, as it is in the includes of
> both grass53 and grass57. Here is my configuration:
r.terraflow fails to compile on MacOSX 10.3 due to a missing sys/statvfs.h.
In Debian this file is included in the libc6-dev package.
It apparently supplies links to filesystem info.
Anyone know what Fink package or otherwise might supply this?
Or can the dependancy be written out of
src.contrib/DUKE/r.terraflow/main.cc
main.cc:#include <sys/statvfs.h>
main.cc: struct statvfs statbuf;
main.cc: statvfs(getenv(STREAM_TMPDIR), &statbuf);
?
thanks,
Hamish
More information about the grass-dev
mailing list