URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16325>
Summary: Fixes needed to build coreutils on Interix (SFU or
SUA)
Project: GNU Core Utilities
Submitted by: woehlkmp
Submitted on: Tuesday 04/11/06 at 18:46
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
There are some relatively minor changes needed to build coreutils on Interix
(SFU 3.5 or SUA 5.2). Please consider integrating these into the next
release:
- 'configure' should not abort when it is unable to determine how to read the
mount table. There is a FIXME noting this!
- The targets 'shred' and 'sync' cannot be built because Interix has no
'sync'. 'sync' should be disabled; shred would need to be re-coded to not use
sync or should be disabled.
- src/ln.c needs the code 'if (0) symlink ("/foo", "/foo");' just before the
line 'linkfunc = symlink;'. If anyone knows WHY this is, I'd be curious to
know, but it fixes a compiler error.
- src/stat.c needs to remove the condition '&&
HAVE_STRUCT_STATVFS_F_BASETYPE' for including <sys/statvfs.h> and use
'HAVE_SYS_STATVFS_H' instead of 'HAVE_STRUCT_STATVFS_F_BASETYPE' when
deciding to use statvfs instead of statfs.
- src/setuidgid needs calls to setgroups() removed. I used:
#ifdef __INTERIX
# define setgroups(a,b) 0
#endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16325>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils