Config Error in latest CVS?

Len Harold lharold at mrc.uidaho.edu
Wed Oct 21 18:34:35 GMT 1998


Guys,

I am anxiously wanting to test the new code but running configure
on an HP9000/D380 running a heavily patched HP-UX 10.20 fails with
the message:

 ERROR: No locking available. Running Samba would be unsafe

Looking back through the messages I see:

 ...
 checking for sys/fcntl.h... yes
 .
 checking for fcntl.h... yes
 ...
 checking for _fcntl... yes
 checking for __fcntl... no
 ...
 checking for fcntl locking... no
 checking for 64 bit fcntl locking... no
 ...

So it is finding the header files but not parsing them correctly.
Here is a small part of /usr/include/sys/fcntl.h:

 /* $Header: fcntl.h,v 1.30.98.12 98/02/18 06:24:10 dianes Exp $ */
 /*
  * @(#)fcntl.h $Date: 98/02/18 06:24:10 $ $Revision: 1.30.98.12 $ PATCH_10.20 (PHKL_14173)
  */
 ...
 #if !defined(_FILE64)
 #  define F_GETLK       5       /* Get file lock */
 #  define F_SETLK       6       /* Set file lock */
 #  define F_SETLKW      7       /* Set file lock and wait */
 #else
 #  define F_GETLK       8       /* FILE_OFFSET_BITS=64 name space */
 #  define F_SETLK       9       /* Map GET/SETLK to their 64-bit */
 #  define F_SETLKW      10      /* counter parts */
 #endif /* !_FILE64 */
 .
 #if defined(_LARGEFILE64_SOURCE) || defined(_KERNEL)
 #  define F_GETLK64     8       /* 64-bit get file lock */
 #  define F_SETLK64     9       /* 64-bit set file lock */
 #  define F_SETLKW64    10      /* 64-bit set file lock and wait */
 #endif /* _LARGEFILE64_SOURCE || _KERNEL */

That should be enough to prove that both types of file locking exists.

The old configure scripts have always worked, unfortunately I don't
have one around to diff against.

The entire output from ./configure is listed below my sig.  Feel free
to email me for more info.


thanks,
Len
--
  ___     ___    ___  ________  ______
 /|  |   /\  \  /|  \|\   _   \/\   __\      Len Harold
| |  |   \ \   - |   \ \  \_\ /_ \  \_/      Systems Engineer
| |   \   \ \  \ _|\  \ \   _   \ \  \___    Phone: 208-885-7034
| |    \   \ \__\/\ \__\ \__\ \__\ \_____\   Fax:   208-885-6840
| |*    |   \/__/  \/__/\/__/\/__/\/_____/   Email: len at mrc.uidaho.edu
|/\     |/\                                  Web:   www.mrc.uidaho.edu
 \/        \_/\
 /|            |   Microelectronics Research
| |            |   and Communications Institute
| |____________|   at the University of Idaho
|/____________/

--

loading cache ./config.cache
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... yes
checking whether the C compiler (cc  ) is a cross-compiler... no
checking whether we are using GNU C... no
checking for a BSD compatible install... /opt/imake/bin/install -c
checking for mawk... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking host system type... hppa1.0-hp-hpux10.20
checking target system type... hppa1.0-hp-hpux10.20
checking build system type... hppa1.0-hp-hpux10.20
checking config.cache system type... same
checking for autoconf... autoconf
checking for autoheader... autoheader
checking whether cc accepts -fpic... no
checking whether cc accepts -Kpic... no
checking whether cc accepts -KPIC... no
checking for inline... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... no
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for sys/unistd.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for grp.h... yes
checking for sys/id.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for net/if.h... yes
checking for compat.h... no
checking for rpc/types.h... yes
checking for rpc/xdr.h... yes
checking for rpc/auth.h... yes
checking for rpc/clnt.h... yes
checking for rpcsvc/yp_prot.h... yes
checking for rpcsvc/ypclnt.h... yes
checking for sys/param.h... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/ioctl.h... yes
checking for sys/mode.h... no
checking for sys/filio.h... no
checking for string.h... yes
checking for strings.h... yes
checking for stdlib.h... yes
checking for sys/socket.h... yes
checking for sys/mount.h... yes
checking for sys/vfs.h... yes
checking for sys/fs/s5param.h... no
checking for sys/filsys.h... yes
checking for termios.h... yes
checking for sys/statfs.h... no
checking for sys/dustat.h... no
checking for sys/statvfs.h... yes
checking for stdarg.h... yes
checking for sys/sockio.h... no
checking for shadow.h... no
checking for netinet/tcp.h... yes
checking for sys/security.h... no
checking for security/pam_appl.h... no
checking for stropts.h... yes
checking for poll.h... yes
checking for readline.h... no
checking for history.h... no
checking for readline/readline.h... no
checking for readline/history.h... no
checking for sys/capability.h... no
checking for syscall.h... yes
checking for sys/syscall.h... yes
checking for sys/acl.h... yes
checking for sys/cdefs.h... no
checking size of int... 4
checking size of long... 4
checking size of short... 2
checking for working const... no
checking for inline... (cached) no
checking whether byte ordering is bigendian... yes
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_rdev in struct stat... yes
checking for d_off in dirent... no
checking for ino_t... yes
checking for loff_t... no
checking for offset_t... no
checking for ssize_t... yes
checking for errno in errno.h... yes
checking for setresuid declaration... yes
checking for crypt declaration... yes
checking for real setresuid... yes
checking for 8-bit clean memcmp... yes
checking for crypt... yes
checking for pam_authenticate... no
checking for pam_authenticate in -lpam... no
checking for connect... yes
checking for waitpid... yes
checking for getcwd... yes
checking for strdup... yes
checking for strerror... yes
checking for chown... yes
checking for chmod... yes
checking for chroot... yes
checking for fstat... yes
checking for strchr... yes
checking for utime... yes
checking for utimes... yes
checking for getrlimit... yes
checking for fsync... yes
checking for execl... yes
checking for bzero... yes
checking for memset... yes
checking for memmove... yes
checking for vsnprintf... yes
checking for setsid... yes
checking for glob... yes
checking for strpbrk... yes
checking for pipe... yes
checking for crypt16... no
checking for getauthuid... no
checking for strftime... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for sigaction... yes
checking for innetgr... yes
checking for initgroups... yes
checking for select... yes
checking for rdchk... no
checking for getgrnam... yes
checking for pathconf... yes
checking for putprpwnam... no
checking for setuidx... no
checking for setgroups... yes
checking for mktime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for set_auth_parameters... no
checking for atexit... yes
checking for grantpt... yes
checking for getspnam... no
checking for dup2... yes
checking for lseek64... yes
checking for ftruncate64... yes
checking for fseek64... no
checking for ftell64... no
checking for bigcrypt... no
checking for getprpwnam... no
checking for setluid... no
checking for yp_get_default_domain... yes
checking for getpwanam... no
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for setenv... no
checking for _dup... yes
checking for _dup2... yes
checking for _opendir... yes
checking for _readdir... yes
checking for _seekdir... yes
checking for _telldir... yes
checking for _closedir... yes
checking for __dup... no
checking for __dup2... no
checking for __opendir... yes
checking for __readdir... no
checking for __seekdir... no
checking for __telldir... no
checking for __closedir... no
checking for __getcwd... no
checking for _getcwd... yes
checking for __xstat... no
checking for __fxstat... no
checking for __lxstat... no
checking for _stat... yes
checking for _lstat... yes
checking for _fstat... yes
checking for __stat... no
checking for __lstat... no
checking for __fstat... no
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking for _open... yes
checking for __open... no
checking for _chdir... yes
checking for __chdir... no
checking for _close... yes
checking for __close... no
checking for _fchdir... yes
checking for __fchdir... no
checking for _fcntl... yes
checking for __fcntl... no
checking for getdents... yes
checking for _getdents... yes
checking for __getdents... no
checking for _lseek... yes
checking for __lseek... no
checking for _read... yes
checking for __read... no
checking for _write... yes
checking for __write... no
checking for _fork... yes
checking for __fork... no
checking for _stat64... no
checking for __stat64... yes
checking for _fstat64... no
checking for __fstat64... yes
checking for _lstat64... no
checking for __lstat64... yes
checking for __sys_llseek... no
checking for llseek... no
checking for _llseek... no
checking for __llseek... no
checking for readdir64... no
checking for _readdir64... no
checking for __readdir64... no
checking for pread... no
checking for _pread... no
checking for __pread... no
checking for pread64... no
checking for _pread64... no
checking for __pread64... no
checking for pwrite... no
checking for _pwrite... no
checking for __pwrite... no
checking for pwrite64... no
checking for _pwrite64... no
checking for __pwrite64... no
checking for open64... yes
checking for _open64... no
checking for __open64... yes
checking for creat64... yes
checking for long long... yes
checking for 64 bit off_t... no
checking for off64_t... no
checking for 64 bit ino_t... no
checking for ino64_t... no
checking for union semun... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... no
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... no
checking if gettimeofday takes tz argument... yes
checking for broken readdir... no
checking for utimbuf... yes
checking for kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for test routines... yes
checking for ftruncate extend... yes
checking for broken getgroups... no
checking whether getpass should be replaced... no
checking for broken inet_ntoa... no
checking for root... no
checking for netmask ifconf... no
checking for netmask ifreq... no
checking for netmask AIX... no
checking for trapdoor seteuid... yes
checking for shared mmap... yes
checking for fcntl locking... no
checking for 64 bit fcntl locking... no
checking for sysv ipc... yes
checking whether to use AFS... no
checking whether to use DFS auth... no
checking whether to use Kerberos IV... no
checking whether to use AUTOMOUNT... no
checking whether to use SMBMOUNT... no
checking whether to use LDAP password database... no
checking whether to use NISPLUS password database... no
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use MMAP... no
checking whether to use syslog logging... no
checking whether to support netatalk... no
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... no
checking statvfs function (SVR4)... yes
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config


More information about the samba-ntdom mailing list