Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D812E7491 for ; Mon, 26 Sep 2011 20:22:35 +0000 (UTC) Received: (qmail 11772 invoked by uid 500); 26 Sep 2011 20:22:34 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 11627 invoked by uid 500); 26 Sep 2011 20:22:34 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 11619 invoked by uid 99); 26 Sep 2011 20:22:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 20:22:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rjones@salientsystems.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 20:22:29 +0000 Received: by wyh11 with SMTP id 11so6166055wyh.11 for ; Mon, 26 Sep 2011 13:22:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.133.22 with SMTP id p22mr9320119wei.91.1317068527581; Mon, 26 Sep 2011 13:22:07 -0700 (PDT) Received: by 10.216.86.197 with HTTP; Mon, 26 Sep 2011 13:22:07 -0700 (PDT) Date: Mon, 26 Sep 2011 16:22:07 -0400 Message-ID: Subject: Configuration failure during make From: Robert Jones To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6de00a6bb38f604addde94d --0016e6de00a6bb38f604addde94d Content-Type: text/plain; charset=ISO-8859-1 When attempting to build couchdb I get the following error: checking for pthread_create in -lpthread... yes ./configure: line 12347: syntax error near unexpected token `mozjs185,' ./configure: line 12347: `PKG_CHECK_EXISTS(mozjs185, JS_LIB_BASE=mozjs185,)' This instance of configure is kicked off as part of the make process. The original configure completes just fine, that is, it does not barf on the pkg-config autoconf macros. I am not an AutoTools guru so I'm struggling with the issue here. Any advice would be appreciated. I'm working with couchdb-1.1.0. I've applied patches from the following Jira Issue: https://issues.apache.org/jira/browse/COUCHDB-1078?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs Specifically, I applied the mozjs1.8.5.patch, followed by the couchjs_ff185.patch. Here is the output after a successful configure and kicking off the make: config.status: executing libtool commands You have configured Apache CouchDB, time to relax. Run `make && sudo make install' to install. + export ERL_LIBS=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/../erlang/lib + ERL_LIBS=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/../erlang/lib + make -s cd . && /bin/sh /home/user/minimal-couchdb-sm/couchdb/build-aux/missing --run automake-1.11 --foreign running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/build/couchdb --with-erlang=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/build/deps/otp_rel/usr/include --with-js-include=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/build/deps/mozilla-current/mozilla-central/js/src/dist/include --with-js-lib=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/build/deps/mozilla-current/mozilla-central/js/src ERL=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/../erlang/bootstrap/bin/erl ERLC=/home/user/minimal-couchdb-sm/Couchbase-SourceBuild/../erlang/bootstrap/bin/erlc --no-create --no-recursion checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes ./configure: line 4671: PKG_PROG_PKG_CONFIG: command not found checking for gcc... (cached) gcc checking for pthread_create in -lpthread... yes ./configure: line 12347: syntax error near unexpected token `mozjs185,' ./configure: line 12347: `PKG_CHECK_EXISTS(mozjs185, JS_LIB_BASE=mozjs185,)' make: *** [config.status] Error 2 -- Robert Jones Technical Lead, Software Development L.B. Foster Company - Salient Systems 4393-K Tuller Rd Dublin, OH 43017-5008 phone: (614) 792-5800 EX 4636 fax: (614) 792-5888 email: rjones@salientsystems.com website: www.lbfoster.com NASDAQ Ticker Symbol: FSTR --0016e6de00a6bb38f604addde94d--