View previous topic :: View next topic |
Author |
Message |
jenkler Apprentice
Joined: 28 Apr 2003 Posts: 222 Location: Sweden - Stockholm
|
Posted: Mon Jul 24, 2017 12:57 am Post subject: Cant build mongodb-3.0.14 |
|
|
Using gcc-5.4.0-r3 and trying to build mongodb-3.0.14 without success.
I get "undefined reference to `pcrecpp", Could someone try 2 build mongodb and see if you get the same error? Is mongodb outdated on gentoo?
--------
Code: | 64.o build/build/third_party/v8/src/x64/regexp-macro-assembler-x64.o build/build/third_party/v8/src/x64/stub-cache-x64.o build/build/third_party/v8/src/zone.o -Wl,--end-group -lstemmer -lpcre -lpcrecpp -lboost_program_options-mt -lboost_filesystem-mt -lboost_thread-mt -lboost_system-mt -lyaml-cpp -lm -lpthread -lpcre -lpcrecpp -lsnappy -lyaml-cpp -lssl -lcrypto -lrt -ldl
x86_64-pc-linux-gnu-g++ -o build/build/mongo/db/auth/role_graph_update.o -c -pipe -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DMONGO_HAVE_STD_IS_TRIVIALLY_COPYABLE -DMONGO_SSL -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/role_graph_update.cpp
x86_64-pc-linux-gnu-g++ -o build/build/mongo/db/auth/role_name.o -c -pipe -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DMONGO_HAVE_STD_IS_TRIVIALLY_COPYABLE -DMONGO_SSL -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/role_name.cpp
x86_64-pc-linux-gnu-g++ -o build/build/mongo/db/auth/role_graph_builtin_roles.o -c -pipe -std=c++11 -fno-omit-frame-pointer -fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-missing-braces -fno-builtin-memcmp -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -DMONGO_BYTE_ORDER=1234 -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_CXX11_ATOMICS -DMONGO_HAVE_STD_IS_TRIVIALLY_COPYABLE -DMONGO_SSL -DMONGO_HAVE_FIPS_MODE_SET -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_VERSION=2 -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_POSIX_MONOTONIC_CLOCK -DMONGO_HAVE_EXECINFO_BACKTRACE -Isrc/third_party/s2 -Ibuild/build -Isrc src/mongo/db/auth/role_graph_builtin_roles.cpp
build/build/mongo/shell/dbshell.o: In function `shellHistoryAdd(char const*)':
dbshell.cpp:(.text+0x471): undefined reference to `pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
dbshell.cpp:(.text+0x525): undefined reference to `pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
build/build/mongo/shell/bench.o: In function `pcrecpp::RE::RE(char const*, pcrecpp::RE_Options const&)':
bench.cpp:(.text._ZN7pcrecpp2REC2EPKcRKNS_10RE_OptionsE[_ZN7pcrecpp2REC5EPKcRKNS_10RE_OptionsE]+0x71): undefined reference to `pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
build/build/mongo/util/options_parser/constraints.o: In function `mongo::optionenvironment::StringFormatKeyConstraint::check(mongo::optionenvironment::Environment const&)':
constraints.cpp:(.text+0x1ad3): undefined reference to `pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
build/build/mongo/util/version.o: In function `mongo::isSameMajorVersion(char const*)':
version.cpp:(.text+0x29c): undefined reference to `pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)'
collect2: error: ld returned 1 exit status
scons: *** [build/build/mongo/mongo] Error 1
scons: building terminated because of errors.
* ERROR: dev-db/mongodb-3.0.14::gentoo failed (compile phase):
* escons failed.
*
* Call stack:
* ebuild.sh, line 115: Called src_compile
* environment, line 3341: Called escons '--variant-dir=build' '--cc=x86_64-pc-linux-gnu-gcc' '--cxx=x86_64-pc-linux-gnu-g++' '--c++11' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--ssl' 'core' 'tools'
* environment, line 1593: Called die
* The specific snippet of code:
* die "escons failed."
|
---------------------
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
jenkler Apprentice
Joined: 28 Apr 2003 Posts: 222 Location: Sweden - Stockholm
|
Posted: Mon Jul 24, 2017 1:50 am Post subject: |
|
|
Sorry, I ment 2 as in to SO yeah, I guess I am childish...
Thanks, I will try to run:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
And see if it helps
EDIT: Thanks man, It worked _________________ Hello from me: Jenkler IT AB (swedish) (use google translate). Check out my Linux manpages for web in english. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|