Skip to content

Instantly share code, notes, and snippets.

@jammi
Created July 22, 2011 23:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jammi/1100645 to your computer and use it in GitHub Desktop.
Save jammi/1100645 to your computer and use it in GitHub Desktop.
MongoDB build failure on OSX 10.7 Lion
:info:build /Developer/usr/bin/llvm-g++-4.2 -o util/processinfo_darwin.o -c -arch x86_64 -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/opt/local/include util/processinfo_darwin.cpp
:info:build /Developer/usr/bin/llvm-g++-4.2 -o db/durop.o -c -arch x86_64 -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/opt/local/include db/durop.cpp
:info:build /Developer/usr/bin/llvm-g++-4.2 -o db/dur_writetodatafiles.o -c -arch x86_64 -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/opt/local/include db/dur_writetodatafiles.cpp
:info:build /Developer/usr/bin/llvm-g++-4.2 -o db/dur_preplogbuffer.o -c -arch x86_64 -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/opt/local/include db/dur_preplogbuffer.cpp
:info:build In file included from util/processinfo_darwin.cpp:23:
:info:build /usr/include/mach/task_info.h:252: error: 'vm_extmod_statistics_data_t' does not name a type
:info:build /opt/local/include/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used
:info:build /opt/local/include/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used
:info:build /opt/local/include/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used
:info:build scons: *** [util/processinfo_darwin.o] Error 1
:info:build scons: building terminated because of errors.
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work/mongodb-src-r1.8.2" && scons -j4 all mongobridge mongosniff --usesm --cxx=/Developer/usr/bin/llvm-g++-4.2 --full " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
@digitalhobbit
Copy link

Same here. Any luck getting this working?

@digitalhobbit
Copy link

This might be worth trying: https://trac.macports.org/ticket/30263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment