|
|
#1 |
|
Junior Member
Join Date: Apr 2008
Posts: 4
|
EnvironmentError: No module named _md5
Hello,
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: code: Has anyone else been hit by this? 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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Do you have md5 module installed for Python? It should come with the default configuration, but maybe Solaris played with it a bit.
Maybe adding the following to SConsctruct will do the trick as they'll cause scons not to use md5. code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2008
Posts: 4
|
The problem was actually in python installation that had some trouble ith openSSH libraries.
now that this has been resolved, scons gets much further, but still gets stuck at the point it is supposed to start compiling. It seems scons expects CC compiler whereas we have gcc instead: code: |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
That's scons being unable to find your C compiler. Try helping it a bit by specifying PATH=/path/to/CC.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Apr 2008
Posts: 4
|
Quote:
(the system i am trying to build makensis on, does not have CC) |
|
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
scons doesn't use your PATH, it builds its own.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Apr 2008
Posts: 4
|
thanks, that seemed to help, but now I get "Error 127":
code: Searching this forum and googing around, gives me no clue what "Error 127" means |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
When dealing with scons issues the forum will not help you much. If you want to search, you should search the scons mailing list and Wiki.
A quick Google search on "solaris error 127" suggests it means g++ can't be found. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|