Re: build problems
Wan-Teh Chang <[email protected]> Wed, 29 Jul 2009 15:44:58 -0700
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 29, 2009 at 3:35 PM, news.mozilla.org<[email protected]> wrote: > Hi Wan-Teh, > > thanks for your suggestion. Now the build goes fine with cygwin. > > I also want to build NSS. So i downloaded nss-3.11.4-with-nspr-4.6.4. > Now, after your suggestion, i have built NSPR-4.6.4 successfully. > > But doing the nss-3.11.4 build according to the > http://www.mozilla.org/projects/security/pki/nss/nss-3.11.4/nss-3.11.4-build.html > FAILS. > I do this build from a windows command line using the Netscape wintools. > > process_begin: CreateProcess((null), pwd, ...) failed. > process_begin: CreateProcess((null), pwd, ...) failed. I have seen this kind of problem before. I seem to remember it is caused by using the gmake.exe from the Netscape wintools with Cygwin's sh.exe. If so, the fix is to use Cygwin's make.exe instead. Again, you may need to adjust your PATH environment variable so that "make.exe" is Cygwin's make.exe. This is why I now recommend MozillaBuild -- it takes care of everything for you. You don't need to install Cygwin or Netscape wintools, and you don't need to worry about the PATH environment variable. Wan-Teh