I need to use spidermonkey for my perl javascript engine. For that I need to build spidermonkey with thread-safe libraries. So as I understand I need to first build NSPR and then spidermonkey.
So, as I understood from following link https://developer.mozilla.org/en/NSPR_build_instructions
I first downloaded the mozilla-build and opened the mingw. I followed the instructions as mentioned like creating target.debug directory and so on .....
when I am doing make, I am getting following error message
make[3]: nsinstall: Command not found
make[3]: *** [export] Error 127
make[3]: Leaving directory `/c/target.debug/pr/include/md'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/c/target.debug/pr/include'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/c/target.debug/pr'
make: *** [export] Error 2
looks like nsinstall is missing.
I am not a professional programmer in C/C++ so looking for your help.
I need to successfully build the spidermonkey on window using Mingw.
I tried to follow the steps as mentioned in following link: http://jargon.ca/spidermonkey/
but when I am running the js.exe, it's complaining about missing libnspr4.dll file.
So please help me how can I build nspr and spidermonkey on windows operating system.
There is no straight forward way on Windows. You have two options to do that. Either follow instructions on:
I have not personally tried the 1st option, but for second option you will need Microsoft Visual Studio to work with. Then again, if you need just NSPR 4 why don't you pull out those files from your Firefox installation directoy? I guess the DLLs are named something like nspr4.dll, plc4.dll and plds4.dll.