From owner-freebsd-ports@FreeBSD.ORG Wed Mar 14 14:59:32 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D03A106566B for ; Wed, 14 Mar 2012 14:59:32 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1DA8FC12 for ; Wed, 14 Mar 2012 14:59:31 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1004) id 7DE12119C62; Wed, 14 Mar 2012 06:53:58 -0700 (PDT) From: David Southwell Organization: Vision Communications To: freebsd-ports@freebsd.org Date: Wed, 14 Mar 2012 06:53:58 -0700 User-Agent: KMail/1.13.7 (FreeBSD/8.2-RELEASE; KDE/4.7.4; amd64; ; ) References: <201203130601.52466.admin@vizion2000.net> <4F60A893.5040805@acsalaska.net> In-Reply-To: <4F60A893.5040805@acsalaska.net> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201203140653.58340.david@vizion2000.net> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: qpopper compile failure X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2012 14:59:32 -0000 On Wednesday 14 March 2012 07:17:55 Mel Flynn wrote: > On 3/13/2012 14:01, David Southwell wrote: > > qpopper has been working fine (amd64 running postfix) but on portupgrade > > I am Getting the following error: > > > > set MISSING_OBJS to base64.o > > set MISSING_SRCS to base64.c > > Set AR_FLAG = -r ; RANLIB_CMD = > > checking for sendmail program... ERROR: The sendmail program cannot be > > located ===> Script "configure" failed unexpectedly. > > Something severely wrong with your setup. It looks at several places for > sendmail and does not actually check if the program is a valid sendmail > or even executable, just that the file exists. > Not even sure where to start looking. I guess the following is a good > start: sh -c 'test -f /usr/sbin/sendmail && echo sendmail found' > > If that works on the shell, take portupgrade out of the equation and run > make -C /usr/ports/mail/qpopper clean configure. > > FWIW: rev 1.104 of mail/qpopper/Makefile works for me(tm), except for > the configure: WARNING: unrecognized options: --with-apopuid Here is what we have in response. As sendmail is in /usr/local/sbin a search in /usr/sbin fails: [root@dns1 /usr/ports/mail/postfix-policyd-spf-perl]# sh -c 'test -f /usr/sbin/sendmail && echo sendmail found' [root@dns1 /usr/ports/mail/postfix-policyd-spf-perl]# cd /usr/sbin/ [root@dns1 /usr/sbin]# ls -l |grep sendmail whereis shows its location: [root@dns1 /usr/sbin]# whereis sendmail sendmail: /usr/local/sbin/sendmail /usr/local/man/man1/sendmail.1.gz /usr/src/usr.sbin/sendmail And a modified search finds it: [root@dns1 /usr/sbin]# sh -c 'test -f /usr/local/sbin/sendmail && echo sendmail found' sendmail found [root@dns1 /usr/sbin]# david