On Tue, 17 Nov 2009 14:57:23 +0100, <david.kauffmann@xxxxxxxxxxxxx> wrote: > hey list, > > I wanted to install Squid onto a Debian system. I Have correctly > configured it on a virtual machine and now wanted to deploy squid on a > real computer. > > I am getting many errors and don't know how to solve them. > At first, i copied the output of 'squid3 -v' of the VM to my real > machines './configure' script. it looks like this: > > configure options: '--build=i486-linux-gnu' '--prefix=/usr' > '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' > '--infodir=${prefix}/share/info' '--sysconfdir=/etc' > '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' > '--disable-maintainer-mode' '--disable-dependency-tracking' '--srcdir=.' > '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' > '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr' > '--enable-inline' '--enable-async-io=8' > '--enable-storeio=ufs,aufs,coss,diskd' > '--enable-removal-policies=lru,heap' '--enable-poll' > '--enable-delay-pools' '--enable-cache-digests' '--enable-snmp' > '--enable-htcp' '--enable-select' '--enable-carp' '--enable-large-files' > '--enable-underscores' '--enable-icap-client' > '--enable-auth=basic,digest,ntlm' > '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,mul > ti-domain-NTLM' '--enable-ntlm-auth-helpers=SMB' > '--enable-digest-auth-helpers=ldap,password' > '--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbi > nfo_group' '--with-filedescriptors=65536' '--with-default-user=proxy' > '--enable-epoll' '--enable-linux-netfilter' 'build_alias=i486-linux-gnu' > 'CC=cc' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' > 'CPPFLAGS=' 'CXX=g++' 'CXXFLAGS=-g -O2 -g -Wall -O2' 'FFLAGS=-g -O2' > > This didn't work because i didn't have SASL installed. > > So i tried installing SASL2 using apt-get, which eventually worked fine. > But rerunning the configure-script gave me the same error. > > I searched for a solution, but the only one i found suggested disabling > SASL. This was accomplished by changing the options to this: > '-enable-basic-auth-helpers=all' > Then i got the error that coss is not supported by squid3. > so i disabled that by deleting it from '--enable-storeio=' > > Now i have the problem that db_185 is not found. i have BerkeleyDB 4.8 > installed though... > squid_session.c:51:20: Error:db_185.h: File not found. > > What can i do about this? Does db_185.h have anything to do with > Berkeley at all? > > And when i get all these compiling errors, how in the world did the > people who made the image i downloaded use all these config options and > still be able to get a funtioning squid? The package is built after installing all the build dependency packages. http://packages.debian.org/source/lenny-backports/squid3 FWIW; I recommend using the packaged versions of software on Debian. If you continue the self-build elide the options for features you are not going to use. The flags can also be dropped as the Squid build process detects the right ones for the compiler being used. Amos