xfs
[Top] [All Lists]

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

To: Chris Tooley <ctooley@xxxxxxxx>
Subject: Re: Can't get samba 2.2.3a to compile with ACL support (with logs)
From: Nathan Scott <nathans@xxxxxxx>
Date: Wed, 24 Apr 2002 08:40:49 +1000
Cc: samba@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <1019581365.26898.9.camel@xxxxxxxxxxxxxxx>; from ctooley@xxxxxxxx on Tue, Apr 23, 2002 at 12:02:44PM -0500
References: <20020418190627.6a4dc65c.cd@xxxxxxxxxxxx> <3CC05C1D.2080504@xxxxxxxxxxxxxxxxx> <20020420100247.H22886@xxxxxxxxxxxxxxxxxxxxxxxx> <1019581365.26898.9.camel@xxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
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.

-- 
Nathan


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