make errors, rsync 2.6.9 with acls patch
david
macosxforme at gmail.com
Mon Dec 4 03:53:20 GMT 2006
Hi. I'm attempting to compile rsync 2.6.9 with both the acls & xattr
patches on an MacBook pro (ie: Intel processor), with the latest
Apple Developer Tools. While this is OS X client, I've enabled acls
via "sudo /usr/bin/fsaclctl -p / -e" and rebooted, prior to
attempting to compile rsync. Is there something else inherent in OS X
Server perhaps, that I'm still missing in OS X client and is needed
for this to work ?
If I leave out the acls patch, I see a few warnings but no errors
when running "make".
However, when following the info in the xattrs.diff patch:
patch -p1 <patches/acls.diff
patch -p1 <patches/xattrs.diff
./prepare-source
./configure --enable-acl-support --enable-xattr-support
make
the following occurs:
Patching appears to go fine, no failure messages of any kind.
$ ./prepare-source
make: Nothing to be done for `gen'.
$ ./configure --enable-acl-support --enable-xattr-support
#end of output:
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... no
checking acl/libacl.h presence... no
checking for acl/libacl.h... no
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking whether to support ACLs... ACLs requested -- running tests
checking for acl_get_file in -lacl... no
checking for ACL support... yes
checking ACL test results... Using posix ACLs
checking for acl_get_perm_np... yes
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking whether to support extended attributes... Using OS X xattrs
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h
rsync 2.6.9 configuration successful
errors noted when running make:
racls.c: In function 'save_idas':
acls.c:243: error: 'ACL_USER' undeclared (first use in this function)
acls.c:243: error: (Each undeclared identifier is reported only once
acls.c:243: error: for each function it appears in.)
acls.c: In function 'unpack_smb_acl':
acls.c:284: error: 'ACL_READ' undeclared (first use in this function)
acls.c:285: error: 'ACL_WRITE' undeclared (first use in this function)
acls.c:289: error: 'ACL_USER_OBJ' undeclared (first use in this
function)
acls.c:295: error: 'ACL_USER' undeclared (first use in this function)
acls.c:297: error: 'ACL_GROUP_OBJ' undeclared (first use in this
function)
acls.c:303: error: 'ACL_GROUP' undeclared (first use in this function)
acls.c:305: error: 'ACL_MASK' undeclared (first use in this function)
acls.c:311: error: 'ACL_OTHER' undeclared (first use in this function)
acls.c: In function 'store_access_in_entry':
acls.c:381: error: 'ACL_READ' undeclared (first use in this function)
acls.c:383: error: 'ACL_WRITE' undeclared (first use in this function)
acls.c: In function 'pack_smb_acl':
acls.c:412: error: 'ACL_USER_OBJ' undeclared (first use in this
function)
acls.c:417: error: 'ACL_USER' undeclared (first use in this function)
acls.c:423: error: 'ACL_GROUP_OBJ' undeclared (first use in this
function)
acls.c:428: error: 'ACL_GROUP' undeclared (first use in this function)
acls.c:441: error: 'ACL_MASK' undeclared (first use in this function)
acls.c:447: error: 'ACL_OTHER' undeclared (first use in this function)
acls.c: In function 'receive_rsync_acl':
acls.c:667: error: 'ACL_USER' undeclared (first use in this function)
acls.c:677: error: 'ACL_GROUP' undeclared (first use in this function)
acls.c: In function 'change_sacl_perms':
acls.c:866: error: 'ACL_USER_OBJ' undeclared (first use in this
function)
acls.c:869: error: 'ACL_GROUP_OBJ' undeclared (first use in this
function)
acls.c:875: error: 'ACL_MASK' undeclared (first use in this function)
acls.c:883: error: 'ACL_OTHER' undeclared (first use in this function)
acls.c:865: warning: enumeration value 'ACL_UNDEFINED_TAG' not
handled in switch
acls.c:865: warning: enumeration value 'ACL_EXTENDED_ALLOW' not
handled in switch
acls.c:865: warning: enumeration value 'ACL_EXTENDED_DENY' not
handled in switch
acls.c: In function 'next_ace_id':
acls.c:1015: error: 'ACL_USER' undeclared (first use in this function)
acls.c: In function 'next_acl_uid':
acls.c:1050: error: 'ACL_USER' undeclared (first use in this function)
acls.c: In function 'next_acl_gid':
acls.c:1055: error: 'ACL_GROUP' undeclared (first use in this function)
make: *** [acls.o] Error 1
-- TIA,
David.
More information about the rsync
mailing list