incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Jones <rjo...@salientsystems.com>
Subject Configuration failure during make
Date Mon, 26 Sep 2011 20:22:07 GMT
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

<snip>

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

<snip>

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 <your%20name@salientsystems.com>

website:  www.lbfoster.com
NASDAQ Ticker Symbol: FSTR

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message