xfs
[Top] [All Lists]

Re: Can't get samba 2.2.3a to compile with ACL support (with logs) Now w

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Can't get samba 2.2.3a to compile with ACL support (with logs) Now works!
From: Jurgen Kramer <GTM.Kramer@xxxxxxxxxxxx>
Date: Wed, 24 Apr 2002 22:02:03 +0200
References: <20020418190627.6a4dc65c.cd@xxxxxxxxxxxx> <3CC05C1D.2080504@xxxxxxxxxxxxxxxxx> <20020420100247.H22886@xxxxxxxxxxxxxxxxxxxxxxxx> <1019581365.26898.9.camel@xxxxxxxxxxxxxxx> <20020424084049.M63455@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
Ok after upgrading to the very latest CVS version of XFS it works:

checking whether to support ACLs... checking for acl_get_file in -lacl... yes
checking for ACL support... yes
Using posix ACLs
checking for acl_get_perm_np... no

I thought I was up to date with a 2 day old XFS version from CVS...;-)

Cheers,

Jurgen



Nathan Scott wrote:

On Tue, Apr 23, 2002 at 12:02:44PM -0500, Chris Tooley wrote:

I did make the switch in configure from -lacl -lattr and faired no
better results.  I'm using XFS version 1.1 from the 2.4.9-31SGI_XFSsmp
kernel.

checking if large file support can be enabled... yes
checking whether to support ACLs... checking for acl_get_file in
-lattr... no
checking for ACL support... no


Your configure changes are incorrect - they're looking in the wrong
library for acl_get_file (which is in libacl, not libattr), as I
said earlier you need to link with both libraries.

It has been pointed out that we can do a better job when building
libacl so that it knows it depends on libattr (in fact this was
done at one point, but was accidentally dropped from the Makefile).
If you build and install the acl code from XFS CVS (have a look
though cmd/acl/doc/INSTALL), you should find that Samba gets
built correctly with no changes at all now.

cheers.




<Prev in Thread] Current Thread [Next in Thread>