installation error on Jaunty

47 views
Skip to first unread message

millisami

unread,
Dec 5, 2009, 1:41:34 AM12/5/09
to mongodb-user
Hi,
I was following the commands to install mongo on Jaunty.

Dependencies:
sudo apt-get install curl tcsh git-core scons g++
sudo apt-get install libpcre++-dev libboost-dev libmozjs-dev

Spider Monkey installation:
curl -O ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
tar zxvf js-1.7.0.tar.gz
cd js/src
export CFLAGS="-DJS_C_STRINGS_ARE_UTF8"
make -f Makefile.ref
sudo JS_DIST=/usr make -f Makefile.ref export

MongoDB installation:
git clone git://github.com/mongodb/mongo.git
scons all
sudo scons --prefix=/opt/mongo install

But when I issue the scons all command, I get the following error:

[/tmp/mongo (master)] ➔ scons all
scons: Reading SConscript files ...
scons version: 1.2.0
python version: 2 6 2 'final' 0
warning: using ubuntu without xulrunner-dev. we reccomend installing
it
Checking whether the C++ compiler worksyes
error: no result
Checking for C library stdc++... yes
Checking for C++ header file pcrecpp.h... yes
Checking for C++ header file boost/filesystem/operations.hpp... yes
Checking for C++ header file boost/asio.hpp... no
WARNING: old version of boost - you should consider upgrading
Checking for C library boost_thread-mt... yes
Checking for C library boost_filesystem-mt... yes
Checking for C library boost_program_options-mt... yes
Checking for C library boost_system-mt... no
Checking for C library boost_system... no
Checking for C++ header file execinfo.h... yes
Checking for C library pcrecpp... yes
Checking for C library pcre... yes
Checking for C library pcap... no
Checking for C library wpcap... no
Checking for C library mozjs... yes
Checking for C header file mozjs/jsapi.h... yes
Checking whether the C++ compiler worksyes
error: no result
Checking for C++ header file boost/filesystem/operations.hpp... yes
Checking for C++ header file boost/asio.hpp... no
WARNING: old version of boost - you should consider upgrading
Checking for C library boost_thread-mt... yes
Checking for C library boost_filesystem-mt... yes
Checking for C library boost_program_options-mt... yes
Checking for C library boost_system-mt... no
Checking for C library boost_system... no
Checking for C++ header file execinfo.h... yes
Checking for C library pcap... no
Checking for C library wpcap... no
Checking for C library mozjs... yes
Checking for C header file mozjs/jsapi.h... yes
Checking for C library readline... yes
Checking for C library ncurses... yes
Checking for C library tinfo... no
Checking for C library rt... yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o stdafx.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb
-pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -
D_SCONS -DXP_UNIX -I. stdafx.cpp
g++ -o buildinfo.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. buildinfo.cpp
g++ -o db/jsobj.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. db/jsobj.cpp
g++ -o db/json.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. db/json.cpp
g++ -o db/commands.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. db/commands.cpp
g++ -o db/lasterror.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
-ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
-O3 -D_SCONS -DXP_UNIX -I. db/lasterror.cpp
g++ -o db/nonce.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. db/nonce.cpp
g++ -o db/queryutil.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
-ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
-O3 -D_SCONS -DXP_UNIX -I. db/queryutil.cpp
concatjs(["shell/mongo.jsall"], ["shell/collection.js", "shell/db.js",
"shell/mongo.js", "shell/mr.js", "shell/query.js", "shell/servers.js",
"shell/utils.js"])
jsToH(["shell/mongo.cpp"], ["shell/mongo.jsall"])
g++ -o shell/mongo.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. shell/mongo.cpp
g++ -o util/background.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. util/background.cpp
g++ -o util/mmap.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. util/mmap.cpp
g++ -o util/sock.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. util/sock.cpp
g++ -o util/util.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. util/util.cpp
g++ -o util/message.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
-ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
-O3 -D_SCONS -DXP_UNIX -I. util/message.cpp
g++ -o util/assert_util.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. util/assert_util.cpp
g++ -o util/httpclient.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. util/httpclient.cpp
g++ -o util/md5main.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
-ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
-O3 -D_SCONS -DXP_UNIX -I. util/md5main.cpp
g++ -o util/base64.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -
O3 -D_SCONS -DXP_UNIX -I. util/base64.cpp
g++ -o util/debug_util.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. util/debug_util.cpp
gcc -o util/md5.o -c -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -
Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -
DXP_UNIX -I. util/md5.c
g++ -o client/connpool.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. client/connpool.cpp
g++ -o client/dbclient.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. client/dbclient.cpp
g++ -o client/model.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
-ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
-O3 -D_SCONS -DXP_UNIX -I. client/model.cpp
g++ -o client/parallel.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. client/parallel.cpp
g++ -o scripting/engine.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. scripting/engine.cpp
g++ -o util/mmap_posix.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -
Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. util/mmap_posix.cpp
g++ -o util/processinfo_linux2.o -c -Wnon-virtual-dtor -fPIC -fno-
strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-
pragmas -Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. util/
processinfo_linux2.cpp
g++ -o scripting/engine_spidermonkey.o -c -Wnon-virtual-dtor -fPIC -
fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-
pragmas -Winvalid-pch -O3 -D_SCONS -DXP_UNIX -I. scripting/
engine_spidermonkey.cpp
In file included from scripting/engine_spidermonkey.cpp:19:
scripting/engine_spidermonkey.h:50:22: error: js/jsapi.h: No such file
or directory
scripting/engine_spidermonkey.h:51:22: error: js/jsobj.h: No such file
or directory
scripting/engine_spidermonkey.h:52:23: error: js/jsdate.h: No such
file or directory
scripting/engine_spidermonkey.h:53:25: error: js/jsregexp.h: No such
file or directory
scripting/engine_spidermonkey.h:62:2: warning: #warning old version of
spider monkey ( probably 1.6 ) you should upgrade to at least 1.7
In file included from scripting/engine_spidermonkey.cpp:1474:
scripting/sm_db.cpp:783:2: warning: #warning dates do not work in your
version of spider monkey
In file included from scripting/engine_spidermonkey.cpp:19:
scripting/engine_spidermonkey.h:66: error: 'JSBool' does not name a
type
scripting/engine_spidermonkey.h:88: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:89: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:91: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:92: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:93: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:94: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:95: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:96: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:97: error: 'JSClass' does not name a
type
scripting/engine_spidermonkey.h:101: error: variable or field
'errorReporter' declared void
scripting/engine_spidermonkey.h:101: error: 'JSContext' was not
declared in this scope
scripting/engine_spidermonkey.h:101: error: 'cx' was not declared in
this scope
scripting/engine_spidermonkey.h:101: error: expected primary-
expression before 'const'
scripting/engine_spidermonkey.h:101: error: 'JSErrorReport' was not
declared in this scope
scripting/engine_spidermonkey.h:101: error: 'report' was not declared
in this scope
scripting/engine_spidermonkey.h:105: error: 'JSBool' does not name a
type
scripting/engine_spidermonkey.h:109: error: 'JSContext' has not been
declared
scripting/engine_spidermonkey.h:109: error: 'JSObject' has not been
declared
scripting/engine_spidermonkey.h:110: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.h:110: error: 'JSObject' has not been
declared
scripting/engine_spidermonkey.h:114: error: 'JSContext' was not
declared in this scope
scripting/engine_spidermonkey.h:114: error: 'cx' was not declared in
this scope
scripting/engine_spidermonkey.h:114: error: 'JSObject' was not
declared in this scope
scripting/engine_spidermonkey.h:114: error: 'o' was not declared in
this scope
scripting/engine_spidermonkey.h:114: error: initializer expression
list treated as compound expression
scripting/engine_spidermonkey.cpp:123: error: expected `)' before '*'
token
scripting/engine_spidermonkey.cpp:127: error: 'JSString' has not been
declared
scripting/engine_spidermonkey.cpp:151: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:155: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:161: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:167: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:177: error: 'JSObject' has not been
declared
scripting/engine_spidermonkey.cpp:226: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:235: error: 'JSFunction' has not
been declared
scripting/engine_spidermonkey.cpp:239: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:251: error: 'jsval' has not been
declared
scripting/engine_spidermonkey.cpp:327: error: 'JSFunction' has not
been declared
scripting/engine_spidermonkey.cpp:329: error: ISO C++ forbids
declaration of 'JSFunction' with no type
scripting/engine_spidermonkey.cpp:329: error: expected ';' before '*'
token
scripting/engine_spidermonkey.cpp:336: error: expected `;' before
'JSFunction'
scripting/engine_spidermonkey.cpp:336: error: ISO C++ forbids
declaration of 'JSFunction' with no type
scripting/engine_spidermonkey.cpp:336: error: expected ';' before '*'
token
In file included from scripting/engine_spidermonkey.cpp:1474:
scripting/sm_db.cpp:836: error: expected `;' at end of input
scripting/sm_db.cpp:836: error: expected `}' at end of input
scripting/engine_spidermonkey.cpp: In member function 'std::string
mongo::Convertor::toString(int*)':
scripting/engine_spidermonkey.cpp:128: error: 'jschar' was not
declared in this scope
scripting/engine_spidermonkey.cpp:128: error: 's' was not declared in
this scope
scripting/engine_spidermonkey.cpp:128: error: 'JS_GetStringChars' was
not declared in this scope
scripting/engine_spidermonkey.cpp:129: error: 'JS_GetStringLength' was
not declared in this scope
scripting/engine_spidermonkey.cpp:141: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:141: error: 'JS_EncodeCharacters'
was not declared in this scope
scripting/engine_spidermonkey.cpp:145: error: 'JS_CStringsAreUTF8' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'std::string
mongo::Convertor::toString(int)':
scripting/engine_spidermonkey.cpp:152: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:152: error: 'JS_ValueToString' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'double
mongo::Convertor::toNumber(int)':
scripting/engine_spidermonkey.cpp:157: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:157: error: 'JS_ValueToNumber' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'bool
mongo::Convertor::toBoolean(int)':
scripting/engine_spidermonkey.cpp:162: error: 'JSBool' was not
declared in this scope
scripting/engine_spidermonkey.cpp:162: error: expected `;' before 'b'
scripting/engine_spidermonkey.cpp:163: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:163: error: 'b' was not declared in
this scope
scripting/engine_spidermonkey.cpp:163: error: 'JS_ValueToBoolean' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'mongo::OID
mongo::Convertor::toOID(int)':
scripting/engine_spidermonkey.cpp:168: error: 'JSContext' was not
declared in this scope
scripting/engine_spidermonkey.cpp:168: error: 'cx' was not declared in
this scope
scripting/engine_spidermonkey.cpp:168: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:169: error: 'JSVAL_IS_OBJECT' was
not declared in this scope
scripting/engine_spidermonkey.cpp:169: error: 'JSVAL_TO_OBJECT' was
not declared in this scope
scripting/engine_spidermonkey.cpp:169: error: 'object_id_class' was
not declared in this scope
scripting/engine_spidermonkey.cpp:169: error: 'JS_InstanceOf' was not
declared in this scope
scripting/engine_spidermonkey.cpp:171: error: 'JSObject' was not
declared in this scope
scripting/engine_spidermonkey.cpp:171: error: 'o' was not declared in
this scope
scripting/engine_spidermonkey.cpp:173: error: 'getString' was not
declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'mongo::BSONObj
mongo::Convertor::toObject(int*)':
scripting/engine_spidermonkey.cpp:181: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:181: error: 'bson_ro_class' was not
declared in this scope
scripting/engine_spidermonkey.cpp:181: error: 'JS_InstanceOf' was not
declared in this scope
scripting/engine_spidermonkey.cpp:182: error: 'JS_GetPrivate' was not
declared in this scope
scripting/engine_spidermonkey.cpp:188: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:188: error: 'bson_class' was not
declared in this scope
scripting/engine_spidermonkey.cpp:188: error: 'JS_InstanceOf' was not
declared in this scope
scripting/engine_spidermonkey.cpp:189: error: 'JS_GetPrivate' was not
declared in this scope
scripting/engine_spidermonkey.cpp:199: error: 'OBJECT_TO_JSVAL' was
not declared in this scope
scripting/engine_spidermonkey.cpp:201: error: 'jsval' was not declared
in this scope
scripting/engine_spidermonkey.cpp:201: error: expected `;' before
'theid'
scripting/engine_spidermonkey.cpp:202: error: 'theid' was not declared
in this scope
scripting/engine_spidermonkey.cpp:202: error: 'JSVAL_IS_VOID' was not
declared in this scope
scripting/engine_spidermonkey.cpp:206: error: 'JSIdArray' was not
declared in this scope
scripting/engine_spidermonkey.cpp:206: error: 'properties' was not
declared in this scope
scripting/engine_spidermonkey.cpp:206: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:206: error: 'JS_Enumerate' was not
declared in this scope
scripting/engine_spidermonkey.cpp:209: error: 'jsint' was not declared
in this scope
scripting/engine_spidermonkey.cpp:209: error: expected `;' before 'i'
scripting/engine_spidermonkey.cpp:209: error: 'i' was not declared in
this scope
scripting/engine_spidermonkey.cpp:210: error: 'jsid' was not declared
in this scope
scripting/engine_spidermonkey.cpp:210: error: expected `;' before 'id'
scripting/engine_spidermonkey.cpp:211: error: expected `;' before
'nameval'
scripting/engine_spidermonkey.cpp:212: error: 'id' was not declared in
this scope
scripting/engine_spidermonkey.cpp:212: error: 'nameval' was not
declared in this scope
scripting/engine_spidermonkey.cpp:212: error: 'JS_IdToValue' was not
declared in this scope
scripting/engine_spidermonkey.cpp:217: error: 'getProperty' was not
declared in this scope
scripting/engine_spidermonkey.cpp:220: error: 'JS_DestroyIdArray' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'mongo::BSONObj
mongo::Convertor::toObject(int)':
scripting/engine_spidermonkey.cpp:227: error: 'JSVAL_IS_NULL' was not
declared in this scope
scripting/engine_spidermonkey.cpp:228: error: 'JSVAL_IS_VOID' was not
declared in this scope
scripting/engine_spidermonkey.cpp:231: error: 'JSVAL_IS_OBJECT' was
not declared in this scope
scripting/engine_spidermonkey.cpp:232: error: 'JSVAL_TO_OBJECT' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'std::string
mongo::Convertor::getFunctionCode(int*)':
scripting/engine_spidermonkey.cpp:236: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:236: error: 'JS_DecompileFunction'
was not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'std::string
mongo::Convertor::getFunctionCode(int)':
scripting/engine_spidermonkey.cpp:240: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:240: error: 'JS_TypeOfValue' was not
declared in this scope
scripting/engine_spidermonkey.cpp:240: error: 'JSTYPE_FUNCTION' was
not declared in this scope
scripting/engine_spidermonkey.cpp:241: error: 'JS_ValueToFunction' was
not declared in this scope
scripting/engine_spidermonkey.cpp: In member function 'void
mongo::Convertor::append(mongo::BSONObjBuilder&, std::string, int,
mongo::BSONType)':
scripting/engine_spidermonkey.cpp:253: error: '_context' was not
declared in this scope
scripting/engine_spidermonkey.cpp:253: error: 'JS_TypeOfValue' was not
declared in this scope
scripting/engine_spidermonkey.cpp:255: error: 'JSTYPE_VOID' was not
declared in this scope
scripting/engine_spidermonkey.cpp:256: error: 'JSTYPE_NULL' was not
declared in this scope
scripting/engine_spidermonkey.cpp:258: error: 'JSTYPE_NUMBER' was not
declared in this scope
scripting/engine_spidermonkey.cpp:266: error: 'JSTYPE_STRING' was not
declared in this scope
scripting/engine_spidermonkey.cpp:267: error: 'JSTYPE_BOOLEAN' was not
declared in this scope
scripting/engine_spidermonkey.cpp:269: error: 'JSTYPE_OBJECT' was not
declared in this scope
scripting/engine_spidermonkey.cpp:270: error: 'JSObject' was not
declared in this scope
scripting/engine_spidermonkey.cpp:270: error: 'o' was not declared in
this scope
scripting/engine_spidermonkey.cpp:270: error: 'JSVAL_TO_OBJECT' was
not declared in this scope
scripting/engine_spidermonkey.cpp:271: error: 'JSVAL_NULL' was not
declared in this scope
scripting/engine_spidermonkey.cpp:276: error: 'JS_IsArrayObject' was
not declared in this scope
scripting/engine_spidermonkey.cpp:286: error: 'JSTYPE_FUNCTION' was
not declared in this scope
scripting/engine_spidermonkey.cpp:297: error: 'typeString' was not
declared in this scope
scripting/engine_spidermonkey.cpp: At global scope:
scripting/engine_spidermonkey.cpp:325: error: expected unqualified-id
at end of input
scripting/engine_spidermonkey.cpp:325: error: expected `}' at end of
input
scons: *** [scripting/engine_spidermonkey.o] Error 1
scons: building terminated because of errors.

Is this dependency error or the code?

Eliot Horowitz

unread,
Dec 5, 2009, 8:23:25 AM12/5/09
to mongod...@googlegroups.com
Where'd you get those instructions? They are out of date. Need to
install xulrunner-dev. Also, if you want a stable build you should use
the latest branch, currently v1.2
> pch -
> O3 -D_SCONS -DXP_UNIX -I. db/commands.cpp
> g++ -o db/lasterror.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
> -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
> -O3 -D_SCONS -DXP_UNIX -I. db/lasterror.cpp
> g++ -o db/nonce.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -
> ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-
> pch -
> O3 -D_SCONS -DXP_UNIX -I. db/nonce.cpp
> g++ -o db/queryutil.o -c -Wnon-virtual-dtor -fPIC -fno-strict-aliasing
> -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch
> -O3 -D_SCONS -DXP_UNIX -I. db/queryutil.cpp
> concatjs(["shell/mongo.jsall"], ["shell/collection.js", "shell/db.js",
> "shell/mongo.js", "shell/mr.js", "shell/query.js", "shell/servers.js",
> "shell/utils.js"])
> jsToH(["shell/mongo.cpp"], ["shell/mongo.jsall"])
> g++ -o shell/mongo.o -c -Wnon-virtual-dtor -fPIC -fno-strict-
> aliasing -
> ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-
> aliasing -
> ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-
> --
>
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en
> .
>
>

millisami

unread,
Dec 5, 2009, 1:45:01 PM12/5/09
to mongodb-user
Yup, I'd to install the xulrunner-dev to get it successfully
installed.
Thanks for your reply.

On Dec 5, 6:23 pm, Eliot Horowitz <eliothorow...@gmail.com> wrote:
> Where'd you get those instructions?  They are out of date.  Need to  
> install xulrunner-dev. Also, if you want a stable build you should use  
> the latest branch, currently v1.2
>
> On Dec 5, 2009, at 1:41 AM, millisami <millis...@gmail.com> wrote:
>
>
>
> > Hi,
> > I was following the commands to install mongo on Jaunty.
>
> > Dependencies:
> > sudo apt-get install curl tcsh git-core scons g++
> > sudo apt-get install libpcre++-dev libboost-dev libmozjs-dev
>
> > Spider Monkey installation:
> > curl -Oftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages