Re: Squid 3.1 kerb auth helper

From: Markus Moeller <huaraz_at_moeller.plus.com>
Date: Sat, 26 Sep 2009 12:40:44 +0100

If I run
 ./configure --enable-negotiate-auth-helpers=squid_kerb_auth --prefix=/opt/squid-3.1

I don't get an rpath. I use debian etch.

Markus

make[3]: Entering directory
`/home/markus/squid-3.1.0.13-20090926/helpers/negotiate_auth/squid_kerb_auth'
make all-recursive
make[4]: Entering directory
`/home/markus/squid-3.1.0.13-20090926/helpers/negotiate_auth/squid_kerb_auth'
make[5]: Entering directory
`/home/markus/squid-3.1.0.13-20090926/helpers/negotiate_auth/squid_kerb_auth'
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT squid_kerb_auth.o -MD -MP -MF .deps/squid_kerb_auth.Tpo -c -o
squid_kerb_auth.o squid_kerb_auth.c
mv -f .deps/squid_kerb_auth.Tpo .deps/squid_kerb_auth.Po
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
mv -f .deps/base64.Tpo .deps/base64.Po
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT derparse.o -MD -MP -MF .deps/derparse.Tpo -c -o derparse.o
`test -f 'spnegohelp/derparse.c' || echo './'`spnegohelp/derparse.c
mv -f .deps/derparse.Tpo .deps/derparse.Po
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT spnego.o -MD -MP -MF .deps/spnego.Tpo -c -o spnego.o `test -f
'spnegohelp/spnego.c' || echo './'`spnegohelp/spnego.c
mv -f .deps/spnego.Tpo .deps/spnego.Po
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT spnegohelp.o -MD -MP -MF .deps/spnegohelp.Tpo -c -o
spnegohelp.o `test -f 'spnegohelp/spnegohelp.c' || echo
'./'`spnegohelp/spnegohelp.c
mv -f .deps/spnegohelp.Tpo .deps/spnegohelp.Po
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT spnegoparse.o -MD -MP -MF .deps/spnegoparse.Tpo -c -o
spnegoparse.o `test -f 'spnegohelp/spnegoparse.c' || echo
'./'`spnegohelp/spnegoparse.c
mv -f .deps/spnegoparse.Tpo .deps/spnegoparse.Po
gcc -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support
 -lresolv -L../../../lib -o squid_kerb_auth squid_kerb_auth.o base64.o
derparse.o spnego.o spnegohelp.o spnegoparse.o -lmiscutil -lm
gcc -DHAVE_CONFIG_H -I. -Ispnegohelp -I../../../ -I../../../include/ -I/home/markus/squid-3.1.0.13-20090926/include
 -I/home/markus/squid-3.1.0.13-20090926/src -I/home/markus/squid-3.1.0.13-20090926
  -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -MT squid_kerb_auth_test.o -MD -MP -MF
.deps/squid_kerb_auth_test.Tpo -c -o squid_kerb_auth_test.o
squid_kerb_auth_test.c
mv -f .deps/squid_kerb_auth_test.Tpo .deps/squid_kerb_auth_test.Po
gcc -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement
 -Wshadow -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support
 -lresolv -L../../../lib -o squid_kerb_auth_test squid_kerb_auth_test.o
base64.o -lmiscutil -lm
cp squid_kerb_auth negotiate_kerb_auth
cp squid_kerb_auth_test negotiate_kerb_auth_test
make[5]: Leaving directory
`/home/markus/squid-3.1.0.13-20090926/helpers/negotiate_auth/squid_kerb_auth'
make[4]: Leaving directory
`/home/markus/squid-3.1.0.13-20090926/helpers/negotiate_auth/squid_kerb_auth'
make[3]: Leaving directory
`/home/markus/squid-3.1.0.13-20090926/helpers/negotiate_auth/squid_kerb_auth'

----- Original Message -----
From: "Amos Jeffries" <squid3_at_treenet.co.nz>
To: "Markus Moeller" <huaraz_at_moeller.plus.com>; "Squid Developers"
<squid-dev_at_squid-cache.org>; "Luigi Gangitano" <luigi_at_debian.org>
Sent: Saturday, September 26, 2009 2:11 AM
Subject: Squid 3.1 kerb auth helper

> Hi Markus,
> We've hit another issue with the new 3.1 helper. This time on Debian...
>
> Luigi Gangitano wrote:
> >
> > At last, I've a small issue with negotiate_auth/squid_kerb_auth, which
> > set RPATH in binaries. configure script adds '-Wl,-R' to the linker
> > under squid. This is an issue for debian (see
> > http://wiki.debian.org/RpathIssue). Do you think this can be fixed? I
> > can make a debian patch if needed.
>
> Amos
> --
> Please be using
> Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
> Current Beta Squid 3.1.0.13
>
Received on Sat Sep 26 2009 - 11:41:07 MDT

This archive was generated by hypermail 2.2.0 : Sun Sep 27 2009 - 12:00:05 MDT