On Sun, 15 Jul 2001, Federico Sevilla III wrote:
> Hi everyone,
>
> This is slightly off-topic in that it's more about Samba than it is about
> XFS. I hope this will be forgiven.
>
> I know that some XFS users have gotten Samba 2.2.x to work with XFS ACLs.
> I can't seem to get Samba 2.2.1a to compile properly (failing in the
> configure stage) with ACL support. I am using Debian with the 2.4.7-pre6
> kernel from the XFS CVS. I have the following packages built and installed
> thanks to the wonderful Debian build scripts available in the XFS CVS tree
> (I thought you guys were RedHat-centric, but discovering these wonderful
> debian build scripts in the major cmd packages made me really happy):
Even some SGI people run debian I guess :-)
> acl-dev_1.0.8_i386.deb
> acl_1.0.8_i386.deb
> attr-dev_1.0.4_i386.deb
> attr_1.0.4_i386.deb
> xfsdump_1.0.9_i386.deb
> xfslibs-dev_1.3.0_i386.deb
> xfsprogs_1.3.0_i386.deb
>
> These were all built (including my kernel) using the Debian prerelease of
> gcc 2.95.4.
Should be ok.
> I have the latest source package of Samba 2.2.1a (with the Debian build
> scripts thanks to the maintainer). I modified the line calling configure
> to add the --with-acl-support parameter so it now reads:
>
> [ -f source/Makefile ] || (cd source && ./configure --with-fhs \
> --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba \
> --with-lockdir=/var/state/sa mba --localstatedir=/var --with-netatalk \
> --with-smbmount --with-pam --with-syslo g --with-sambabook \
> --with-utmp --with-readline --with-acl-support)
>
> Which looks correct. Unfortunately running debian/rules build from
> /usr/src/samba/samba-2.2.1a yields the following:
>
> ...
> checking for two-argument statfs with statfs.fsize member (4.4BSD and
> NetBSD)... no
> checking for two-argument statfs with struct fs_data (Ultrix)... no
> checking 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 configure summary
> configure: error: summary failure. Aborting config
> make: *** [configure-stamp] Error 1
>
> Note: part of the snipped output reported that checks for _acl and __acl
> yielded in "no" results.
can you locate libacl.a? Maybe the lib ended up in the wrong place.
You installed all the packages referenced above?
If not you can decide to fix the packages or put the dir to the lib in
your /etc/ld.so.conf and run ldconfig.
> Hmm ... I wonder what I'm doing wrong. I do believe I have all the
> necessary packages properly installed. The acl-dev package contains
> /usr/include/sys/acl.h which I think is where the file should be.
Correct.
> I hope someone who has done this before can help me out. Also, reading
> material on Samba and ACLs aside from http://acl.bestbits.at/ would be
> really great.
I don't really know if there are other locations for ACL information.
Cheers
Seth
|