Hello, Glen.

On 2008-10-04 04:06:11 +0200, Glen Beasley <[EMAIL PROTECTED]> said:

> after building NSS/NSPR with nss_build_all
> 
> cd ../jss and just type "make" and the Makefile will configure the 
> build and exec the build script for you.
> 
> http://www.mozilla.org/projects/security/pki/jss/jss_build_4.2.5.html

That's the procedure I followed.

> Note: Java does need to be in your path.
> 
> JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
> PATH=$JAVA_HOME/Commands:
> 
> export PATH JAVA_HOME

My JAVA_HOME was set to:

        /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home

I tried your JAVA_HOME and set PATH to $JAVA_HOME/Commands:$PATH, but I 
got a "Command failed":

$ make
perl build_java.pl "SOURCE_PREFIX=../../dist" 
"SOURCE_RELEASE_PREFIX=../../dist/release/no-policy" 
"SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG" 
"SOURCE_RELEASE_CLASSES_DIR=classes" "XPCLASS_DBG_JAR=xpclass_dbg.jar" 
"XPCLASS_JAR=xpclass.jar" build
Command variables:
XPCLASS_JAR=xpclass.jar
XPCLASS_DBG_JAR=xpclass_dbg.jar
SOURCE_RELEASE_PREFIX=../../dist/release/no-policy
SOURCE_RELEASE_CLASSES_DIR=classes
SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG
SOURCE_PREFIX=../../dist
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/bin/javah 
-classpath ../../dist/classes_DBG -d ../../dist/private/jss/_jni 
org.mozilla.jss.DatabaseCloser org.mozilla.jss.CryptoManager 
org.mozilla.jss.crypto.Algorithm 
org.mozilla.jss.crypto.EncryptionAlgorithm 
org.mozilla.jss.crypto.PQGParams 
org.mozilla.jss.crypto.SecretDecoderRing 
org.mozilla.jss.pkcs11.CertProxy 
org.mozilla.jss.pkcs11.CipherContextProxy 
org.mozilla.jss.pkcs11.PK11Module org.mozilla.jss.pkcs11.ModuleProxy 
org.mozilla.jss.pkcs11.PK11Cert org.mozilla.jss.pkcs11.PK11Cipher 
org.mozilla.jss.pkcs11.PK11KeyWrapper 
org.mozilla.jss.pkcs11.PK11MessageDigest 
org.mozilla.jss.pkcs11.PK11PrivKey org.mozilla.jss.pkcs11.PK11PubKey 
org.mozilla.jss.pkcs11.PK11SymKey 
org.mozilla.jss.pkcs11.PK11KeyPairGenerator 
org.mozilla.jss.pkcs11.PK11KeyGenerator 
org.mozilla.jss.pkcs11.PK11Token org.mozilla.jss.pkcs11.PrivateKeyProxy 
org.mozilla.jss.pkcs11.PublicKeyProxy 
org.mozilla.jss.pkcs11.SymKeyProxy org.mozilla.jss.pkcs11.KeyProxy 
org.mozilla.jss.pkcs11.PK11Token org.mozilla.jss.pkcs11.TokenProxy 
org.mozilla.jss.pkcs11.PK11Signature org.mozilla.jss.pkcs11.PK11Store 
org.mozilla.jss.pkcs11.PK11KeyPairGenerator 
org.mozilla.jss.pkcs11.SigContextProxy 
org.mozilla.jss.pkcs11.PK11RSAPublicKey 
org.mozilla.jss.pkcs11.PK11DSAPublicKey 
org.mozilla.jss.pkcs11.PK11ECPublicKey 
org.mozilla.jss.pkcs11.PK11SecureRandom 
org.mozilla.jss.provider.java.security.JSSKeyStoreSpi 
org.mozilla.jss.SecretDecoderRing.KeyManager 
org.mozilla.jss.ssl.SSLSocket org.mozilla.jss.ssl.SSLServerSocket 
org.mozilla.jss.ssl.SocketBase org.mozilla.jss.util.Debug 
org.mozilla.jss.util.Password
Command failed (16777215)
make: *** [buildJava] Error 2

Regards,

Georges

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to