On 14/03/2013 12:36 p.m., Jose-Marcio Martins wrote:
Brett Lymn wrote:
On Thu, Mar 14, 2013 at 12:04:42AM +0100, Jose-Marcio Martins wrote:
Thanks Amos,
Squid 3.3.3 compiles fine here, now, under Solaris 10.
Out of interest, how? I just tried using /usr/sfw/bin/g++ and I get the
unknown pragma. I know I can nobble that with getting rid of -Wall in
the compile options.
I have my own gcc 4.7.1, which I put at /usr/local/gcc-4.7.1. If you
want, I can make a tar of it and put it at some web server.
"configure" was done this way :
CFLAGS="-m32"
export CFLAGS
HELPERS="basic,digest,ntlm"
BASIC_HELPERS="DB,LDAP,PAM,getpwnam,SASL"
DIGEST_HELPERS="ldap,password"
./configure\
--prefix=/var/squid \
--enable-build-info \
--disable-icmp \
--enable-icap-client \
--enable-snmp \
--enable-delay-pools \
--enable-cache-digests \
--enable-kill-parent-hack \
--enable-cachemgr-hostname=proxy.ensmp.fr \
--enable-ssl \
--with-openssl=/usr/local/ssl \
--disable-ident-lookups \
--enable-async-io \
--enable-carp \
--enable-xmalloc-statistics \
--with-large-files \
--with-build-environment=POSIX_V6_ILP32_OFFBIG \
--disable-gnuregex \
--without-krb5-config \
This krb5 headers is where the #pragma are usually seen.
FYI: The well-known #pragma issue is in the C-only code of the headers
which is not wrapped properly in at least a few of the Solaris krb5
packages. It _should_ just be a matter of patching the krb5.h header
with the patch bundled with Squid (in contrib/solaris/), or using the
latest Solaris update patches. Although the last person to try and
verify whether Solaris had fixed it yet (Helmet) had a few other krb5
errors come up and complicate things. We are still looking/waiting for
that confirmation.
Anyone else able to assist with clarifying that situation?
--enable-auth \
--enable-auth-basic=$BASIC_HELPERS \
--enable-auth-digest=$DIGEST_HELPERS \
--enable-storeio="ufs,aufs,diskd" \
--disable-ipv6 \
--with-filedescriptors=32768 \
--disable-devpoll
/dev/poll should be working again now as part of all these fixes.
Amos