[SERVER-11690]  Trying to recompile Mongo with SSL turned on. Created: 13/Nov/13  Updated: 10/Dec/14  Resolved: 13/Nov/13

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: 2.4.8
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Mark Furlong Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Red Hat Enterprise Linux Server release 5.10


Participants:

 Description   

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.



 Comments   
Comment by Andy Schwerin [ 13/Nov/13 ]

Because of a script that is used in the compilation of the V8 javascript engine, you need access to the python "bz2" library. pip install bz2 or easy_install bz2 or install the bz2 library by whatever means you use on your host system.

Generated at Thu Feb 08 03:26:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.