Re: NSPR 4.7.4 Binary Release

Wan-Teh Chang <[email protected]> Mon, 25 Jan 2010 15:00:12 -0800
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
On Mon, Jan 25, 2010 at 2:52 PM, Michael Meduna
<[email protected]> wrote:
> I don't believe that we can build using the MSYS Unix emulation
> environment.  I believe that we need to remain in the SUA emulation
> environment, and as such, will need to build the software for Interix.  Is
> there a traditional build such that building NSPR and NSS can be
> accomplished via a simply 'make' command?  Is it necessary to run the
> configure script for NSPR (that seems to be where I have experienced
> problems).  In fact, I had to obtain a later version of the config.guess and
> config.sub files in order for the configure script to recognize Interix.

Hi Michael,

We have removed NSPR's old build system.  Now you have
to build NSPR using the configure script.

You'll need to port NSPR's configure script and possibly
makefiles to Interix.

I have some hints for the Interix port.

1. In mozilla/nsprpub/configure.in, search for "mingw" (for MSYS),
"mks", and "cygwin".  Study those places carefully because those
are the places where you may need to add support for Interix.

Here is an example:

*-mingw*|*-cygwin*|*-msvc*|*-mks*)

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/nsprpub/configure.in&rev=1.268&mark=1488#1488

In some places it may be as simple as adding Interix to the list.

2. Use autoconf 2.13 to generate mozilla/nsprpub/configure.
The latest version of autoconf isn't supported.

Wan-Teh