I've got Redhat 6.2 kernel 2.2.18 and have been running samba 2.07. When I try to configure samba 2.2.0, the configure bombs out with an error ERROR: No locking available. Running Samba would be unsafe with what I think relevant lines from the configure output are: checking for Linux kernel oplocks... no checking for fcntl locking... no Is there something I have to enable in the Kernel for samba 2.2?
On Wed, 18 Apr 2001, Darrin Yeager wrote:> ERROR: No locking available. Running Samba would be unsafe > > with what I think relevant lines from the configure output are: > > checking for Linux kernel oplocks... noNot available in kernel 2.2 (you need 2.4 for this).> checking for fcntl locking... noBut that should be there. Check your config.log and see why it fails. You may have a problem with your system header files. /Urban
On Wed, 18 Apr 2001, Darrin Yeager wrote:> I've got Redhat 6.2 kernel 2.2.18 and have been running samba 2.07. > When I try to configure samba 2.2.0, the configure bombs out with > an error > > ERROR: No locking available. Running Samba would be unsafeIs your Samba source tree on an NFS mounted filesystem, by any chance? If so, you can work around this by making sure that you do the build on a local filesystem. The following works okay for me on RedHat: $ mkdir /var/tmp/samba $ cd /var/tmp/samba $ /path/to/samba/distribution/source/configure $ make Regards, -- Neil Hoggarth Departmental Computer Officer <neil.hoggarth@physiol.ox.ac.uk> Laboratory of Physiology http://www.physiol.ox.ac.uk/~njh/ University of Oxford, UK