Search squid archive

building squid3stable12

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

 



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
pam_auth.c:100: warning: 'struct pam_response' declared inside parameter list pam_auth.c:100: warning: its scope is only this definition or declaration, which is probably not what you want
pam_auth.c:100: warning: 'struct pam_message' declared inside parameter list
pam_auth.c: In function 'password_conversation':
pam_auth.c:102: error: dereferencing pointer to incomplete type
pam_auth.c:102: error: 'PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
pam_auth.c:102: error: (Each undeclared identifier is reported only once
pam_auth.c:102: error: for each function it appears in.)
pam_auth.c:103: error: dereferencing pointer to incomplete type
pam_auth.c:103: error: dereferencing pointer to incomplete type
pam_auth.c:104: error: 'PAM_CONV_ERR' undeclared (first use in this function) pam_auth.c:116: error: invalid application of 'sizeof' to incomplete type 'struct pam_response'
pam_auth.c:121: error: invalid use of undefined type 'struct pam_response'
pam_auth.c:121: error: dereferencing pointer to incomplete type
pam_auth.c:122: error: invalid use of undefined type 'struct pam_response'
pam_auth.c:122: error: dereferencing pointer to incomplete type
pam_auth.c:124: error: invalid use of undefined type 'struct pam_response'
pam_auth.c:124: error: dereferencing pointer to incomplete type
pam_auth.c:124: error: 'PAM_SUCCESS' undeclared (first use in this function)
pam_auth.c: At top level:
pam_auth.c:127: error: variable 'conv' has initializer but incomplete type
pam_auth.c:129: warning: excess elements in struct initializer
pam_auth.c:129: warning: (near initialization for 'conv')
pam_auth.c:131: warning: excess elements in struct initializer
pam_auth.c:131: warning: (near initialization for 'conv')
pam_auth.c: In function 'main':
pam_auth.c:148: error: 'pam_handle_t' undeclared (first use in this function)
pam_auth.c:148: error: 'pamh' undeclared (first use in this function)
pam_auth.c:149: error: 'PAM_SUCCESS' undeclared (first use in this function)
pam_auth.c:207: error: invalid use of undefined type 'struct pam_conv'
pam_auth.c:237: error: 'PAM_USER' undeclared (first use in this function)
pam_auth.c:239: error: 'PAM_CONV' undeclared (first use in this function)
make[3]: *** [pam_auth.o] Error 1
make[3]: Leaving directory `/root/squid-3.0.STABLE12/helpers/basic_auth/PAM'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.0.STABLE12/helpers/basic_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/squid-3.0.STABLE12/helpers'
make: *** [all-recursive] Error 1

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

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
ldap_backend.c:43:18: error: ldap.h: No such file or directory
ldap_backend.c:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ldap_backend.c:60: error: 'LDAP_SCOPE_SUBTREE' undeclared here (not in a function)
ldap_backend.c:64: error: 'LDAP_PORT' undeclared here (not in a function)
ldap_backend.c:66: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function) ldap_backend.c:72: error: 'LDAP_NO_LIMIT' undeclared here (not in a function)
ldap_backend.c:118: error: expected ')' before '*' token
ldap_backend.c: In function 'squid_ldap_set_aliasderef':
ldap_backend.c:125: error: 'ld' undeclared (first use in this function)
ldap_backend.c:125: error: (Each undeclared identifier is reported only once
ldap_backend.c:125: error: for each function it appears in.)
ldap_backend.c: In function 'squid_ldap_set_referrals':
ldap_backend.c:131: error: 'ld' undeclared (first use in this function)
ldap_backend.c:131: error: 'LDAP_OPT_REFERRALS' undeclared (first use in this function)
ldap_backend.c: In function 'squid_ldap_set_timelimit':
ldap_backend.c:138: error: 'ld' undeclared (first use in this function)
ldap_backend.c: In function 'getpassword':
ldap_backend.c:190: error: 'LDAPMessage' undeclared (first use in this function)
ldap_backend.c:190: error: 'res' undeclared (first use in this function)
ldap_backend.c:191: error: 'entry' undeclared (first use in this function)
ldap_backend.c:199: error: 'ld' undeclared (first use in this function)
ldap_backend.c:211: error: 'LDAP_SUCCESS' undeclared (first use in this function) ldap_backend.c:212: error: 'LDAP_PARTIAL_RESULTS' undeclared (first use in this function) ldap_backend.c:250: warning: assignment makes pointer from integer without a cast
ldap_backend.c: In function 'ldapconnect':
ldap_backend.c:320: error: 'ld' undeclared (first use in this function)
ldap_backend.c:381: error: 'LDAP_SUCCESS' undeclared (first use in this function)
ldap_backend.c: In function 'LDAPArguments':
ldap_backend.c:459: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function) ldap_backend.c:461: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first use in this function) ldap_backend.c:489: error: 'LDAP_DEREF_ALWAYS' undeclared (first use in this function) ldap_backend.c:491: error: 'LDAP_DEREF_SEARCHING' undeclared (first use in this function) ldap_backend.c:493: error: 'LDAP_DEREF_FINDING' undeclared (first use in this function)
make[3]: *** [ldap_backend.o] Error 1
make[3]: Leaving directory `/root/squid-3.0.STABLE12/helpers/digest_auth/ldap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.0.STABLE12/helpers/digest_auth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/squid-3.0.STABLE12/helpers'
make: *** [all-recursive] Error 1



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux