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
This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT