Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-19 Thread Indunil Jayasooriya
On Tue, Apr 19, 2011 at 1:05 PM, Indunil Jayasooriya induni...@gmail.com wrote: Now, we have to use divert-to instead of rdr-to  in pf.conf Pls read below URL where you get the real thing in regard to it. It was replied by OpenBSD developer Reyk Floeter.

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-09 Thread Indunil Jayasooriya
patch -p0  /PATH/TO/bug3185_mk2.patch Exactly correct. Being in the base folder of your squid sources when running it (/root/software/squid-3.2.0.6/) DONE. performed below steps. first, did cd to /root/software/squid-3.2.0.6/compat/os backed up as follows. cp openbsd.h openbsd.h.orig

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-09 Thread Indunil Jayasooriya
anyway. for the /dev/pf thing, I will come back with an update As I said, below two commands NOT good at all. # chgrp _squid /dev/pf # chmod g+rw /dev/pf Now, we have to use divert-to instead of rdr-to in pf.conf Pls read below URL where you get the real thing in regard to it. It was

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-09 Thread Amos Jeffries
On 09/04/11 21:24, Indunil Jayasooriya wrote: anyway. for the /dev/pf thing, I will come back with an update As I said, below two commands NOT good at all. # chgrp _squid /dev/pf # chmod g+rw /dev/pf Now, we have to use divert-to instead of rdr-to in pf.conf Pls read below URL where

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-08 Thread Indunil Jayasooriya
The problem is that netinet/in.h must be included before arpa/inet.h in include/util.h (at least for 3.1.11). Just add #include netinet/in.h before the #include arpa/inet.h line in this file. At least that fixed the same problem with Squid 3.1.11 on OpenBSD 4.9. Thanks for your help. Sorry

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-08 Thread Amos Jeffries
On 08/04/11 19:13, Indunil Jayasooriya wrote: The problem is that netinet/in.h must be included before arpa/inet.h in include/util.h (at least for 3.1.11). Just add #includenetinet/in.h before the #includearpa/inet.h line in this file. At least that fixed the same problem with Squid 3.1.11 on

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-08 Thread Amos Jeffries
On 06/04/11 04:09, Silamael wrote: On 04/05/2011 12:05 PM, Indunil Jayasooriya wrote: Hi ALL, I downloaded squid-3.2.0.6 from below URL http://www.squid-cache.org/Versions/v3/3.2/squid-3.2.0.6.tar.gz I ran (this is on OpenBSD 4.8 - 64 bit) ./configure It went fine. Then, ran make

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-08 Thread Indunil Jayasooriya
Thank you. This is being tracked in http://bugs.squid-cache.org/show_bug.cgi?id=3185 Can you test the patch I've added there please? I downloaded the file. is it bug3185_mk2.patch isn't it? This is the PATH of the file include/util.h /root/software/squid-3.2.0.6/include/util.h May I ask

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-08 Thread Amos Jeffries
On 08/04/11 21:41, Indunil Jayasooriya wrote: Thank you. This is being tracked in http://bugs.squid-cache.org/show_bug.cgi?id=3185 Can you test the patch I've added there please? I downloaded the file. is it bug3185_mk2.patch isn't it? This is the PATH of the file include/util.h

[squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-05 Thread Indunil Jayasooriya
Hi ALL, I downloaded squid-3.2.0.6 from below URL http://www.squid-cache.org/Versions/v3/3.2/squid-3.2.0.6.tar.gz I ran (this is on OpenBSD 4.8 - 64 bit) ./configure It went fine. Then, ran make stoped at below error /usr/include/arpa/inet.h:74: warning: 'struct in_addr' declared inside

Re: [squid-users] Fwd: squid-3.2.0.6 - make issue on OpenBSD 4.8 - 64 bit

2011-04-05 Thread Silamael
On 04/05/2011 12:05 PM, Indunil Jayasooriya wrote: Hi ALL, I downloaded squid-3.2.0.6 from below URL http://www.squid-cache.org/Versions/v3/3.2/squid-3.2.0.6.tar.gz I ran (this is on OpenBSD 4.8 - 64 bit) ./configure It went fine. Then, ran make stoped at below error