Re: [squid-users] building squid3stable12

From: Chris Robertson <crobertson_at_gci.net>
Date: Fri, 23 Jan 2009 14:15:06 -0900

Enrique wrote:
> i reciving many errors refered to authentications helper after remove
> one by one of configure options make all fine.
> ./configure --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
> --enable-diskio=AIO,Blocking,DiskDaemon,DiskThreads
> --enable-removal-policies=lru,heap --enable-poll --enable-digest-pools
> --enable-snmp --enable-htcp --enable-select --enable-carp
> --enable-large-files --enable-underscores
> --enable-auth=basic,digest,ntlm
> --enable-digest-auth-helpers=ldap,password --with-default-user=proxy
> --enable-cachemgr-hostname=InetAccess --with-default-user=proxy
> --enable-delay-pools
> --enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group
> --with-filedescriptors=4096 --enable-epoll --enable-linux-netfilter
> CC=cc CFLAGS=-g CPPFLAGS= CXXFLAGS=-g CXX=g++ LDFLAGS=
> build_alias=i486-linux-gnu
> here list of 2 errors:
>
> Making all in NCSA
> make[3]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/basic_auth/NCSA'
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
> -c ncsa_auth.c
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
> -c crypt_md5.c
> /bin/sh ../../../libtool --tag=CC --mode=link cc -g -g -o ncsa_auth
> ncsa_auth.o crypt_md5.o -L../../../lib -lmiscutil -lcrypt -lpthread
> -lm -lresolv -lnsl
> mkdir .libs
> cc -g -g -o ncsa_auth ncsa_auth.o rypt_md5.o
> -L/root/squid-3.0.STABLE12/lib -lmiscutil -lcrypt -lpthread -lm
> -lresolv -lnsl
> make[3]: Leaving directory
> `/root/squid-3.0.STABLE12/helpers/basic_auth/NCSA'
> Making all in PAM
> make[3]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/basic_auth/PAM'
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
> -c pam_auth.c
> pam_auth.c:76:31: error: security/pam_appl.h: No such file or directory

Check with your distribution of Linux for what package provides this
file. As a last resort, hit up
http://www.kernel.org/pub/linux/libs/pam/ for the source.

>
>
> Making all in digest_auth
> make[2]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/digest_auth'
> Making all in ldap
> make[3]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/digest_auth/ldap'
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I. -I../../../include
> -I../../../include -I../../../src/ -g -c digest_pw_auth.c
> cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I. -I../../../include
> -I../../../include -I../../../src/ -g -c ldap_backend.c
> ldap_backend.c:42:18: error: lber.h: No such file or directory

Same story here. There is likely an LDAP development package available
for your distro. Otherwise, http://www.openldap.org/ is the place to go
for the source.

I strongly suggest you search for a Linux Users Group in your area.

Chris
Received on Fri Jan 23 2009 - 23:12:12 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 24 2009 - 12:00:03 MST