I'm attempting to update a Slackware 7.0-based machine which is very happily running Samba-2.2.0 to Samba-2.2.3a in order to get it to play nicely with a Windows 2000 box. However, I'm running into a problem at configure time, because 2.2.3a steadfastly insists that there is no file locking available on my machine. I configure it as follows: .../samba-2.2.3a/source:8 # ./configure --prefix=/opt/samba --with-readline --with-smbmount And I get this: ... ... checking for working mmap... yes checking for ftruncate needs root... no checking for fcntl locking... no checking for broken (glibc2.1/x86) 64 bit fcntl locking... no checking for 64 bit fcntl locking... no checking for st_blocks in struct stat... yes checking for broken RedHat 7.2 system header files... no ... ... checking configure summary ERROR: No locking available. Running Samba would be unsafe configure: error: summary failure. Aborting config Since Samba-2.2.0 finds file locks quite happily, can anyone tell me why Samba-2.2.3a is failing? Could this be occurring because I'm building on an NFS-mounted filesystem? -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.
On Mon, Mar 25, 2002 at 08:32:32PM -0800, Phil Stracchino wrote:> I'm attempting to update a Slackware 7.0-based machine which is very > happily running Samba-2.2.0 to Samba-2.2.3a in order to get it to play > nicely with a Windows 2000 box. However, I'm running into a problem at > configure time, because 2.2.3a steadfastly insists that there is no file > locking available on my machine. > ... > > Since Samba-2.2.0 finds file locks quite happily, can anyone tell me why > Samba-2.2.3a is failing? Could this be occurring because I'm building on > an NFS-mounted filesystem?Actually, answering my own question: Yes, this IS because I was building on an NFS-mounted filesystem. Beware. -- ********* Fight Back! It may not be just YOUR life at risk. ********* phil stracchino :: alaric@babcom.com :: halmayne@sourceforge.net unix ronin :::: renaissance man :::: mystic zen biker geek 2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold) Linux Now! ...because friends don't let friends use Microsoft.