I just tried squid-3.HEAD-20090607 but am running into a few issues:
1. It doesn't appear to heed the http_port 3129 directive in squid.conf, so
it shuts down upon finding my regular squid-3.0RC1 running on port 3128.
2. When I make squid-3.HEAD-20090607 the only copy of squid running with
vollkom...@gmx.net wrote:
Original-Nachricht
1. DNS lookups fail completely. 204.127.198.4 is among a handful of
external DNS servers I use, whether defined as dns_nameservers in
squid.conf or picked by squid automatically from /etc/resolv.conf:
2009/05/20 21:44:49|
vollkom...@gmx.net wrote:
Original-Nachricht
1. DNS lookups fail completely. 204.127.198.4 is among a handful of
external DNS servers I use, whether defined as dns_nameservers in
squid.conf or picked by squid automatically from /etc/resolv.conf:
2009/05/20 21:44:49|
I was using my 3.0 squid.conf, slightly tweaked to suit 3.1, when I encountered
those three issues. I did later try the 3.1 default, again with slight tweaks,
as seen below. The DNS lookup issue persisted with that route:
diff squid.conf.default squid.conf
2,3c2,3
acl localhost src
vollkom...@gmx.net wrote:
Please find below the output of make -w -d against the 3.HEAD-20090519 source.
...
rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
creating .libs/squidS.c
(cd .libs gcc -g -O2 -c -fno-builtin squidS.c)
rm -f .libs/squidS.c .libs/squid.nm .libs/squid.nmS
This patch got it built successfully, so I installed it twice: once afresh into
/usr/local/squid31, then reconfigured and installed over 3.0STABLE16-RC1 in
/usr/local/squid. I also tweaked the latter's squid.conf for IPv6. However,
both copies of squid-3.HEAD-20090519 are crashing (simply squid
This patch got it built successfully, so I installed it twice: once afresh
into /usr/local/squid31, then reconfigured and installed over
3.0STABLE16-RC1 in /usr/local/squid. I also tweaked the latter's
squid.conf for IPv6. However, both copies of squid-3.HEAD-20090519 are
crashing (simply
Thanks! It's finally up and running. But, it's not quite smooth sailing
yet:
1. DNS lookups fail completely. 204.127.198.4 is among a handful of
external DNS servers I use, whether defined as dns_nameservers in
squid.conf or picked by squid automatically from /etc/resolv.conf:
2009/05/20
Original-Nachricht
1. DNS lookups fail completely. 204.127.198.4 is among a handful of
external DNS servers I use, whether defined as dns_nameservers in
squid.conf or picked by squid automatically from /etc/resolv.conf:
2009/05/20 21:44:49| comm_udp_sendto: FD 8,
vollkom...@gmx.net wrote:
Here's what I did and the outcome, with squid-3.HEAD-20090511:
patch -p0 b9683.patch
vi src/asn.cc
/* template cbdata_type CbDataListint::CBDATA_CbDataList;
*/
Then 2) 3).
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../..
Thanks. Since I didn't want to wait for 3.HEAD-20090519, I simply applied your
patch to the 3.HEAD-20090518 source. Here's the output:
patch -p0 b9686.patch
...
g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include
-I/usr/include/libxml2 -Werror -Wall -Wpointer-arith
Thanks. Since I didn't want to wait for 3.HEAD-20090519, I simply applied
your patch to the 3.HEAD-20090518 source. Here's the output:
We do have to wait unfortunately. The autotools bootstrapping is not part
of the patches. The snapshot is out now.
Amos
Please find below the output of make -w -d against the 3.HEAD-20090519 source.
...
rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
creating .libs/squidS.c
(cd .libs gcc -g -O2 -c -fno-builtin squidS.c)
rm -f .libs/squidS.c .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
g++ -Werror -Wall
Here's what I did and the outcome, with squid-3.HEAD-20090511:
patch -p0 b9683.patch
vi src/asn.cc
/* template cbdata_type CbDataListint::CBDATA_CbDataList;
*/
Then 2) 3).
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../..
-I../../include -I../../src
Apparently, I spoke too soon. It's been crashing with Bus error, even when
started manually (not through launchd).
Date/Time: 2009-05-10 16:48:56.722 -0400
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: squid
Path:/usr/local/squid/sbin/squid
Parent: launchd [1]
I see in the changelog that ClientInfo.h issue has been fixed. So I gave
squid-3.HEAD-20090510 a whirl. It erred out:
skip
/usr/libexec/gcc/i686-apple-darwin8/4.2.1/ld: multiple definitions of
symbol ACLStrategisedint::Pool
skip
These appear to be due to duplicate template instantiation,
I see in the changelog that ClientInfo.h issue has been fixed. So I gave
squid-3.HEAD-20090510 a whirl. It erred out:
rm -f .libs/squidS.c .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2
.libs/squidS.o -g -o squid AclRegs.o
From my untrained eyes, it seems to be the following files
/usr/libexec/gcc/i686-apple-darwin8/4.2.1/ld: multiple definitions of symbol
CbDataListint::CBDATA_CbDataList
asn.o definition of CbDataListint::CBDATA_CbDataList in section
(__DATA,__data)
acl/.libs/libacls.a(SslErrorData.o)
Or, maybe another case of OS X's case-insensitiveness?
find . -iname 'asn*'
./include/asn1.h
./snmplib/asn1.c
./src/acl/Asn.cc
./src/acl/Asn.h
./src/asn.cc
less src/acl/Asn.h
...
private:
static ACL::Prototype SourceRegistryProtoype;
static ACLStrategisedIpAddress SourceRegistryEntry_;
Or, maybe another case of OS X's case-insensitiveness?
find . -iname 'asn*'
./include/asn1.h
./snmplib/asn1.c
./src/acl/Asn.cc
./src/acl/Asn.h
./src/asn.cc
I wonder.
Lets experiment then. If you would please:
1. comment out the annoying line:
template cbdata_type
Amos Jeffries wrote:
Found It!
grr... src/acl/Time.h
Your filesystem appears to be case-insensitive.
We already worked out what the fix should be since its needed elsewhere
for future changes. I'm testing to see what the effect is on current
code and will commit ASAP.
Amos
Okay. The
Found It!
grr... src/acl/Time.h
Your filesystem appears to be case-insensitive.
We already worked out what the fix should be since its needed elsewhere
for future changes. I'm testing to see what the effect is on current
code and will commit ASAP.
Amos
--
Please be using
Current Stable
Great! Thanks. Yes, the HFS+ file system is case-insensitive but case-aware and
case-preserving.
I look forward to being able to build 3.1.
Original-Nachricht
Found It!
grr... src/acl/Time.h
Your filesystem appears to be case-insensitive.
We already worked out what
vollkom...@gmx.net wrote:
Thanks for pointing these out. I'm not sure where the IPv6 headers are on OS X
or if auto-detection would work so I'm leaving --enable-ipv6 in just to be safe.
:) enable only turns on the auto-detection.
Scan the config.log for if PF_INET6 is available says yes to
Yes, that's a fresh download of the 20090420 src tarball with
macosx_fatal_fails_mk2.patch applied. Assuming ./time.h:38 was referring to
/usr/include/time.h, I'm attaching the two time.h files on my OS X 10.4.11
below.
time1.h = /usr/include/time.h
time2.h = /usr/include/sys/time.h
Betreff: Re: [squid-users] Error making squid-3.1.0.7-20090412 on Mac OS X 10.4
Sorry, third try...
Original-Nachricht
Hmm, I have a small suspicion... what happens if you change the top of
src/acl/Acl.cc
from:
#include config.h
to:
#include squid.h
or to:
#include
vollkom...@gmx.net wrote:
Sorry, third try...
Original-Nachricht
Hmm, I have a small suspicion... what happens if you change the top of
src/acl/Acl.cc
from:
#include config.h
to:
#include squid.h
or to:
#include include/config.h
Amos
--
Please be using
Current
Attached please find the new make outut, after:
# patch -p0 macosx_fatal_fails_mk2.patch
patching file compat/compat_shared.h
patching file include/config.h
patching file include/fatal.h
Here're the ./configure options I used:
./configure \
--build=i686-apple-darwin \
Attached please find the outputs from the two variants.
Original-Nachricht
Hmm, I have a small suspicion... what happens if you change the top of
src/acl/Acl.cc
from:
#include config.h
to:
#include squid.h
or to:
#include include/config.h
Amos
--
Oops, forgot to attach...
Original-Nachricht
Hmm, I have a small suspicion... what happens if you change the top of
src/acl/Acl.cc
from:
#include config.h
to:
#include squid.h
or to:
#include include/config.h
Amos
--
Please be using
Current Stable
Thank you for the report.
Beta release code problems only to squid-dev@squid-cache.org or bugzilla
in future please. CC'd squid-dev for now.
vollkom...@gmx.net wrote:
I'm running into the following error(s) making squid-3.1.0.7-20090412 on Mac OS
X 10.4.11 with gcc 4.0.1. Is there any
vollkom...@gmx.net wrote:
Please find the full make output below:
snip
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../.. -I../../include
-I../../src -I../../include -I/usr/include/libxml2 -Werror -Wall
-Wpointer-arith -Wwrite-strings -Wcomments -g -O2 -MT AsyncJob.lo -MD -MP -MF
vollkom...@gmx.net wrote:
Thanks for taking a look at it. Make still errs out, after applying the patch
(patch -p0 macosx_printf_test.patch). Please find the new output in the attachment.
Hmm, I have a small suspicion... what happens if you change the top of
src/acl/Acl.cc
from:
33 matches
Mail list logo