xfs
[Top] [All Lists]

Re: Samba error during build when ACL support enabled

To: Federico Sevilla III <jijo@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: Samba error during build when ACL support enabled
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 20 Sep 2001 19:05:59 +1100
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0109201514500.29851-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>; from jijo@xxxxxxxxxxxxxxxxxxxx on Thu, Sep 20, 2001 at 03:16:02PM +0800
References: <2.1-3965581-253-B-OEWW@xxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.33.0109201514500.29851-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
hi,

On Thu, Sep 20, 2001 at 03:16:02PM +0800, Federico Sevilla III wrote:
> On Wed, 19 Sep 2001 at 23:42, John M Trostel wrote:
> > My copies here work fine.  I don't think you need to wait for any
> > "major ACL code merging work". The stuff SAMBA needs for day to day
> > operations is there and functional.
> 
> It's actually not the working that's a problem. Packages I built against I
> think the XFS tree circa kernel 2.4.8 still wrk, but I can't build any new
> packages because of the previously mentioned errors. :(
> 

I had a quick look - the problem seems to be this little gem
from the file "samba-2.2.1a/debian/config.cache":

...
# POSIX ACL support not present in Linux 2.2; not allowed in the
# Debian packages, even if present on the build machine.

ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no}

... this has the effect of forcing the configure script to not
find sys/acl.h, which has the follow-on effect of not defining
HAVE_SYS_ACL_H in the generated source/include/config.h header,
which then has the nasty effect of skipping over the sys/acl.h
include in the rest of the sources, which ultimately causes the
compile errors you see.

If you change the above debian/config.cache line to instead be:
ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=yes}
you should be right - it Works For Me (tm) anyway.

cheers.

-- 
Nathan


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