From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 17:21:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE217106564A for ; Tue, 1 Apr 2008 17:21:42 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 31E868FC2B for ; Tue, 1 Apr 2008 17:21:41 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id TAA20723 for ; Tue, 1 Apr 2008 19:14:24 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) Received: from ppp-82-135-76-206.dynamic.mnet-online.de(82.135.76.206) by hunter.Sisis.de via smap (V2.1) id xma020605; Tue, 1 Apr 08 19:13:53 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m31HL8X5001898 for freebsd-questions@freebsd.org; Tue, 1 Apr 2008 19:21:08 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 1 Apr 2008 19:21:08 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20080401172108.GA1821@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) Subject: problem with autoconf && PKG_CHECK_MODULES X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 17:21:42 -0000 Hello, The SVN trunk of OPAC is using 'autoconf' for creating 'configure' and Makefiles; it seems that it can't expand PKG_CHECK_MODULES(...) in configure.ac and I have investigated that: I have installed on my 7.0R box: # pkg_info | fgrep pkg-config-0.22_1 pkg-config-0.22_1 A utility to retrieve information about installed libraries and this packages provides the following files: # pkg_info -L pkg-config-0.22_1 Information for pkg-config-0.22_1: Files: /usr/local/man/man1/pkg-config.1.gz /usr/local/bin/pkg-config /usr/local/share/aclocal/pkg.m4 the file /usr/local/share/aclocal/pkg.m4 contains the definition of PKG_CHECK_MODULES(): # fgrep PKG_CHECK_MODULES /usr/local/share/aclocal/pkg.m4 # to PKG_CHECK_MODULES(), but does not set variables or print errors. # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # PKG_CHECK_MODULES might not happen, you should be sure to include an AC_DEFUN([PKG_CHECK_MODULES], ... autoconf is /usr/local/bin/autoconf and in real through the wrapper: ... + exec /usr/local/bin/autoconf-2.61 which does not read /usr/local/share/aclocal/pkg.m4 as I've proofed with 'ls -lu /usr/local/share/aclocal/pkg.m4' that's why PKG_CHECK_MODULES is not expanded by autoconf and the result is an error in running configure; any ideas? matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail?