xfs
[Top] [All Lists]

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

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
From: Jurgen Kramer <GTM.Kramer@xxxxxxxxxxxx>
Date: Wed, 24 Apr 2002 21:50:08 +0200
Cc: Chris Tooley <ctooley@xxxxxxxx>, linux-xfs@xxxxxxxxxxx
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
I am also not very lucky in compiling samba with ACL support:

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

Both samba and XFS come from CVS.

Greetings,

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>