Trying to recompile Mongo with SSL turned on.

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.8
    • Component/s: Admin
    • None
    • Environment:
      Red Hat Enterprise Linux Server release 5.10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using the opensource version, we tried to compile mongodb version 2.4.8 with SSL turned on, based on the instructuions from
      http://www.mongodb.org/about/tutorial/build-mongodb-on-linux/
      When we ran scons or scons all or scons --ssl all, we received the below error:
      [root@vhamwvdevdasch2 mongo]# scons
      scons: Reading SConscript files ...
      scons version: 2.3.0
      python version: 2 7 5 'final' 0
      Checking whether the C++ compiler worksyes
      Checking for C header file unistd.h... yes
      Checking whether clock_gettime is declared... yes
      Checking for C library rt... yes
      Checking for C++ header file execinfo.h... yes
      Checking whether backtrace is declared... yes
      Checking whether backtrace_symbols is declared... yes
      Checking whether backtrace_symbols_fd is declared... yes
      Checking for C library pcap... no
      Checking for C library wpcap... no
      ImportError: No module named bz2:
      File "/root/mongo/SConstruct", line 1144:
      env.SConscript('src/SConscript', variant_dir='$BUILD_DIR', duplicate=False)
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
      return _SConscript(self.fs, *files, **subst_kw)
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
      exec file in call_stack[-1].globals
      File "/root/mongo/src/SConscript", line 10:
      module_sconscripts)
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 609:
      return method(*args, **kw)
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
      return _SConscript(self.fs, *files, **subst_kw)
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
      exec file in call_stack[-1].globals
      File "/root/mongo/src/third_party/SConscript", line 53:
      env.SConscript('v8/SConscript')
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 546:
      return _SConscript(self.fs, *files, **subst_kw)
      File "/usr/lib/scons/SCons/Script/SConscript.py", line 260:
      exec file in call_stack[-1].globals
      File "/root/mongo/src/third_party/v8/SConscript", line 33:
      import js2c
      File "/root/mongo/src/third_party/v8/tools/js2c.py", line 36:
      import bz2

      For more detail contact Nagaraj (Raj) Nachiappan 956-279-9117
      or nagaraj.nachiappan@va.gov.

            Assignee:
            Unassigned
            Reporter:
            Mark Furlong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: