From owner-freebsd-questions@FreeBSD.ORG Wed Mar 25 12:37:42 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 62A64729 for ; Wed, 25 Mar 2015 12:37:42 +0000 (UTC) Received: from mx1.webtent.net (mx1.webtent.net [208.38.145.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2D3EBA73 for ; Wed, 25 Mar 2015 12:37:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 5C59ED7B3A for ; Wed, 25 Mar 2015 08:36:26 -0400 (EDT) Received: from mx1.webtent.net ([127.0.0.1]) by localhost (mx1.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 51347-10 for ; Wed, 25 Mar 2015 08:36:24 -0400 (EDT) Received: from [192.168.1.104] (static-72-64-143-96.tampfl.fios.verizon.net [72.64.143.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: robert@mx1.webtent.net) by mx1.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id 91D01D7B07 for ; Wed, 25 Mar 2015 08:36:24 -0400 (EDT) Message-ID: <5512AC0C.40404@webtent.com> Date: Wed, 25 Mar 2015 08:37:32 -0400 From: Robert Fitzpatrick User-Agent: Postbox 3.0.11 (Windows/20140602) MIME-Version: 1.0 To: FreeBSD Subject: Configure error for cyrus-sasl2-saslauthd after upgrade Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 12:37:42 -0000 I upgraded a FreeBSD 8.4 server to 10.1 and all went well for the most part except I can't get saslauthd to build now. I run saslauthd with the ldap flag and if I use the binary package install, it complains the ldap is an unknown mechanism. So, I remove the binary package and when I try to build from ports.... configure: error: in `/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.26': configure: error: C compiler cannot create executables See `config.log' for more details. ===> Script "configure" failed unexpectedly. Please report the problem to ume@FreeBSD.org [maintainer] and attach the "/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus-sasl-2.1.26/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 In the config.log, this is the error section..... Selected GCC installation: configure:3064: $? = 0 configure:3071: cc -V >&5 cc: error: argument to '-V' is missing (expected 1 value) cc: error: no input files configure:3075: $? = 1 configure:3098: checking for C compiler default output file name configure:3120: cc -O2 -pipe -fstack-protector -DLDAP_DEPRECATED -fno-strict-a$ cc: error: unknown argument: '-R/usr/local/lib' configure:3124: $? = 1 configure:3162: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "cyrus-sasl" | #define VERSION "2.1.26" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3168: error: in `/usr/ports/security/cyrus-sasl2-saslauthd/work/cyrus$ configure:3170: error: C compiler cannot create executables See `config.log' for more details. I have tried to force rebuild of all ports using portupgrade and applied all Freebsd updates, rebooted, still get the same error. I've searched for a solution on the web, but can't find anything specific to my error. Can someone please tell me what I might be able to do to solve this issue? Other packages build fine, I've removed cyrus-sasl and rebuilt to no avail and many other packages. Thanks, Robert