[squid-users] Squid-2.5.STABLE2 compile

From: Peter Smith <peter.smith@dont-contact.us>
Date: Mon, 24 Mar 2003 12:15:22 -0600

I copied and altered a "squid-2.5.STABLE1-2.src.rpm" which I'd cobbled
together to be a "squid-2.5.STABLE2-1.src.rpm". However, upon building,
I now get a 'aufs/aiops.c:36:2: #error "_REENTRANT MUST be defined to
build squid async io support." ' error. Any ideas as to why I would get
this with Squid-2.5.STABLE2 and not with Squid-2.5.STABLE1?

Btw, here is my %configure line for the SRPM... (note that pthreads is
enabled.)

%configure \
   --exec_prefix=/usr --bindir=/usr/sbin --libexecdir=/usr/lib/squid \
   --localstatedir=/var --sysconfdir=/etc/squid --datadir=/usr/lib/squid \
   --enable-poll --enable-snmp --enable-removal-policies="heap,lru" \
   --enable-delay-pools --enable-linux-netfilter \
   --enable-carp --with-pthreads \
   --enable-basic-auth-helpers="LDAP,NCSA,PAM,SMB,MSNT" \
   --enable-storeio="aufs,coss,diskd,ufs,null"

This doesn't make sense as I've read
'http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE1-aufs_reentrant'
and already have pthreads enabled.

Peter Smith
Received on Mon Mar 24 2003 - 11:15:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:19 MST