Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95E919334 for ; Tue, 10 Apr 2012 02:33:43 +0000 (UTC) Received: (qmail 27036 invoked by uid 500); 10 Apr 2012 02:33:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 26821 invoked by uid 500); 10 Apr 2012 02:33:42 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 26792 invoked by uid 99); 10 Apr 2012 02:33:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 02:33:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2012 02:33:38 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8A9A336233F for ; Tue, 10 Apr 2012 02:33:17 +0000 (UTC) Date: Tue, 10 Apr 2012 02:33:17 +0000 (UTC) From: "Victor Igumnov (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <182019822.6031.1334025197569.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <643907925.1893.1333817776688.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1456) Various build issues with couched 1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1456?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 250418#comment-13250418 ]=20 Victor Igumnov commented on COUCHDB-1456: ----------------------------------------- Looks like it works if I use g++ to link it. However, CC=3Dg++ isn't a viab= le solution, various things fail to compile with g++.=20 -Victor =20 > Various build issues with couched 1.2.0 > --------------------------------------- > > Key: COUCHDB-1456 > URL: https://issues.apache.org/jira/browse/COUCHDB-1456 > Project: CouchDB > Issue Type: Bug > Components: Build System > Affects Versions: 1.1.1 > Environment: CouchDB 1.2.0 / Solaris / gcc-4.2.3 / SpiderMonkey = 1.8.5 > Reporter: Victor Igumnov > > =E2=80=A2 Hard coded paths: /opt/local/(include|lib) can't be overridden = using --libdir / --includedir > =E2=80=A2 Fails to compile against spider monkey 1.8.5; CouchDB 1.1.1 did= not have this issue. See build stdout below.=20 > gmake[4]: Entering directory `/software/work/apache-couchdb-1.2.0/src/cou= chdb/priv' > /bin/sh ../../../libtool --tag=3DCC --mode=3Dlink gcc -g -Wall -Werror = -D_BSD_SOURCE -I/opt/extra/include -DXP_UNIX -I/opt/extra/spidermonkey-1.8.= 5/include -I/opt/extra/spidermonkey-1.8.5/include/js -I/opt/extra/spidermon= key-1.8.5/include/mozjs -I/opt/local/include -I/usr/local/include -I/usr/i= nclude -O2 -g -O2 -L/opt/extra/spidermonkey-1.8.5/lib -L/opt/local/lib -L= /usr/local/lib -L/opt/local/lib -L/usr/local/lib -o couchjs couchjs-http.= o couchjs-main.o couchjs-utf8.o couchjs-util.o -L/opt/extra/lib -lcurl -L/o= pt/extra/lib -lssl -lcrypto -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -l= dl -lz -lmozjs185-1.0 -lm -L/opt/local/lib -L/usr/local/lib -L/opt/loca= l/lib -L/usr/local/lib=20 > libtool: link: gcc -g -Wall -Werror -D_BSD_SOURCE -I/opt/extra/include -D= XP_UNIX -I/opt/extra/spidermonkey-1.8.5/include -I/opt/extra/spidermonkey-1= .8.5/include/js -I/opt/extra/spidermonkey-1.8.5/include/mozjs -I/opt/local/= include -I/usr/local/include -I/usr/include -O2 -g -O2 -o couchjs couchjs-h= ttp.o couchjs-main.o couchjs-utf8.o couchjs-util.o -L/opt/extra/spidermonk= ey-1.8.5/lib -L/opt/local/lib -L/usr/local/lib -L/opt/extra/lib /opt/extra/= lib/libcurl.so -lssl -lcrypto -lsocket -lnsl -ldl -lz -lmozjs185-1.0 -lm -W= l,-rpath -Wl,/opt/extra/lib -Wl,-rpath -Wl,/opt/extra/lib > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o): In functi= on `js::JSProxyHandler::~JSProxyHandler()': > jsproxy.cpp:(.text+0x26f3): undefined reference to `operator delete(void*= )' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o): In functi= on `js::JSScriptedProxyHandler::~JSScriptedProxyHandler()': > jsproxy.cpp:(.text+0x2732): undefined reference to `operator delete(void*= )' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o):(.gnu.link= once.d.rel.ro._ZTVN2js14JSProxyHandlerE+0x10): undefined reference to `__cx= a_pure_virtual' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o):(.gnu.link= once.d.rel.ro._ZTVN2js14JSProxyHandlerE+0x14): undefined reference to `__cx= a_pure_virtual' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o):(.gnu.link= once.d.rel.ro._ZTVN2js14JSProxyHandlerE+0x18): undefined reference to `__cx= a_pure_virtual' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o):(.gnu.link= once.d.rel.ro._ZTVN2js14JSProxyHandlerE+0x1c): undefined reference to `__cx= a_pure_virtual' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o):(.gnu.link= once.d.rel.ro._ZTVN2js14JSProxyHandlerE+0x20): undefined reference to `__cx= a_pure_virtual' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jsproxy.o):(.gnu.link= once.d.rel.ro._ZTVN2js14JSProxyHandlerE+0x24): more undefined references to= `__cxa_pure_virtual' follow > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jswrapper.o): In func= tion `JSWrapper::~JSWrapper()': > jswrapper.cpp:(.text+0x2a92): undefined reference to `operator delete(voi= d*)' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jswrapper.o): In func= tion `JSCrossCompartmentWrapper::~JSCrossCompartmentWrapper()': > jswrapper.cpp:(.text+0x2b42): undefined reference to `operator delete(voi= d*)' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jstracer.o): In funct= ion `nanojit::LogControl::~LogControl()': > jstracer.cpp:(.gnu.linkonce.t._ZN7nanojit10LogControlD0Ev+0x23): undefine= d reference to `operator delete(void*)' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jstracer.o): In funct= ion `js::DefaultSlotMap::~DefaultSlotMap()': > jstracer.cpp:(.gnu.linkonce.t._ZN2js14DefaultSlotMapD0Ev+0x31): undefined= reference to `operator delete(void*)' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(jstracer.o): In funct= ion `js::SlotMap::~SlotMap()': > jstracer.cpp:(.gnu.linkonce.t._ZN2js7SlotMapD0Ev+0x31): undefined referen= ce to `operator delete(void*)' > /opt/extra/spidermonkey-1.8.5/lib/libmozjs185-1.0.a(Assembler.o):Assemble= r.cpp:(.gnu.linkonce.t._ZN7nanojit9LirFilterD0Ev+0x23): more undefined refe= rences to `operator delete(void*)' follow > collect2: ld returned 1 exit status > gmake[4]: *** [couchjs] Error 1 > gmake[4]: Leaving directory `/software/work/apache-couchdb-1.2.0/src/couc= hdb/priv' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory `/software/work/apache-couchdb-1.2.0/src/couc= hdb' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/software/work/apache-couchdb-1.2.0/src' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/software/work/apache-couchdb-1.2.0' > gmake: *** [all] Error 2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira