Re: nss build problem: could not open file certdata.c

Franziskus Kiefer <[email protected]> Thu, 2 Mar 2017 12:54:56 +0100
Newsgroups gmane.comp.mozilla.security
Message-ID <CADthy-K2vryoea1a95ykccCbzeJK9xnpWbiaVtq_ffR++jF8QQ@mail.gmail.com>
As Tim said said, the old Makefiles should work fine.
If you want to try the new builds system on Windows you need to install gyp
[1], strawberry perl [2], and ninja [3], and add them to the path. We work
on making the new system easier to use on Windows. But for now installing
those dependencies should work.

[1] https://chromium.googlesource.com/external/gyp.git
[2] http://strawberryperl.com/
[3] https://chromium.googlesource.com/external/gyp.git

On Mon, Feb 27, 2017 at 8:48 PM, Tim Taubert <[email protected]> wrote:

> You might have more success with the "old" Makefile build system. GYP
> (i.e. build.sh) works well on Linux and macOS so far, but we haven't
> finished Windows integration just yet.
>
> - Tim
>
>
> [email protected] wrote:
> > Hi, I have being building nss & nspr for windows using visual studio
> 2015. The nss & nspr i clone it from https://hg.mozilla.org/projects/nspr
> & https://hg.mozilla.org/projects/nss respectively at date 26/feb/2017.
> The gyp & ninja, I build it from https://chromium.googlesource.
> com/external/gyp & git://github.com/ninja-build/ninja.git at date
> 27/feb/2017. I also use the mozilla make tools download from mozilla
> website.
> >
> > I have actually found that something wrong with the auto generated file
> nss\out\release\obj\lib\ckfw\builtins\nssckbi.ninja at line 70, which is
> "..\..\..\out\Release\obj\lib\ckfw\builtins\nssckbi.gen/certdata.c".
> After doing some modification I found that in order for it to work, it need
> to be changed to "../../../out/Release/obj/lib/ckfw/builtins/nssckbi.gen/certdata.c"
> instead.
> >
> > May I know if this is a bug, or if there's something I didn't configure
> right?
> > _______________________________________________
> > dev-security mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-security
> _______________________________________________
> dev-security mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-security
>