From owner-freebsd-ports@FreeBSD.ORG Fri Mar 28 15:11:32 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B42E2106566B for ; Fri, 28 Mar 2008 15:11:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE1C8FC1E for ; Fri, 28 Mar 2008 15:11:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 87CDE1CC068; Fri, 28 Mar 2008 08:11:32 -0700 (PDT) Date: Fri, 28 Mar 2008 08:11:32 -0700 From: Jeremy Chadwick To: "kamolpat@dmaccess.net" Message-ID: <20080328151132.GA40147@eos.sc1.parodius.com> References: <47EB6537.2090903@dmaccess.net> <44r6duor0m.fsf@be-well.ilk.org> <47ED07E2.9030002@dmaccess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47ED07E2.9030002@dmaccess.net> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: ports@freebsd.org Subject: Re: problem about software "traffic" 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: Fri, 28 Mar 2008 15:11:32 -0000 On Fri, Mar 28, 2008 at 09:59:46PM +0700, kamolpat@dmaccess.net wrote: > configure:2185: checking for suffix of executables > configure:2187: cc -o conftest -O2 -fno-strict-aliasing -pipe conftest.c > >&5 > cc: conftest.c: No such file or directory > cc: No input files specified > configure:2190: $? = 1 > configure:2207: error: cannot compute suffix of executables: cannot compile > and link > See `config.log' for more details. The problem is here. For some particular reason, there's no conftest.c available to the compiler. I'm pretty sure configure scripts create this file themselves, then try to compile it. There's also the possibility of "autoconf" being required and run, which would build the configure script itself, and that might be broken. It's possible the autoconf* installation on your machine is outdated, or is incompatible with the version the software was developed around. All that's in net/traffic/Makefile is: GNU_CONFIGURE= yes So the question is why configure isn't creating conftest.c; possibly an old autoconfs port installation? If conftest.c comes with the software already, then I have no explanation for what's going on. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |