From owner-freebsd-ports@FreeBSD.ORG Tue Jun 29 18:30:53 2010 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 996EC1065673 for ; Tue, 29 Jun 2010 18:30:53 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog.angryox.com (nog.angryox.com [70.164.19.87]) by mx1.freebsd.org (Postfix) with ESMTP id 662768FC0C for ; Tue, 29 Jun 2010 18:30:53 +0000 (UTC) Received: from nog.angryox.com (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id 55BA62C3DD2 for ; Tue, 29 Jun 2010 18:30:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=angryox.com; h=date:from :to:subject:message-id:mime-version:content-type; s= powerfulgood; bh=nkDXvKkhi5tvjTvtEKiKpmPMYLU=; b=rD5Q/duWN5snSgY GulKs6Z41UgKjlosrt8spBd3mv+A7z82VPlPawAgSqZnrlozrVVtvjXzLudxgdzL Q9oiMva5Tt2FeigFbtcM5woPhtq9lDoffZGpPYgqNOp15z2cFReuaDiXwfCpYkTq gKNc6PdWVBmuCdfFxLt8acvKdIzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=angryox.com; h=date:from:to :subject:message-id:mime-version:content-type; q=dns; s= powerfulgood; b=32eb0hIqMfOsdD0Ay8wn9Vby4l9SL0zi6t4rGu2ScjhpIO5H jlacIAxom2QXBpumgT1Zx49L28OxCOLD4w9cpu9bITMdnB3VvUIjdzwEGhkjYSqV TlV1N34AaA8hhYWv7ZjhlMQByZxVYq/vHhtYodwGxqNxXxTsNOUWBSy53u0= Received: by nog.angryox.com (Postfix, from userid 1001) id F16B22C3DCC; Tue, 29 Jun 2010 18:30:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id F06ED2C3DCB for ; Tue, 29 Jun 2010 14:30:51 -0400 (EDT) Date: Tue, 29 Jun 2010 14:30:51 -0400 From: Peter Beckman To: ports@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: nagios-plugins-1.4.14_1,1 Configure Error, libtool15 to blame 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: Tue, 29 Jun 2010 18:30:53 -0000 I had some trouble installing nagios-plugins 1.4.14 from ports. I'm on an AMD64 box running FreeBSD-6.2-RELEASE-p5. Here's what happened: checking whether it is safe to define __EXTENSIONS__... yes checking whether cc needs -traditional... no ./configure.lineno: 5406: Syntax error: word unexpected (expecting ")") ===> Script "configure" failed unexpectedly. Please report the problem to jarrod@netleader.com.au [maintainer] and attach the "/usr/ports/net-mgmt/nagios-plugins/work/nagios-plugins-1.4.14/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. an `ls /var/db/pkg`). The configure from the source runs fine, but using the port causes problems. The line in question that this fails on is this: 5405 5406 _LT_DECL(build_libtool_libs, enable_shared, 0, 5407 Whether or not to build shared libraries) 5408 Turns out that if you ever had libtool 1.5 installed before you upgraded, probably via portupgrade, to libtool22, there are some dangling files that mess everything up. Turns out you just need to delete two files from /usr/local/share/aclocal: libtool15.m4 ltdl15.m4 http://lists.freebsd.org/pipermail/freebsd-x11/2009-August/008751.html This discusses the frustration people had with purging the libtool15 stuff: http://www.mail-archive.com/freebsd-ports@freebsd.org/msg22785.html Hope that helps someone. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ ---------------------------------------------------------------------------