Darren Nay writes:
>
> If what you say is true then why was I able to compile mysql, qmail,
> vpopmail, pine, and several other programs. This is the first program in
I can't tell you that.
> which I have had this problem.. all others have worked. I am using gcc
> v2.95.2 if that makes any difference, and I've checked for the
> existance of the include/library files in which the configure program is
> looking for and they are all in the /usr/include, and /usr/lib
In that case, how do you explain -- for example -- the configure log below
that indicates that /usr/include/errno.h does not exist (as well as
/usr/include/unistd.h, and pretty much everything else)?
You will find the actual compiler diagnostics in config.log, which may be
useful.
> directories.
>
> Darren Nay - [EMAIL PROTECTED]
>
> On Tue, 11 Sep 2001, Sam Varshavchik wrote:
>
>> 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
>>
>>
>
--
Sam