Hi Henrik,
Thank you for the reply. I have managed to make install successfully by
remarking off line 528 to 534 and line 567 to 575 the following in
store_dir.c. Regards.
From: Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>
To: squid squid <squidusr@xxxxxxxxxxx>
CC: squid-users@xxxxxxxxxxxxxxx
Subject: Re: Make install error
Date: Sat, 05 May 2007 11:53:42 +0200
ons 2007-05-02 klockan 13:46 +0800 skrev squid squid:
> Hi,
>
> Both man statfs and statvfs returns No manual entry and I am trying to
> compile on Solaris 2.5.1. Kindly advise what are the things to look out
for
> in config.log to determine the problem. Thank you.
Without access to a Solaris 2.5.1 machine it's hard to advise in detail
what to do, but I guess if everything else fails you can try modifying
the failing functions and hardcode some values for the filesystem block
size.
But it is a bit odd.. this code is very old, and many users have been
running Squid on Solaris without running into this problem.
Checking Solaris 2.5.1 documentation. The statvfs call is there.
http://docs.sun.com/app/docs/doc/802-1930-02/6i5u95ja3?a=view
Probably configure fails to detect the availability of the statvfs call
for some reason.
grep STATVFS include/autoconf.h
statfs is not documented, but since statvfs seems exists (at least
according to the documentation) we are not that interested in anything
relating to statfs and should instead focus on why statvfs wasn't
detected.
Check your config.log file to see if there is any report relating to
statvfs() and/or sys/statvfs.h
You can also try defining HAVE_STATVFS and HAVE_SYS_STATVFS_H to 1 in
include/autoconf.h
#define HAVE_STATVFS 1
#define HAVE_SYS_STATVFS_H 1
Regards
Henrik
<< signature.asc >>
_________________________________________________________________
Get the new Windows Live Messenger! http://get.live.com/messenger/overview