Sam, it didn't help, here is liblock/config.log information:
configure:1601: checking for off64_t
configure:1620: gcc -c -g -O2 -I/usr/local/include/mysql conftest.c 1>&5
configure: In function `main':
configure:1613: syntax error before `n'
configure:1615: `n' undeclared (first use in this function)
configure:1615: (Each undeclared identifier is reported only once
configure:1615: for each function it appears in.)
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 -I/usr/local/include/mysql conftest.c 1>&5
configure: In function `main':
configure:1667: syntax 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 -I/usr/local/include/mysql
-L/usr/local/l
ib/mysql conftest.c -L/usr/local/lib/mysql -lmysqlclient
-L/usr/home/vpopmail/li
b 1>&5
configure:1749: checking for setpgrp
configure:1793: checking whether setpgrp takes no argument
/Kimmo Hedman
> Kimmo writes:
>
>
> > After that i got different compile errors, like:
> >
> > checking for lockf... (cached) yes
> > checking for locking method... configure: error: --with-locking-method
> > option required
> > configure: error: ./configure failed for liblock
> > ns1#
>
> Delete config.cache, and try again. If this error still persists, examine
> liblock/config.log
>
>
>
>
>