Re: [squid-users] Squid-2.5.STABLE2 compile

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 24 Mar 2003 20:47:05 +0100

Maybe the spec file overrides CFLAGS when running make, inhibiting the
settings done by configure..

Regards
Henrik

mån 2003-03-24 klockan 19.15 skrev Peter Smith:
> 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

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Mar 24 2003 - 12:47:23 MST

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