Darren Nay writes: 

> 
> Hello All, 
> 
> Well, I'm still having some problems while running ./configure for
> sqwebmail.  Different problems, but problems just the same.. 
> 
> I am now getting the following error: 
> 
> checking for errno.h... no
> checking for fcntl.h... (cached) no
> checking for sys/fcntl.h... no
> checking for sys/ioctl.h... no
> checking for sys/file.h... no
> checking for unistd.h... (cached) no
> checking for ANSI C header files... (cached) no
> checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
> checking for working const... (cached) yes
> checking for off_t... no
> checking for pid_t... (cached) no
> checking return type of signal handlers... (cached) void
> checking for off64_t... yes
> checking for flock_t... no
> checking for setpgrp... yes
> checking for setpgrp... (cached) yes
> checking whether setpgrp takes no argument... yes
> checking for fcntl... no
> 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 
> 
> I noticed that it said "checking for sys/fcntl.h... no", could that be the
> reason?

Yes. 

>         Do I need to set the include path somehow?

I doubt it.  Most compilers default to picking up the default directories by 
themselves.  It looks like you actually need to install the development 
software for your operating system.  Your system appears to be missing 
pretty much every development file and library. 

After you have installed a sane development environment, you will need to 
extract the source code into an empty directory, and rerun configure. 

-- 
Sam 

Reply via email to