From owner-freebsd-current@FreeBSD.ORG Mon Dec 14 16:45:15 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 595F51065679 for ; Mon, 14 Dec 2009 16:45:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 1288C8FC1C for ; Mon, 14 Dec 2009 16:45:14 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NKE2p-0001Fu-2x; Mon, 14 Dec 2009 16:45:13 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NKE2o-0003Fn-6u; Mon, 14 Dec 2009 16:45:10 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBEGj9vI087185; Mon, 14 Dec 2009 16:45:10 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBEGj97i087184; Mon, 14 Dec 2009 16:45:09 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 14 Dec 2009 16:45:09 +0000 From: Anton Shterenlikht To: Johan Hendriks Message-ID: <20091214164509.GC87017@mech-cluster241.men.bris.ac.uk> References: <57200BF94E69E54880C9BB1AF714BBCBA5736C@w2003s01.double-l.local> <20091213162712.1171.qmail@wcfields.tmseck.homedns.org> <20091214154144.GA86962@mech-cluster241.men.bris.ac.uk> <57200BF94E69E54880C9BB1AF714BBCBA57377@w2003s01.double-l.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA57377@w2003s01.double-l.local> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.5 X-Spam-Level: ---- Cc: freebsd-current@freebsd.org, Anton Shterenlikht Subject: Re: regression: port www/squid fails to build on ia64 head X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 16:45:15 -0000 On Mon, Dec 14, 2009 at 05:01:18PM +0100, Johan Hendriks wrote: > > > >> * Johan Hendriks : > >> > >> (Squid breakage in the YP/NIS helper) > >> > >> > A long shot > >> > Could it be that you have set the following in your src.conf > >> > WITHOUT_NIS= yes > >> > WITHOUT_RCMDS= yes > >> > WITHOUT_RCS= yes > >> > > >> > If i set those i get a similar error with squid (on i386 and amd64 > ) > >> > >> 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=yes > >> to /etc/make.conf. > >> > >> The same applies to systems built/installed without Heimdal support. > >> Sorry for the breakage. > > >yes, I had WITHOUT_NIS= 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=yes > >in /etc/src.conf > > >many thanks > >anton > > Yes it could not harm to remove that one from src.conf also. well, instead I built with make -DWITHOUT_NIS -DWITHOUT_KERBEROS and left WITHOUT_KERBEROS=yes WITHOUT_NIS=yes in /etc/src.conf seems to work. By the way, do you know how to disable squid accept incoming connections. I need squid only to dial out, never to accept connections. I got lost in the conf file, but maybe there is a simpler option, e.g. squid_enable="NO" in /etc/rc.conf, perhaps? This is by analogy with sendmail. The following sendmail options would let sendmail run fine, but not accept connections: sendmail_enable="NO" sendmail_submit_enable="YES" sendmail_outbound_enable="YES" sendmail_msp_queue_enable="YES" many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423