Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 59481 invoked from network); 9 Feb 2010 15:31:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 15:31:11 -0000 Received: (qmail 73445 invoked by uid 500); 9 Feb 2010 15:31:11 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 73349 invoked by uid 500); 9 Feb 2010 15:31:10 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 73339 invoked by uid 99); 9 Feb 2010 15:31:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 15:31:09 +0000 X-ASF-Spam-Status: No, hits=-8.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kim.vdriet@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 15:30:59 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o19FUa79028023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 9 Feb 2010 10:30:37 -0500 Received: from [10.16.16.49] (busy-beaver.bos.redhat.com [10.16.16.49]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o19FUaNT018336 for ; Tue, 9 Feb 2010 10:30:36 -0500 Subject: Re: Autoconf problem in persistence module. From: Kim van der Riet To: users@qpid.apache.org In-Reply-To: <86bf3a0b1002051309m50bcc258j23d4d35f8fcc2ace@mail.gmail.com> References: <86bf3a0b1002051309m50bcc258j23d4d35f8fcc2ace@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Organization: Red Hat Date: Tue, 09 Feb 2010 10:31:54 -0500 Message-ID: <1265729514.2007.86.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 2010-02-05 at 13:09 -0800, Inoshiro Linden wrote: > Is this the wrong venue for discussion the C++ persistence plugin? I > am attempting to build revision r3372 to work with the 0.5 qpidc > release. > > There is some problem with autoconf in the persistence module that I don't grok. > > It's a syntax error in this line: PKG_CHECK_MODULES(APR, apr-1 >= > $APR_MINIMUM_VERSION) > > This is a /bin/sh script. So is this an incorrectly unexpanded m4 macro? > > > The relevant trancript follows: > > cd build/persistence-module-cpp && ./configure --with-qpid-prefix=/usr > --prefix=/usr ... > ./configure: line 22071: syntax error near unexpected token `APR,' > ./configure: line 22071: ` PKG_CHECK_MODULES(APR, apr-1 >= > $APR_MINIMUM_VERSION)' I am not an expert on the autotools... It is likely that this is related to the versions of autotools in use. What are the versions of autoconfig/automake/libtool you are using? I have: automake17-1.7.9-13 automake16-1.6.3-18 automake15-1.5-27 automake14-1.4p6-19 autoconf-2.63-5 libtool-2.2.6-17 There may also be distro differences; a lot of what is generated depends on what you have installed. My configure file only has 20658 lines, and contains no line such as the one which is giving you problems. I agree it looks suspiciously like an autoconf macro that is improperly expanded or included in the final script. This macro is not used directly in the configure.ac file, however. I'm assuming you ran bootstrap immediately before, which is responsible for generating the configure script. Here is a thread on a similar issue... http://www.mail-archive.com/qpid-dev@incubator.apache.org/msg01941.html. This makes me ask if there are old m4 script files lying around? Try a fresh checkout without any old builds or previous configurations present in the build dir. Sorry, I have no absolute answers on this. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org