> 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 ACLStrategised<int>::Pool <skip> > > These appear to be due to "duplicate template instantiation", and a > combination of strict enforcement by Apple and GCC 4.x. After trying a > variety of techniques such as extern, inline, or pragma > interface/implemenation in the header files, I finally found the following > workaround that got it built successfully: > > 1. In src/acl/MyPort.cc, comment out: > template class ACLStrategised<int>; > > 2. In src/asn.cc, comment out: > template cbdata_type CbDataList<int>::CBDATA_CbDataList; >
Aye, we have a perpetual problem with these templates on Apple. The fix is a quick one, merging the two instantiations into one shared. I'll get that done shortly. Looks like that was the last of your build issues? > Now I'm able to browse IPv6 sites without cache-peering with Polipo 6to4 > relay. However, Squid 3 Head standalone seems to have problem with a > particular site, as seen in cache.log: ipcacheParse: No Address records in > response to 'ipv6.google.com'. Ah, this is a problem between Squid and the recursive resolver its using. Squid currently depends on the resolver to do recursion properly. When the resolver is too strictly limited it returns no results for a CNAME that crosses between domains ie: ipv6.goole.com -> blah.google.net -> IP is changing TLD before it gets the IP. It is a bit weird to see that on google. I would expect that particular one to work since its only ipv6.google.com->ipv6.l.google.com -> IP which does not change TLD or base 'google.com' domain. Amos > > -------- Original-Nachricht -------- > Attached please find the make.log of squid-3.HEAD-20090504. It erred out > looking for a non-existent ClientInfo.h. > > ./configure \ > --build=i686-apple-darwin \ > --mandir=/usr/local/share/man \ > --with-large-files \ > --disable-ident-lookups --disable-dependency-tracking \ > --enable-filters --enable-ssl \ > --enable-icap-client \ > --enable-removal-policies=heap,lru \ > --enable-external-acl-helpers=ip_user,ldap_group \ > --enable-auth=basic,digest,ntlm,negotiate \ > --enable-basic-auth-helpers=PAM,NCSA,LDAP,multi-domain-NTLM \ > --enable-digest-auth-helpers=password \ > --enable-delay-pools \ > --enable-multicast-miss \ > --with-filedescriptors=16384 --with-dl \ > --enable-gnuregex \ > --enable-zph-qos \ > > -------- Original-Nachricht -------- >> Okay. The needed changes are now made to 3.HEAD and the many bugs which >> were uncovered doing it appear to have been zapped now. >> >> 3.HEAD snapshot can be found at: >> http://www.squid-cache.org/Versions/v3/HEAD/ >> >> Could you try with that code please and let us know if there are any >> additional problems or even good results. >> >> Cheers >> Amos