Ahh, here we go:
scons: Configure: Checking for C library boost_filesystem...
.sconf_temp/conftest_8.c <-
|
|
|
|int
|main() {
|
|return 0;
|}
|
/build/vk/DAS/slc5_amd64_gcc434/external/gcc/4.3.4/bin/g++ -
o .sconf_temp/conftest_8.o -c -fPIC -fno-strict-aliasing -ggdb -
pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -
D_SCONS -DUSE_ASIO_OFF -I. -I/include -I/build/vk/DAS/
slc5_amd64_gcc434/external/boost/1.40.0/include -I/build/vk/DAS/
slc5_amd64_gcc434/external/spidermonkey/1.8.0_rc1-cmp/
include .sconf_temp/conftest_8.c
/build/vk/DAS/slc5_amd64_gcc434/external/gcc/4.3.4/bin/g++ -
o .sconf_temp/conftest_8 -fPIC -pthread -rdynamic .sconf_temp/
conftest_8.o -L/lib -L/build/vk/DAS/slc5_amd64_gcc434/external/boost/
1.40.0/lib -L/build/vk/DAS/slc5_amd64_gcc434/external/spidermonkey/
1.8.0_rc1-cmp/lib -L/usr/lib64 -L/lib64 -lpthread -lstdc++ -
lboost_thread -lboost_filesystem
/build/vk/DAS/slc5_amd64_gcc434/external/gcc/4.3.4/bin/../lib/gcc/
x86_64-unknown-linux-gnu/4.3.4/../../../../x86_64-unknown-linux-gnu/
bin/ld: warning: libboost_system.so.1.40.0, needed by /build/vk/DAS/
slc5_amd64_gcc434/external/boost/1.40.0/lib/libboost_filesystem.so,
not found (try using -rpath or -rpath-link)
/build/vk/DAS/slc5_amd64_gcc434/external/boost/1.40.0/lib/
libboost_filesystem.so: undefined reference to
`boost::system::get_generic_category()'
/build/vk/DAS/slc5_amd64_gcc434/external/boost/1.40.0/lib/
libboost_filesystem.so: undefined reference to
`boost::system::get_system_category()'
collect2: ld returned 1 exit status
scons: Configure: no
while if I do with my change and invoke scons as
scons --64 --cxx=$CXX --extrapath=$PCRE_ROOT,$BOOST_ROOT,
$SPIDERMONKEY_ROOT all
I get everything build
/build/vk/DAS/slc5_amd64_gcc434/external/gcc/4.3.4/bin/g++ -o mongod -
fPIC -pthread -rdynamic stdafx.o buildinfo.o db/jsobj.o db/json.o db/
commands.o db/lasterror.o db/nonce.o db/queryutil.o shell/mongo.o util/
background.o util/mmap.o util/sock.o util/util.o util/message.o util/
assert_util.o util/httpclient.o util/md5main.o util/base64.o util/
debug_util.o util/md5.o client/connpool.o client/dbclient.o client/
model.o client/parallel.o scripting/engine.o util/mmap_posix.o util/
processinfo_linux2.o scripting/engine_spidermonkey.o db/query.o db/
update.o db/introspect.o db/btree.o db/clientcursor.o db/tests.o db/
repl.o db/btreecursor.o db/cloner.o db/namespace.o db/matcher.o db/
dbeval.o db/dbwebserver.o db/dbinfo.o db/dbhelpers.o db/instance.o db/
pdfile.o db/cursor.o db/security_commands.o db/client.o db/security.o
util/miniwebserver.o db/storage.o db/reccache.o db/queryoptimizer.o db/
extsort.o db/mr.o s/d_util.o db/dbcommands.o db/dbcommands_admin.o s/
d_logic.o db/module.o db/modules/mms.o db/db.o -L/lib -L/build/vk/DAS/
slc5_amd64_gcc434/external/boost/1.40.0/lib -L/build/vk/DAS/
slc5_amd64_gcc434/external/spidermonkey/1.8.0_rc1-cmp/lib -L/usr/lib64
-L/lib64 -lpthread -lstdc++ -lboost_thread -lboost_filesystem -
lboost_program_options -lboost_system -lpcrecpp -lpcre -ljs
So the test failed because it misses other boost libraries.
> ...
>
> read more »