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 53BBB9B41 for ; Wed, 11 Apr 2012 16:21:44 +0000 (UTC) Received: (qmail 60829 invoked by uid 500); 11 Apr 2012 16:21:42 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60782 invoked by uid 500); 11 Apr 2012 16:21:42 -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 60773 invoked by uid 99); 11 Apr 2012 16:21:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 16:21:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rjones@eggycrew.com designates 96.126.127.151 as permitted sender) Received: from [96.126.127.151] (HELO bigbertha.eggycrew.com) (96.126.127.151) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 16:21:35 +0000 Received: from [192.168.2.3] (c-98-197-129-225.hsd1.tx.comcast.net [98.197.129.225]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rjones@eggycrew.com) by bigbertha.eggycrew.com (Postfix) with ESMTPSA id 2FCB1C1CA for ; Wed, 11 Apr 2012 11:21:14 -0500 (CDT) Message-ID: <4F85AF79.30903@eggycrew.com> Date: Wed, 11 Apr 2012 11:21:13 -0500 From: Russell Jones User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: CouchDB 1.2 will not compile on CentOS 5 References: <4F834E2E.7040101@eggycrew.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit That gave me a good starting point. I went ahead and looked at the log before sending it and saw this error: configure:16688: checking jsapi.h usability configure:16705: g++ -c -DXP_UNIX -I/usr/include -I/usr/include/js -I/usr/include/mozjs -I/opt/local/include -I/usr/local/include -I/usr/include conftest.cpp >&5 ./configure: line 16706: g++: command not found I guess 1.2 needs c++ compilation capabilities now on the server? I installed the gcc-c++ packages and re-ran my configure line and it configured and compiled without an issue. On 4/11/2012 9:47 AM, Paul Davis wrote: > Can you paste me a copy of your config.log file somewhere after configure fails? > > On Mon, Apr 9, 2012 at 5:01 PM, Russell Jones wrote: >> Hi all, >> >> I am able to compile CouchDB 1.1 without an issue, but cannot compile 1.2 on >> the exact same server. Receiving the following error when attempting to >> compile: >> >> checking jsapi.h usability... no >> checking jsapi.h presence... no >> checking for jsapi.h... no >> checking js/jsapi.h usability... no >> checking js/jsapi.h presence... no >> checking for js/jsapi.h... no >> configure: error: Could not find the jsapi header. >> >> Are the Mozilla SpiderMonkey headers installed? >> >> >> The JS and JS-Devel packages are installed: >> >> Installed Packages >> Name : js >> Arch : i386 >> Version : 1.70 >> Release : 8.el5 >> Size : 867 k >> Repo : installed >> Summary : JavaScript interpreter and libraries >> URL : http://www.mozilla.org/js/ >> License : GPLv2+ >> Description: JavaScript is the Netscape-developed object scripting language >> used in millions >> : of web pages and server applications worldwide. Netscape's >> JavaScript is a >> : superset of the ECMA-262 Edition 3 (ECMAScript) standard >> scripting language, >> : with only mild differences from the published standard. >> >> Name : js >> Arch : x86_64 >> Version : 1.70 >> Release : 8.el5 >> Size : 911 k >> Repo : installed >> Summary : JavaScript interpreter and libraries >> URL : http://www.mozilla.org/js/ >> License : GPLv2+ >> Description: JavaScript is the Netscape-developed object scripting language >> used in millions >> : of web pages and server applications worldwide. Netscape's >> JavaScript is a >> : superset of the ECMA-262 Edition 3 (ECMAScript) standard >> scripting language, >> : with only mild differences from the published standard. >> >> >> Installed Packages >> Name : js-devel >> Arch : i386 >> Version : 1.70 >> Release : 8.el5 >> Size : 1.7 M >> Repo : installed >> Summary : Header files, libraries and development documentation for js >> URL : http://www.mozilla.org/js/ >> License : GPLv2+ >> Description: This package contains the header files, static libraries and >> development >> : documentation for js. If you like to develop programs using js, >> : you will need to install js-devel. >> >> Name : js-devel >> Arch : x86_64 >> Version : 1.70 >> Release : 8.el5 >> Size : 1.9 M >> Repo : installed >> Summary : Header files, libraries and development documentation for js >> URL : http://www.mozilla.org/js/ >> License : GPLv2+ >> Description: This package contains the header files, static libraries and >> development >> : documentation for js. If you like to develop programs using js, >> : you will need to install js-devel. >> >> >> >> It is my understanding that version 1.7 of SpiderMonkey is supposed to be >> acceptable. I saw that a similar error to this one was supposedly fixed in >> 1.2: >> https://issues.apache.org/jira/browse/COUCHDB-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel >> >> >> What can I do to get CouchDB 1.2 to compile? >> >> Thanks! >>