Re: [squid-users] Squid 3.3.2 is available

2013-03-11 Thread Amos Jeffries

On 8/03/2013 11:33 p.m., Helmut Hullen wrote:

Hallo, Amos,

Du meintest am 08.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

[...]


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.

Next try: compiling on a machine without any kerberos installation
(neither MIT nor Heimdal).

stopped with

libtool: link: cannot find the library `/usr/lib/libcom_err.la' or
unhandled argument `/usr/lib/libcom_err.la'

That file is at least part of the heimdal packet.


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.

Isn't there any switch --without kerberos or so?


Unfortunately no. Squid should be using the krb5-config tool to locate 
the krb5 dependencies and bits though.


Amos


Re: [squid-users] Squid 3.3.2 is available

2013-03-11 Thread Amos Jeffries

On 12/03/2013 11:50 a.m., Amos Jeffries wrote:

On 8/03/2013 11:33 p.m., Helmut Hullen wrote:

Hallo, Amos,

Du meintest am 08.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

[...]


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.

Next try: compiling on a machine without any kerberos installation
(neither MIT nor Heimdal).

stopped with

libtool: link: cannot find the library `/usr/lib/libcom_err.la' or
unhandled argument `/usr/lib/libcom_err.la'

That file is at least part of the heimdal packet.


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.

Isn't there any switch --without kerberos or so?


Unfortunately no. Squid should be using the krb5-config tool to locate 
the krb5 dependencies and bits though.


Amos



Actually, please try --without-krb5-config  , that should do the trick.

Amos


Re: [squid-users] Squid 3.3.2 is available

2013-03-08 Thread Helmut Hullen
Hallo, Amos,

Du meintest am 08.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

[...]

 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.

Next try: compiling on a machine without any kerberos installation  
(neither MIT nor Heimdal).

stopped with

libtool: link: cannot find the library `/usr/lib/libcom_err.la' or  
unhandled argument `/usr/lib/libcom_err.la'

That file is at least part of the heimdal packet.

 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.

Isn't there any switch --without kerberos or so?

Viele Gruesse!
Helmut


Re: [squid-users] Squid 3.3.2 is available

2013-03-08 Thread Helmut Hullen
Hallo, Amos,

Du meintest am 08.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

[...]

 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.

I had to clean up the kerberos entries in many places (p.e. /etc/ 
ld.conf, PATH definition); squid searches in these many places.  
That makes compiling squid for machines without kerberos complicated on  
a machine where kerberos is (somehow) included.

Viele Gruesse!
Helmut


Re: [squid-users] Squid 3.3.2 is available

2013-03-07 Thread Amos Jeffries

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


Re: [squid-users] Squid 3.3.2 is available

2013-03-06 Thread Helmut Hullen
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'

--

./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc/squid \
  --localstatedir=/var/log/squid \
  --datadir=/usr/share/squid \
  --with-pidfile=/var/run/squid \
  --mandir=/usr/man \
  --with-logdir=/var/log/squid \
  --enable-snmp \
  
--enable-basic-auth-helpers=NCSA,YP,MSNT-multi-domain,MSNT,SMB,getpwnam,LDAP,POP3,RADIUS
 \
  --enable-linux-netfilter \
  --enable-async-io \
  --with-large-files \
  --disable-option-checking \
  --with-filedescriptors=65536 \
  --enable-icmp \
  --enable-delay-pools \
  --enable-digest-auth-helpers=LDAP,file \
  --enable-ntlm-auth-helpers=smb_lm \
  --enable-inline \
  --disable-loadable-modules \
  --disable-translation \
  --enable-storeio=aufs,ufs \
  --enable-arp-acl \
  --enable-wccp \
  --enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group \
  --enable-removal-policies=lru,heap \
  --enable-esi \
  --build=$ARCH-slackware-linux

--

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)

Viele Gruesse!
Helmut