[squid-users] Compiling squid 3

From: Monah Baki <mbaki@dont-contact.us>
Date: Sat, 29 Dec 2007 16:49:24 -0500

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 " s%@DEFAULT_HTTP_PORT@%3128%g; s%@DEFAULT_ICP_PORT@%3130%g; s%
@DEFAULT_CACHE_EFFECTIVE_USER@%nobody%g; s%@DEFAULT_MIME_TABLE@%/usr/
local/squid/etc/mime.conf%g; s%@DEFAULT_DNSSERVER@%/usr/local/squid/
libexec/`echo dnsserver | sed 's,x,x,;s/$//'`%g; s%@DEFAULT_UNLINKD@%/
usr/local/squid/libexec/`echo unlinkd | sed 's,x,x,;s/$//'`%g; s%
@DEFAULT_PINGER@%/usr/local/squid/libexec/`echo pinger | sed
's,x,x,;s/$//'`%g; s%@DEFAULT_DISKD@%/usr/local/squid/libexec/`echo
diskd | sed 's,x,x,;s/$//'`%g; s%@DEFAULT_CACHE_LOG@%/usr/local/squid/
var/logs/cache.log%g; s%@DEFAULT_ACCESS_LOG@%/usr/local/squid/var/
logs/access.log%g; s%@DEFAULT_STORE_LOG@%/usr/local/squid/var/logs/
store.log%g; s%@DEFAULT_PID_FILE@%/usr/local/squid/var/logs/squid.pid%
g; s%@DEFAULT_SWAP_DIR@%/usr/local/squid/var/cache%g; s%
@DEFAULT_ICON_DIR@%/usr/local/squid/share/icons%g; s%
@DEFAULT_MIB_PATH@%/usr/local/squid/share/mib.txt%g; s%
@DEFAULT_ERROR_DIR@%/usr/local/squid/share/errors/English%g; s%
@DEFAULT_PREFIX@%/usr/local/squid%g; s%@DEFAULT_HOSTS@%/etc/hosts%g; s
%@[V]ERSION@%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 <URL: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.

[mbaki@storm ~/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
Received on Sat Dec 29 2007 - 14:49:47 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST