From owner-freebsd-ports@FreeBSD.ORG Thu Apr 23 10:44:14 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91E927CE for ; Thu, 23 Apr 2015 10:44:14 +0000 (UTC) Received: from ost.citrin.ru (ost.citrin.ru [193.169.234.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A9BF1AD4 for ; Thu, 23 Apr 2015 10:44:13 +0000 (UTC) Received: from citrin.office.vega.ru (office-nat.spylog.net [193.169.234.6]) (Authenticated sender: citrin@citrin.ru) by ost.citrin.ru (Postfix) with ESMTPSA id 6A0DFE0F81E for ; Thu, 23 Apr 2015 10:44:05 +0000 (UTC) Message-ID: <5538CCF4.6090504@citrin.ru> Date: Thu, 23 Apr 2015 13:44:04 +0300 From: Anton Yuzhaninov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: ftp/curl compiler error References: <20150423115654.61153412@rsbsd.rsb> In-Reply-To: <20150423115654.61153412@rsbsd.rsb> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1429785845; bh=ETQG8hEUYb73kOGO6X1t/5HiYoT5Xaa5HUC8i1FlrsE=; h=Message-ID:Date:From:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DHkB1ycCkf/gSGkCU/CXdFbE1AGkpU5qa2mp0aZdcQb2qW0pxKE/fN3DGZXfdwTcugLKH8gvp0nyCGG6IB9U01NxbLPdJfxxAnEEHgiwZqRz7yGYg9kTlULdyXWh2QLaMdZJ/p5gmf+BGMViA8faQO+Vi02puUQo3VMgeXESQbU= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 10:44:14 -0000 On 04/23/15 11:56, Beeblebrox via freebsd-ports wrote: > I'm seeing this odd error when trying to compile ftp/curl > > configure: using CFLAGS: -I/usr/include -O2 -pipe -fstack-protector -fno-strict-aliasing > configure: CFLAGS note: CFLAGS should only be used to specify C compiler flags, not include directories. Use CPPFLAGS for: -I/usr/include Do you have local changes in the port Makefile? CFLAGS in fresh /usr/ports/ftp/curl has no -I/usr/include > configure: error: in `/asp/obj/asp/git/ports/ftp/curl/work/curl-7.42.0': > configure: error: C compiler cannot create executables See for exact error: cd `make -V WRKSRC` fgrep -B 35 'C compiler cannot create executables' config.log