Though Squid has been compiled and it is running, but it does not serve. cache.log has following entry: 2007/07/21 16:49:06| Starting Squid Cache version 2.6.STABLE13 for i686-pc-cygwin... 2007/07/21 16:49:06| Running on Windows XP 2007/07/21 16:49:06| Process ID 3440 2007/07/21 16:49:06| With 8192 file descriptors available 2007/07/21 16:49:06| Using poll for the IO loop 2007/07/21 16:49:06| Performing DNS Tests... 2007/07/21 16:49:06| Successful DNS name lookup tests... 2007/07/21 16:49:06| DNS Socket created at 0.0.0.0, port 2106, FD 4 2007/07/21 16:49:06| /etc/resolv.conf: (2) No such file or directory 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xxx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xxx.xx.xxx.xxx from Registry 2007/07/21 16:49:06| Adding nameserver xx..x.xx.xx from Registry 2007/07/21 16:49:06| Adding nameserver xx.x.xx.xx from Registry 2007/07/21 16:49:06| Referer logging is disabled. 2007/07/21 16:49:06| Unlinkd pipe opened on FD 9 2007/07/21 16:49:06| Swap maxSize 102400 KB, estimated 7876 objects 2007/07/21 16:49:06| Target number of buckets: 393 2007/07/21 16:49:06| Using 8192 Store buckets 2007/07/21 16:49:06| Max Mem size: 8192 KB 2007/07/21 16:49:06| Max Swap size: 102400 KB 2007/07/21 16:49:06| Rebuilding storage in /usr/local/squid/var/cache (DIRTY) 2007/07/21 16:49:06| Using Least Load store dir selection 2007/07/21 16:49:06| Set Current Directory to /usr/local/squid/var/cache 2007/07/21 16:49:06| Loaded Icons. 2007/07/21 16:49:07| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 10. 2007/07/21 16:49:07| commSetNoLinger: FD 11: (109) Protocol not available 2007/07/21 16:49:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 11. 2007/07/21 16:49:07| commSetNoLinger: FD 12: (109) Protocol not available 2007/07/21 16:49:07| Accepting HTCP messages on port 4827, FD 12. 2007/07/21 16:49:07| commSetNoLinger: FD 13: (109) Protocol not available 2007/07/21 16:49:07| Accepting SNMP messages on port 3401, FD 13. Regards On 21/07/07, Santosh Rani <santoshballey@xxxxxxxxx> wrote:
Upon checking the config.log, the following test seems to be failing: configure:2775: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2781: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif Secondly, I have tried the hint given by you and it works. The question on my mind is what I have done by that ac_cv_af_unix_large_dgram=no. What I will lose, if at all I do? Finally is it all documented somewhere? Regards On 21/07/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote: > On fre, 2007-07-20 at 20:48 +0530, Santosh Rani wrote: > > During compiling squid-2.6.STABLE13 on a i686 machine (P-4) under > > Cygwin environment, I am getting the following error:- > > > > Can not remove conftest.exe Permission denied > > > > I have successfully achieved compiling same squid-2.6.STABLE13 on a > > P-III machine . > > > > Any clues please. > > Which configure test is it failing at? > (see config.log) > > I would guess one of the tests gets stuck in the background somehow. An > educated guess is the "if AF_UNIX dgram sockets support large packets" > test as this is the only test forking a child process.. > > if that's the case then you can try > > ./configure ... ac_cv_af_unix_large_dgram=no > > Regards > Henrik > > > >