Re: [squid-users] Squid 3.0 STABLE 12 is available

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 24 Jan 2009 04:47:37 +1300

Enrique wrote:
> fine
> thank very much
> and sorry again, but if you see in my configure option i have removed
> the authentication heper option because many errors related with ldap,
> pam, a realy use only digest authentication.
> one cuestion i'm not include in configure option any authentication
> helper the squid unsoport thats helpers??????

Squid will merely not build those helpers from its own sources.

It will still support same helper built by other means.

Amos

> here i include the lasts lines refered wiht 3 errors separeted by
> *************************************
> Making all in external_acl
> make[2]: Entering directory `/root/squid-3.0.STABLE12/helpers/external_acl'
> Making all in ip_user
> make[3]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/external_acl/ip_user'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/root/squid-3.0.STABLE12/helpers/external_acl/ip_user'
> Making all in session
> make[3]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/external_acl/session'
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I. -I../../../include
> -I../../../include -Wall -g -O2 -c squid_session.c
> squid_session.c:44:20: error: db_185.h: No such file or directory
> squid_session.c:51: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> squid_session.c: In function 'init_db':
> squid_session.c:55: error: 'db' undeclared (first use in this function)
> squid_session.c:55: error: (Each undeclared identifier is reported only
> once
> squid_session.c:55: error: for each function it appears in.)
> squid_session.c:55: warning: implicit declaration of function 'dbopen'
> squid_session.c:55: error: 'DB_BTREE' undeclared (first use in this
> function)
> squid_session.c: In function 'shutdown_db':
> squid_session.c:64: error: 'db' undeclared (first use in this function)
> squid_session.c: In function 'session_active':
> squid_session.c:71: error: 'DBT' undeclared (first use in this function)
> squid_session.c:71: error: expected ';' before 'key'
> squid_session.c:72: error: 'key' undeclared (first use in this function)
> squid_session.c:74: error: 'db' undeclared (first use in this function)
> squid_session.c:74: error: 'data' undeclared (first use in this function)
> squid_session.c: In function 'session_login':
> squid_session.c:90: error: 'DBT' undeclared (first use in this function)
> squid_session.c:90: error: expected ';' before 'key'
> squid_session.c:92: error: 'key' undeclared (first use in this function)
> squid_session.c:94: error: 'data' undeclared (first use in this function)
> squid_session.c:96: error: 'db' undeclared (first use in this function)
> squid_session.c: In function 'session_logout':
> squid_session.c:101: error: 'DBT' undeclared (first use in this function)
> squid_session.c:101: error: expected ';' before 'key'
> squid_session.c:102: error: 'key' undeclared (first use in this function)
> squid_session.c:104: error: 'db' undeclared (first use in this function)
> make[3]: *** [squid_session.o] Error 1
> make[3]: Leaving directory
> `/root/squid-3.0.STABLE12/helpers/external_acl/session'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/squid-3.0.STABLE12/helpers/external_acl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/squid-3.0.STABLE12/helpers'
> make: *** [all-recursive] Error 1
> **************************************************************
> 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
> ***************************************************************************************************************************
>
> make[3]: Entering directory
> `/root/squid-3.0.STABLE12/helpers/external_acl/ldap_group'
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I. -I../../../include
> -I../../../include -Wall -g -O2 -c squid_ldap_group.c
> squid_ldap_group.c:74:18: error: lber.h: No such file or directory
> squid_ldap_group.c:75:18: error: ldap.h: No such file or directory
> squid_ldap_group.c:95: error: 'LDAP_SCOPE_SUBTREE' undeclared here (not
> in a function)
> squid_ldap_group.c:99: error: 'LDAP_DEREF_NEVER' undeclared here (not in
> a function)
> squid_ldap_group.c:105: error: 'LDAP_NO_LIMIT' undeclared here (not in a
> function)
> squid_ldap_group.c:113: error: expected ')' before '*' token
> squid_ldap_group.c:168: error: expected ')' before '*' token
> squid_ldap_group.c:173: error: expected ')' before '*' token
> squid_ldap_group.c:178: error: expected ')' before '*' token
> squid_ldap_group.c:186: error: expected ')' before '*' token
> squid_ldap_group.c:191: error: expected ')' before '*' token
> squid_ldap_group.c: In function 'main':
> squid_ldap_group.c:215: error: 'LDAP' undeclared (first use in this
> function)
> squid_ldap_group.c:215: error: (Each undeclared identifier is reported
> only once
> squid_ldap_group.c:215: error: for each function it appears in.)
> squid_ldap_group.c:215: error: 'ld' undeclared (first use in this function)
> squid_ldap_group.c:217: error: 'LDAP_PORT' undeclared (first use in this
> function)
> squid_ldap_group.c:285: error: 'LDAP_SCOPE_BASE' undeclared (first use
> in this function)
> squid_ldap_group.c:287: error: 'LDAP_SCOPE_ONELEVEL' undeclared (first
> use in this function)
> squid_ldap_group.c:315: error: 'LDAP_DEREF_ALWAYS' undeclared (first use
> in this function)
> squid_ldap_group.c:317: error: 'LDAP_DEREF_SEARCHING' undeclared (first
> use in this function)
> squid_ldap_group.c:319: error: 'LDAP_DEREF_FINDING' undeclared (first
> use in this function)
> squid_ldap_group.c:523: warning: implicit declaration of function
> 'ldap_init'
> squid_ldap_group.c:528: warning: implicit declaration of function
> 'squid_ldap_set_connect_timeout'
> squid_ldap_group.c:558: warning: implicit declaration of function
> 'squid_ldap_set_timelimit'
> squid_ldap_group.c:559: warning: implicit declaration of function
> 'squid_ldap_set_referrals'
> squid_ldap_group.c:560: warning: implicit declaration of function
> 'squid_ldap_set_aliasderef'
> squid_ldap_group.c:562: warning: implicit declaration of function
> 'ldap_simple_bind_s'
> squid_ldap_group.c:563: error: 'LDAP_SUCCESS' undeclared (first use in
> this function)
> squid_ldap_group.c:564: warning: implicit declaration of function
> 'ldap_err2string'
> squid_ldap_group.c:564: warning: format '%s' expects type 'char *', but
> argument 3 has type 'int'
> squid_ldap_group.c:565: warning: implicit declaration of function
> 'ldap_unbind'
> squid_ldap_group.c:573: warning: implicit declaration of function
> 'searchLDAP'
> squid_ldap_group.c:593: warning: implicit declaration of function
> 'squid_ldap_errno'
> squid_ldap_group.c:593: error: 'LDAP_INVALID_CREDENTIALS' undeclared
> (first use in this function)
> squid_ldap_group.c: At top level:
> squid_ldap_group.c:686: error: expected ')' before '*' token
> squid_ldap_group.c:736: error: expected ')' before '*' token
> make[3]: *** [squid_ldap_group.o] Error 1
> make[3]: Leaving directory
> `/root/squid-3.0.STABLE12/helpers/external_acl/ldap_group'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/squid-3.0.STABLE12/helpers/external_acl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/squid-3.0.STABLE12/helpers'
>
>
> ----- Original Message ----- From: "Amos Jeffries" <squid3_at_treenet.co.nz>
> To: "Enrique" <enrique_at_banmet.cu>
> Sent: Friday, January 23, 2009 10:07 AM
> Subject: Re: [squid-users] Squid 3.0 STABLE 12 is available
>
>
>> Enrique wrote:
>>> hello
>>> escusesme before all
>>> i done as you say, end recive build Build Successful, but when i make
>>> squid3 -v it show
>>> Squid Cache: Version 3.0.PRE5
>>> 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'
>>> '--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-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM'
>>> '--enable-ntlm-auth-helpers=SMB'
>>> '--enable-digest-auth-helpers=ldap,password'
>>> '--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 -Wall -O2' 'CPPFLAGS='
>>> 'CXXFLAGS=-g -Wall -O2' 'CXX=g++' 'LDFLAGS='
>>> 'build_alias=i486-linux-gnu'
>>>
>>> and when i put squid -v it show me:
>>> configure options: '--build=i486-linux-gnu' '--prefix=/usr'
>>> '--includedir=/include' '--mandir=/share/man' '--infodir=/share/info'
>>> '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/lib/squid3'
>>> '--srcdir=.' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3'
>>> '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr'
>>> '--enable-inline' '--enable-async-io=8'
>>> '--enable-removal-policies=lru,heap' '--enable-poll'
>>> '--enable-digest-pools' '--enable-snmp' '--enable-select'
>>> '--enable-carp' '--enable-large-files' '--enable-underscores'
>>> '--enable-delay-pools' '--with-filedescriptors=4096'
>>> '--with-default-user=proxy' '--enable-cachemgr-hostname=InetAccess'
>>> 'build_alias=i486-linux-gnu'
>>>
>>> tow versions is installed how i change executable??
>>>
>>> i have done some wrong???
>>
>> Ah, the package maintainer has changed the squid binary name.
>>
>> Try this also:
>> mv /usr/sbin/squid3 /usr/sbin/squid3.old
>> mv /usr/sbin/squid /usr/sbin/squid3
>>
>> (assuming the binary is in /usr/sbin)
>>
>> Amos
>>
>>> ----- Original Message ----- From: "Amos Jeffries"
>>> <squid3_at_treenet.co.nz>
>>> To: "Enrique" <enrique_at_banmet.cu>
>>> Sent: Thursday, January 22, 2009 8:44 PM
>>> Subject: Re: [squid-users] Squid 3.0 STABLE 12 is available
>>>
>>>
>>>> Enrique wrote:
>>>>> hello
>>>>> i plane to upgrade to version Squid-3.0.STABLE12 o have run
>>>>> ./configure then make and make install whiout version , but whe i
>>>>> see version of my squid squid -v say my old version
>>>>> you can send to me a page or link to help me in my upgrade
>>>>>
>>>>> regrard
>>>>
>>>> Source is available here:
>>>> http://www.squid-cache.org/Versions/v3/3.0/
>>>>
>>>> compiling instructions are at:
>>>> http://wiki.squid-cache.org/SquidFaq/CompilingSquid
>>>> each OS is slightly different in its build options and folder
>>>> layouts. So finding your OS in the list under 'Building Squid on
>>>> ...' has specific details.
>>>>
>>>> Using your old squid -v, you can grab the options it was built with.
>>>>
>>>> --prefix, --libexecdir, --datadir, --localstatedir, and --sysconfdir
>>>> are important to keep the same as already installed version when
>>>> installing over the top of an existing version.
>>>>
>>>> Amos
>>>>
>>>>>
>>>>> ----- Original Message ----- From: "Amos Jeffries"
>>>>> <squid3_at_treenet.co.nz>
>>>>> To: <squid-announce_at_squid-cache.org>; "Squid"
>>>>> <squid-users_at_squid-cache.org>
>>>>> Sent: Wednesday, January 21, 2009 5:07 PM
>>>>> Subject: [squid-users] Squid 3.0 STABLE 12 is available
>>>>>
>>>>>
>>>>>> The Squid HTTP Proxy team is pleased to announce the
>>>>>> availability of the Squid-3.0.STABLE12 release!
>>>>>>
>>>>>>
>>>>>> This release makes two policy changes which have come due and
>>>>>> fixes some bugs found in the last release.
>>>>>>
>>>>>> Major policy change is to the default setting of half_closed_clients.
>>>>>> The default is now to have this setting off. The option itself is
>>>>>> being retained for accelerator setups which may need it.
>>>>>>
>>>>>> Minor policy change is the removal of command line -V option for
>>>>>> the Squid binary. This option has been a non-action since Squid-2.6.
>>>>>>
>>>>>> Bugs fixed by this release are:
>>>>>> - Bug 2533: Solaris (sparc) 64-bit build breaks with gcc/g++
>>>>>> - Bug 2542: ICAP filters break download resume
>>>>>> - Bug 2556: HTCP fails without icp_port
>>>>>> - Bug 2564: logformat '%tl' field not working as advertised
>>>>>>
>>>>>>
>>>>>> Please refer to the release notes at
>>>>>> http://www.squid-cache.org/Versions/v3/3.0/RELEASENOTES.html
>>>>>> if and when you are ready to make the switch to Squid-3.
>>>>>>
>>>>>> This new release can be downloaded from our HTTP or FTP servers
>>>>>>
>>>>>> http://www.squid-cache.org/Versions/v3/3.0/
>>>>>> ftp://ftp.squid-cache.org/pub/squid-3/STABLE/
>>>>>>
>>>>>> or the mirrors. For a list of mirror sites see
>>>>>>
>>>>>> http://www.squid-cache.org/Download/http-mirrors.dyn
>>>>>> http://www.squid-cache.org/Download/mirrors.dyn
>>>>>>
>>>>>> If you encounter any issues with this release please file a bug
>>>>>> report.
>>>>>> http://bugs.squid-cache.org/
>>>>>>
>>>>>>
>>>>>> Amos Jeffries
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Please be using
>>>> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
>>>> Current Beta Squid 3.1.0.3
>>>>
>>>
>>>
>>
>>
>> --
>> Please be using
>> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
>> Current Beta Squid 3.1.0.3
>>
>
>

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.4
Received on Fri Jan 23 2009 - 15:47:40 MST

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