bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Acl-Devel] Coreutils fails to recognize ACL libs during configure


From: Andreas Gruenbacher
Subject: Re: [Acl-Devel] Coreutils fails to recognize ACL libs during configure
Date: Fri, 30 Jan 2004 00:42:27 +0100

Hello,

On Thu, 2004-01-29 at 21:58, Necos Secon wrote:
> I have a system running Slackware 9.0 (upgraded to current) with the 
> following specs:
> 
> gcc 3.3.2
> glibc 2.3.2 (with sscanf patch)
> EA/ACL/NFS patch 0.85 (downloaded acl.bestbits.at) with kernel 2.4.24
> acl-2.2.22 (downloaded from SGI's ftp)
> attr-2.4.13 (downloaded from SGI's ftp)
> 
> As of right now, my ext3 partitions are mounted with acl enabled, and Samba 
> compiled just fine with acl support. However, when I tried to compile 
> coreutils-5.1.2 to use my acl libs and headers, I got this:
> 
> checking sys/acl.h usability... yes
> checking sys/acl.h presence... yes
> checking for sys/acl.h... yes
> checking for acl... no

That is the test for the acl(2) system call which exists on Solaris and
a few other UNIXes. Check for the acl_get_file test for Linux.

> After getting this error a couple of times, I tried applying the 
> coreutils-5.0 patches. There are 6 patches. I tried apply the first 3 
> (coreutils-5.0.dif, coreutils-acl.diff, coreutils-acl+posix.diff), but all 
> three failed at some point.

I have uploaded a current snapshow of the patches for coreutils-5.1.2.
They should work for you.

> After investigating the patches, I noticed that the 2 acl patches are for 
> coreutils 4.x.

Well, the patches did still apply to coreutils-5.0.

> However, the patches do, indeed add acl lib checking to the 
> m4 files (to my knowledge, these are used with automake and m4), which 
> should detect the libraries and enable the acl code in coreutils. Further 
> investigation shows that the acl.m4 file that is included with coreutils 
> lacks this extra code, and as such, the patch should work. Maybe I'm missing 
> something with the patching. Were the patches made with a different version 
> of diff (I have 2.8.1 installed)?

Yes, with a slightly newer one, but that doesn't matter.


Regards,
-- 
Andreas Gruenbacher <address@hidden>
SUSE Labs, SUSE LINUX AG





reply via email to

[Prev in Thread] Current Thread [Next in Thread]