[squid-users] Compiling squid 3

2007-12-29 Thread Monah Baki

Hi all,

I downloaded squid 3 stable1 and used the following:

./configure --prefix=/usr/local/squid --enable-storeio=ufs,diskd,null  
--enable-underscores --with-large-files --enable-large-cache-files -- 
enable-delay-pools --disable-ident-lookups --enable-snmp --enable- 
removal-policies --enable-async-io --enable-kqueue --enable-icap-client


When I run "make" I get the following error:


Making all in scripts
Making all in src
sed " [EMAIL PROTECTED]@%3128%g; [EMAIL PROTECTED]@%3130%g; s% 
@[EMAIL PROTECTED]; [EMAIL PROTECTED]@%/usr/ 
local/squid/etc/mime.conf%g; [EMAIL PROTECTED]@%/usr/local/squid/ 
libexec/`echo dnsserver | sed 's,x,x,;s/$//'`%g; [EMAIL PROTECTED]@%/ 
usr/local/squid/libexec/`echo unlinkd | sed 's,x,x,;s/$//'`%g; s% 
@[EMAIL PROTECTED]/usr/local/squid/libexec/`echo pinger | sed  
's,x,x,;s/$//'`%g; [EMAIL PROTECTED]@%/usr/local/squid/libexec/`echo  
diskd | sed 's,x,x,;s/$//'`%g; [EMAIL PROTECTED]@%/usr/local/squid/ 
var/logs/cache.log%g; [EMAIL PROTECTED]@%/usr/local/squid/var/ 
logs/access.log%g; [EMAIL PROTECTED]@%/usr/local/squid/var/logs/ 
store.log%g; [EMAIL PROTECTED]@%/usr/local/squid/var/logs/squid.pid% 
g; [EMAIL PROTECTED]@%/usr/local/squid/var/cache%g; s% 
@[EMAIL PROTECTED]/usr/local/squid/share/icons%g; s% 
@[EMAIL PROTECTED]/usr/local/squid/share/mib.txt%g; s% 
@[EMAIL PROTECTED]/usr/local/squid/share/errors/English%g; s% 
@[EMAIL PROTECTED]/usr/local/squid%g; [EMAIL PROTECTED]@%/etc/hosts%g; s 
[EMAIL PROTECTED]@%3.0.STABLE1%g;" < ./cf.data.pre >cf.data
depbase=`echo cf_gen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;  if g++ - 
DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf 
\" -I. -I. -I../include -I. -I. -I../include  -I../include -I../lib/ 
libTrie/include -I/usr/local/include -Werror -Wall -Wpointer- 
arith -Wwrite-strings -Wcomments  -D_REENTRANT -g -O2 -MT cf_gen.o - 
MD -MP -MF "$depbase.Tpo" -c -o cf_gen.o cf_gen.cc;  then mv -f  
"$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
depbase=`echo debug.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;  if g++ - 
DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf 
\" -I. -I. -I../include -I. -I. -I../include  -I../include -I../lib/ 
libTrie/include -I/usr/local/include -Werror -Wall -Wpointer- 
arith -Wwrite-strings -Wcomments  -D_REENTRANT -g -O2 -MT debug.o -MD  
-MP -MF "$depbase.Tpo" -c -o debug.o debug.cc;  then mv -f  
"$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi

debug.cc: In function `void _db_print(const char*, ...)':
debug.cc:558: internal compiler error: in convert_move, at expr.c:588
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /export/home/mbaki/squid-3.0.STABLE1/src.
*** Error code 1

Stop in /export/home/mbaki/squid-3.0.STABLE1.






[EMAIL PROTECTED] ~/squid-3.0.STABLE1]$ gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305



Thank you


BSD Networking, Microsoft Notworking





Re: [squid-users] Compiling squid 3

2007-12-29 Thread Robert Collins

On Sat, 2007-12-29 at 16:49 -0500, Monah Baki wrote:
> Hi all,
> 
> I downloaded squid 3 stable1 and used the following:
...
> gcc version 3.4.6 [FreeBSD] 20060305

Are you able to use a more recent gcc?

-Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part