Build error when adding --enable-crypto option

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Build error when adding --enable-crypto option

rion10
When building Mozilla 1.7.12, there is no error without --enable-crypto
option. But if I add this option, I got the following error in
mozilla-1.7.12/security/nss/lib/pki folder:

========================================================
syntax error at -e line 3, near "while"
syntax error at -e line 7, near "}"
Execution of -e aborted due to compilation errors.
../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m
444 pki.h pkit.h nsspkit.h nsspki.h pkistore.h pki3hack.h pkitm.h pkim.h
../../../../dist/private/nss
make: ../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall:
Command not found
make: *** [private_export] Error 127
========================================================

Does anyone know what's the problem? Thanks a lot.


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build error when adding --enable-crypto option

Nelson Bolyard
luke liang wrote:

> When building Mozilla 1.7.12, there is no error without --enable-crypto
> option. But if I add this option, I got the following error in
> mozilla-1.7.12/security/nss/lib/pki folder:
>
> ========================================================
> syntax error at -e line 3, near "while"
> syntax error at -e line 7, near "}"
> Execution of -e aborted due to compilation errors.
> ../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -R -m
> 444 pki.h pkit.h nsspkit.h nsspki.h pkistore.h pki3hack.h pkitm.h pkim.h
> ../../../../dist/private/nss
> make: ../../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall:
> Command not found
> make: *** [private_export] Error 127
> ========================================================
>
> Does anyone know what's the problem? Thanks a lot.

Yeah, your build didn't build the nsinstall program in
mozilla/security/coreconf/nsinstall, or it was built but not in the
directory where the makefiles subsequently expected to find it.

So it wasn't found during the build.  That long relative path by
which make tries to find the nsinstall program seems ... icky (:-)
and maybe wrong in your case.

That grotty syntax error is from a perl script that runs the build. :(
Any time you see
   "syntax error at <something> line <something> near <something>"
you're seeing an unhappy perl script.  You can ignore it in this case.
Basically, you need to build nsinstall.

This is the second report I've seen of this in the last week or two.
I wonder why this isn't getting built right.



_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Build error when adding --enable-crypto option

Nelson Bolyard
Nelson Bolyard wrote:

> This is the second report I've seen of this in the last week or two.
> I wonder why this isn't getting built right.

Maybe BUILD_TREE isn't getting defined.
See http://lxr.mozilla.org/security/source/security/coreconf/UNIX.mk#52


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds