Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2009 17:01:18 +0100
From:      "Johan Hendriks" <Johan@double-l.nl>
To:        "Anton Shterenlikht" <mexas@bristol.ac.uk>
Cc:        freebsd-current@FreeBSD.org
Subject:   RE: regression: port www/squid fails to build on ia64 head
Message-ID:  <57200BF94E69E54880C9BB1AF714BBCBA57377@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCBA5736C@w2003s01.double-l.local> <20091213162712.1171.qmail@wcfields.tmseck.homedns.org> <20091214154144.GA86962@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


>> * Johan Hendriks <Johan@double-l.nl>:
>>=20
>> (Squid breakage in the YP/NIS helper)
>>=20
>> > A long shot
>> > Could it be that you have set the following in your src.conf
>> > WITHOUT_NIS=3D    yes
>> > WITHOUT_RCMDS=3D  yes
>> > WITHOUT_RCS=3D    yes
>> >=20
>> > If i set those i get a similar error with squid (on i386 and amd64
)
>>=20
>> This is possible; the Squid 2.7 port still relies on
WITHOUT_NIS/NO_NIS
>> being set in make.conf. Due to the make.conf/src.conf split this does
no
>> longer work. I have added an OPTION to turn off NIS support to the
squid
>> 3.x ports and will merge this change into the Squid 2.7 port along
with
>> other changes soon. In the meantime you can work around this if you
>> build www/squid with "make -DWITHOUT_NIS" or by adding
WITHOUT_NIS=3Dyes
>> to /etc/make.conf.
>>=20
>> The same applies to systems built/installed without Heimdal support.
>> Sorry for the breakage.

>yes, I had WITHOUT_NIS=3D    yes in /etc/src.conf, but not the other
>two options. I have now rebuilt the system without this option,
>but I still get the NIS build error.

>If I build with "make -DWITHOUT_NIS", then I get this error:

>Making all in negotiate_auth
>Making all in squid_kerb_auth
>cc -DHAVE_CONFIG_H -I. -I../../../include    -DHEIMDAL -I./spnegohelp
-I.  -O2 -pipe  -fno-strict-aliasing -D_REENTRANT -MT squid_kerb_auth.o
-MD -MP ->MF .deps/squid_kerb_auth.Tpo -c -o squid_kerb_auth.o
squid_kerb_auth.c
>squid_kerb_auth.c:70:18: error: krb5.h: No such file or directory
>*** Error code 1

>Stop in
/usr/ports/www/squid/work/squid-2.7.STABLE7/helpers/negotiate_auth/squid
_kerb_auth.
>*** Error code 1

>does it mean I also need to build kerberos? I've WITHOUT_KERBEROS=3Dyes
>in /etc/src.conf

>many thanks
>anton

Yes it could not harm to remove that one from src.conf also.

Regards,
Johan Hendriks





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57200BF94E69E54880C9BB1AF714BBCBA57377>