On 7/03/2013 4:16 a.m., Helmut Hullen wrote:
> Hallo, Amos,
>
> Du meintest am 02.03.13:
>
>> The Squid HTTP Proxy team is very pleased to announce the
>> availability of the Squid-3.3.2 release!
> Compiling it on one of my machines stopped with
>
> depbase=`echo peer_proxy_negotiate_auth.o | sed 's|[^/]*$|.deps/
> &|;s|\.o$||'`;\
> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\" -I.. -I../include -I../lib -I../src -I../include -I/usr/heimdal/include -I/usr/heimdal/include -I../src -I/usr/heimdal/include -I/usr/heimdal/include -I/usr/include/libxml2 -I/usr/heimdal/include -I/usr/heimdal/include -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mtune=i686 -std=c++0x -MT peer_proxy_negotiate_auth.o -MD -MP -MF $depbase.Tpo -c -o peer_proxy_negotiate_auth.o peer_proxy_negotiate_auth.cc &&\
> mv -f $depbase.Tpo $depbase.Po
> peer_proxy_negotiate_auth.cc: In function 'int krb5_create_cache(char*, char*)':
> peer_proxy_negotiate_auth.cc:259:32: error: 'char** krb5_princ_realm(krb5_context, krb5_principal)' is deprecated (declared at /usr/heimdal/include/krb5-protos.h:3251) [-Werror=deprecated-declarations]
> peer_proxy_negotiate_auth.cc:259:78: error: 'char** krb5_princ_realm(krb5_context, krb5_principal)' is deprecated (declared at /usr/heimdal/include/krb5-protos.h:3251) [-Werror=deprecated-declarations]
> peer_proxy_negotiate_auth.cc:403:13: error: 'void krb5_get_init_creds_opt_init(krb5_get_init_creds_opt*)' is deprecated (declared at /usr/heimdal/include/krb5-protos.h:2284) [-Werror=deprecated-declarations]
> peer_proxy_negotiate_auth.cc:403:50: error: 'void krb5_get_init_creds_opt_init(krb5_get_init_creds_opt*)' is deprecated (declared at /usr/heimdal/include/krb5-protos.h:2284) [-Werror=deprecated-declarations]
> cc1plus: all warnings being treated as errors
> make[3]: *** [peer_proxy_negotiate_auth.o] Error 1
> make[3]: Leaving directory `/tmp/SBo/squid-3.3.2/src'
>
> May be related in some strange way with the kerberos installation; on
> another machine compiling worked, but when running it stopped with a
> kerberos related error message.
>
> (My kerberos installations may be corrupt, but that should be another
> problem)
It would be best to sort that out krb5 stuff first IMO. The above
warnings are about internal errors in the krb5 installation.
Once you have krb5 sorted out if it is still halting Squid build you can
use --disable-strict-error-checking to get Squid to build. The usual
lack of guarantees about both operation and future build success if you
use it regularly though.
Amos
Received on Thu Mar 07 2013 - 20:41:03 MST
This archive was generated by hypermail 2.2.0 : Fri Mar 08 2013 - 12:00:04 MST