Re: databases/mongodb on FreeBSD 9

2012-12-03 Thread Patrick
Looks like I had the following installed:

boost-jam-1.45.0
boost-libs-1.45.0_2

I've updated them to:

boost-jam-1.48.0
boost-libs-1.48.0_1

And mongodb built just fine. Thanks for the tip!


On Fri, Nov 30, 2012 at 10:42 AM, Wesley Shields w...@freebsd.org wrote:

 On Fri, Nov 30, 2012 at 06:22:28AM -0800, Patrick wrote:
  Has anyone had any issues building the mongodb port on FreeBSD 9?
 
  I'm running 9.0-RELEASE-p5 on i386:
 
  It's bailing for me here:
 
  c++ -o
 
 build/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo/shell/linenoise.o
  -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-omit-frame-pointer -fPIC
  -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare
  -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS
  -DSUPPORT_UTF8 -D__freebsd__ -D_FILE_OFFSET_BITS=64
 -DJS_C_STRINGS_ARE_UTF8
  -DMONGO_SSL -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE
  -Ibuild/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm -Isrc
  -Ibuild/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo
  -Isrc/mongo
  -Ibuild/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo/cpp
  -Isrc/mongo/cpp -I/usr/local/include src/mongo/shell/linenoise.cpp
  In file included from src/mongo/shell/linenoise.cpp:115:
  src/mongo/shell/linenoise_utf8.h: In member function 'void
 
 linenoise_utf8::UtfStringMixinchar_type::swap(linenoise_utf8::UtfStringMixinchar_type)':
  src/mongo/shell/linenoise_utf8.h:145: error: 'swap' is not a member of
 'std'
  src/mongo/shell/linenoise_utf8.h:146: error: 'swap' is not a member of
 'std'
  src/mongo/shell/linenoise_utf8.h:147: error: 'swap' is not a member of
 'std'
  scons: ***
 
 [build/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo/shell/linenoise.o]
  Error 1
  scons: building terminated because of errors.
  *** Error code 2

 It builds fine for me. Can you check what version of boost and it's
 related packages you are building against?

 -- WXS

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: databases/mongodb on FreeBSD 9

2012-11-30 Thread Wesley Shields
On Fri, Nov 30, 2012 at 06:22:28AM -0800, Patrick wrote:
 Has anyone had any issues building the mongodb port on FreeBSD 9?
 
 I'm running 9.0-RELEASE-p5 on i386:
 
 It's bailing for me here:
 
 c++ -o
 build/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo/shell/linenoise.o
 -c -Wnon-virtual-dtor -Woverloaded-virtual -fno-omit-frame-pointer -fPIC
 -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare
 -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS
 -DSUPPORT_UTF8 -D__freebsd__ -D_FILE_OFFSET_BITS=64 -DJS_C_STRINGS_ARE_UTF8
 -DMONGO_SSL -DMONGO_HAVE_HEADER_UNISTD_H -DMONGO_HAVE_EXECINFO_BACKTRACE
 -Ibuild/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm -Isrc
 -Ibuild/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo
 -Isrc/mongo
 -Ibuild/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo/cpp
 -Isrc/mongo/cpp -I/usr/local/include src/mongo/shell/linenoise.cpp
 In file included from src/mongo/shell/linenoise.cpp:115:
 src/mongo/shell/linenoise_utf8.h: In member function 'void
 linenoise_utf8::UtfStringMixinchar_type::swap(linenoise_utf8::UtfStringMixinchar_type)':
 src/mongo/shell/linenoise_utf8.h:145: error: 'swap' is not a member of 'std'
 src/mongo/shell/linenoise_utf8.h:146: error: 'swap' is not a member of 'std'
 src/mongo/shell/linenoise_utf8.h:147: error: 'swap' is not a member of 'std'
 scons: ***
 [build/freebsd/cpppath_cpp/cxx_c++/ssl/use-system-all/usesm/mongo/shell/linenoise.o]
 Error 1
 scons: building terminated because of errors.
 *** Error code 2

It builds fine for me. Can you check what version of boost and it's
related packages you are building against?

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org