pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42837 (www/squid31 abort()s)



The following reply was made to PR pkg/42837; it has been noted by GNATS.

From: Matthias Scheler <tron%NetBSD.org@localhost>
To: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/42837 (www/squid31 abort()s)
Date: Fri, 19 Feb 2010 17:19:36 +0000

 On Fri, Feb 19, 2010 at 12:24:29PM +0100, Hauke Fath wrote:
 > which is funny because I built squid explicitely *without* snmp support:
 > 
 > <snip="/etc/mk.conf">
 > PKG_OPTIONS.squid =     squid-backend-diskd squid-pf squid-ipf \
 >                         -squid-carp -squid-pam-helper -snmp -ssl
 > </snip>
 > 
 > and main.cc:976 has
 > 
 > #ifdef SQUID_SNMP
 > 
 >     snmpInit();
 > 
 > #endif
 > 
 > so it should never get there...
 
 That code snippet might actually point to the problem. There seem to be
 two inconsisten ways how SNMP support is checked:
 1.) #if SQUID_SNMP
 2.) #ifdef SQUID_SNMP
 
 Can you please try compiling Squid *with* SNMP support and check
 whether it works?
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index