I am trying to build the makensis for Solaris, so that I could include it in our nightly build process and after I had our server admin install python and scons in it, I downloaded the latest nsis source (and zipped binary) and kicked off the scons build.
in not too long, I got an error message stating the _md5 library is missing:
Has anyone else been hit by this?
scons: Reading SConscript files ...
EnvironmentError: No module named _md5:
File "/home/luolong/nsis-2.36-src/SConstruct", line 1:
EnsurePythonVersion(1,6)
File "/usr/local/lib/scons-0.98.2/SCons/Script/SConscript.py", line 594:
env = self.factory()
File "/usr/local/lib/scons-0.98.2/SCons/Script/SConscript.py", line 574:
default_env = SCons.Defaults.DefaultEnvironment()
File "/usr/local/lib/scons-0.98.2/SCons/Defaults.py", line 90:
_default_env = apply(SCons.Environment.Environment, args, kw)
File "/usr/local/lib/scons-0.98.2/SCons/Environment.py", line 933:
apply_tools(self, tools, toolpath)
File "/usr/local/lib/scons-0.98.2/SCons/Environment.py", line 106:
env.Tool(tool)
File "/usr/local/lib/scons-0.98.2/SCons/Environment.py", line 1583:
tool(self)
File "/usr/local/lib/scons-0.98.2/SCons/Tool/__init__.py", line 175:
apply(self.generate, ( env, ) + args, kw)
File "/usr/local/lib/scons-0.98.2/SCons/Tool/default.py", line 40:
for t in SCons.Tool.tool_list(env['PLATFORM'], env):
File "/usr/local/lib/scons-0.98.2/SCons/Tool/__init__.py", line 655:
env)
File "/usr/local/lib/scons-0.98.2/SCons/Tool/__init__.py", line 543:
return filter (ToolExists, tools)
File "/usr/local/lib/scons-0.98.2/SCons/Tool/__init__.py", line 542:
return Tool(tool).exists(env)
File "/usr/local/lib/scons-0.98.2/SCons/Tool/__init__.py", line 89:
module = self._tool_module()
File "/usr/local/lib/scons-0.98.2/SCons/Tool/__init__.py", line 140:
raise SCons.Errors.EnvironmentError, e
I am a complete newb when it comes to building nsis from source and/or using scons, so at least some assistance would be greatly appreciated 🙂
Thanks