Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 14:30:51 -0400
From:      Peter Beckman <beckman@angryox.com>
To:        ports@FreeBSD.org
Subject:   nagios-plugins-1.4.14_1,1 Configure Error, libtool15 to blame
Message-ID:  <alpine.BSF.2.00.1006291350020.36750@nog.angryox.com>

next in thread | raw e-mail | index | archive | help
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/
---------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1006291350020.36750>