Hello,

    I tried that looked at the file couldn't figure out what's going on.
Here is the file though (sorry if that is not allowed, I am not guru or
understand anything this is telling me, I hope you guys do):

./configure --without-authpam --without-authuserdb --enable-webpass=no
--without-authpwd --without-authshadow

error file:

--begin--
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:561: checking for a BSD compatible install
configure:614: checking whether build environment is sane
configure:671: checking whether make sets ${MAKE}
configure:710: checking for working aclocal
configure:723: checking for working autoconf
configure:736: checking for working automake
configure:749: checking for working autoheader
configure:762: checking for working makeinfo
configure:781: checking for gawk
configure:813: checking for gcc
configure:926: checking whether the C compiler (gcc  ) works
configure:942: gcc -o conftest    conftest.c  1>&5
configure:968: checking whether the C compiler (gcc  ) is a cross-compiler
configure:973: checking whether we are using GNU C
configure:1001: checking whether gcc accepts -g
configure:1044: checking for a BSD compatible install
configure:1097: checking whether ln -s works
configure:1120: checking for ranlib
configure:1150: checking how to run the C preprocessor
configure:1233: checking for errno.h
configure:1243: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/errno.h:36,
                 from configure:1239:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
configure: failed program was:
#line 1238 "configure"
#include "confdefs.h"
#include <errno.h>
configure:1233: checking for fcntl.h
configure:1233: checking for sys/fcntl.h
configure:1243: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1233: checking for sys/ioctl.h
configure:1243: gcc -E  conftest.c >/dev/null 2>conftest.out
In file included from /usr/include/sys/ioctl.h:27,
                 from configure:1239:
/usr/include/bits/ioctls.h:24: asm/ioctls.h: No such file or directory
In file included from /usr/include/sys/ioctl.h:30,
                 from configure:1239:
/usr/include/bits/ioctl-types.h:25: asm/ioctls.h: No such file or directory
configure: failed program was:
#line 1238 "configure"
#include "confdefs.h"
#include <sys/ioctl.h>
configure:1233: checking for sys/file.h
configure:1243: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1233: checking for unistd.h
configure:1270: checking for ANSI C header files
configure:1374: checking for sys/wait.h that is POSIX.1 compatible
configure:1418: checking for working const
configure:1493: checking for off_t
configure:1526: checking for pid_t
configure:1559: checking return type of signal handlers
configure:1601: checking for off64_t
configure:1620: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1613: `off64_t' undeclared (first use in this function)
configure:1613: (Each undeclared identifier is reported only once
configure:1613: for each function it appears in.)
configure:1613: parse error before `n'
configure:1615: `n' undeclared (first use in this function)
configure: failed program was:
#line 1607 "configure"
#include "confdefs.h"

#include <sys/types.h>

int main() {

off64_t n;

 n=0;

; return 0; }
configure:1646: checking for flock_t
configure:1672: gcc -c -g -O2  conftest.c 1>&5
configure: In function `main':
configure:1667: `flock_t' undeclared (first use in this function)
configure:1667: (Each undeclared identifier is reported only once
configure:1667: for each function it appears in.)
configure:1667: parse error before `t'
configure: failed program was:
#line 1652 "configure"
#include "confdefs.h"

#if     HAVE_CONFIG_H
#include        "config.h"
#endif
#include        <sys/types.h>
#if     HAVE_FCNTL_H
#include        <fcntl.h>
#endif
#if     HAVE_SYS_FCNTL_H
#include        <sys/fcntl.h>
#endif

int main() {

flock_t t;

; return 0; }
configure:1696: checking for setpgrp
configure:1724: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1749: checking for setpgrp
configure:1793: checking whether setpgrp takes no argument
configure:1821: gcc -o conftest -g -O2   conftest.c  1>&5
configure: In function `main':
configure:1813: too many arguments to function `setpgrp'
configure: failed program was:
#line 1801 "configure"
#include "confdefs.h"

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

/*
 * If this system has a BSD-style setpgrp, which takes arguments, exit
 * successfully.
 */
main()
{
    if (setpgrp(1,1) == -1)
 exit(0);
    else
 exit(1);
}

configure:1852: checking for fcntl
configure:1870: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1890: checking for flock
configure:1908: gcc -o conftest -g -O2   conftest.c  1>&5
In file included from /usr/include/errno.h:36,
                 from lockflock.c:20,
                 from configure:1899:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
configure: failed program was:
#line 1896 "configure"
#include "confdefs.h"

#define LL_OFFSET_TYPE off_t
#include "./lockflock.c"

int main() {

int n;

; return 0; }
configure:1928: checking for lockf
configure:1946: gcc -o conftest -g -O2   conftest.c  1>&5
locklockf.c: In function `ll_lockfd':
In file included from configure:1937:
locklockf.c:32: `errno' undeclared (first use in this function)
locklockf.c:32: (Each undeclared identifier is reported only once
locklockf.c:32: for each function it appears in.)
locklockf.c:32: `EINVAL' undeclared (first use in this function)
configure: failed program was:
#line 1934 "configure"
#include "confdefs.h"

#define LL_OFFSET_TYPE off_t
#include "./locklockf.c"

int main() {

int n;

; return 0; }
configure:1966: checking for locking method
configure:2017: gcc -o conftest -g -O2   conftest.c  1>&5
In file included from /usr/include/signal.h:294,
                 from locktest.c:18,
                 from configure:2013:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
configure: failed program was:
#line 2009 "configure"
#include "confdefs.h"

#define USE_FCNTL 1
#define LL_OFFSET_TYPE off_t
#include "./locktest.c"

configure:2071: gcc -o conftest -g -O2   conftest.c  1>&5
In file included from /usr/include/errno.h:36,
                 from lockflock.c:20,
                 from locktest.c:13,
                 from configure:2067:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/signal.h:294,
                 from locktest.c:18,
                 from configure:2067:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
configure: failed program was:
#line 2063 "configure"
#include "confdefs.h"

#define USE_FLOCK 1
#define LL_OFFSET_TYPE off_t
#include "./locktest.c"

configure:2125: gcc -o conftest -g -O2   conftest.c  1>&5
In file included from /usr/include/signal.h:294,
                 from locktest.c:18,
                 from configure:2121:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No such file or
directory
configure: failed program was:
#line 2117 "configure"
#include "confdefs.h"

#define USE_LOCKF 1
#define LL_OFFSET_TYPE off_t
#include "./locktest.c"
--end file--

Well there it is.... I do appreciate the amazingly quick response!

-Uri

----- Original Message -----
From: "Sam Varshavchik" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 04, 2000 8:12 PM
Subject: Re: Problems...


> On Mon, 4 Sep 2000, Uri wrote:
>
> > No matter what version or what I type in ./configure I always get:
> > checking for flock... no
> > checking for lockf... no
> > checking for locking method... configure: error: must
> > specify --with-locking-method option
> > configure: error: ./configure failed for liblock
> >
> > Redhat 6.1 system, kernel 2.2.12-20
> > Help :-)
>
> Examine the contents of liblock/config.log for exact error messages.
>
> --
> Sam
>
>

Reply via email to