RE: how to compile acl patched coreutils under slackwarelinux?

"Russell Packer" <[email protected]> Fri, 22 Oct 2004 12:55:54 +0100
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <A0CB61816D3A634C91B373CE14106CA0012C298A@iron.int.arnoldinteractive.com>
I used Slackware.

I used ext-3 POSIX ACL (enabled in kernel)

I installed thelatest XFSprogs package.

I went to 

ftp://xfs.org/mirror/SGI/download/cmd_tars/

And installed two packages required - acl (version 2.2.23 or better) and
attr (version 2.4.16 or better).

The attr package was installed:

tar -zxvf attr-2.4.16.src.tar.gz
cd attr-2.4.16
./configure
make
make install
make install-lib
make install-dev

Then install the acl package:

tar -zxvf acl-2.2.3.src.tar.gz
cd attr-2.2.3
./configure
make
make install
make install-lib
make install-dev
ldconfig

Then I did coreutils

tar -zxvf coreutils-5.1.2.tar.gz
tar -zxvf coreutils-5.1.2-patch.tar.gz
patch -p0 -b < ../coreutils-patch/coreutils-5.1.2/coreutils-5.1.2.dif
patch -p1 -b < ../coreutils-patch/coreutils-5.1.2/coreutils-acl.diff
patch -p1 -b <
../coreutils-patch/coreutils-5.1.2/coreutils-acl+posix.diff
patch -p1 -b <
../coreutils-patch/coreutils-5.1.2/coreutils-acl+posix.diff
patch -p1 -b < ../coreutils-patch/coreutils-5.1.2/coreutils-xattr.diff
patch -p1 -b < ../coreutils-patch/coreutils-5.1.2/coreutils-sysinfo.diff
./configure
make
make install


Russell

> -----Original Message-----
> From: [email protected]
[mailto:[email protected]]
> On Behalf Of [email protected]
> Sent: 22 October 2004 12:18
> To: [email protected]
> Subject: [Acl-Devel] how to compile acl patched coreutils under
> slackwarelinux?
> 
> Hi all,
> 
> I am trying to get ACL for my Samba server to work under Slackware
Linux
> 10.0. But after patching coreutils-2.5.1 and ./configure (without
errors),
> I get this error during compilation (make):
> 
>
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-
> linux/bin/ld:
> cannot find -lpam
> collect2: ld returned 1 exit status
> make[3]: *** [su] Error 1
> make[3]: Leaving directory `/usr/src/coreutils-5.2.1/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/coreutils-5.2.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/coreutils-5.2.1'
> make: *** [all] Error 2
> 
> I know Slackware does not use PAM for authentication, so there are no
pam
> modules avail. on this machine. Do I have to install them, or can I
use
> some special configure options, in order to avoid this error?
> 
> Greetings and TIA, Matthias
> _______________________________________________
> acl-devel mailing list
> [email protected]
> http://acl.bestbits.at/mailman/listinfo/acl-devel


_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel