commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <>
Subject [jira] [Created] (CRYPTO-45) Document how to build Commons Crypto
Date Sun, 01 May 2016 10:10:12 GMT
Benedikt Ritter created CRYPTO-45:

             Summary: Document how to build Commons Crypto
                 Key: CRYPTO-45
             Project: Commons Crypto
          Issue Type: Bug
          Components: Document
            Reporter: Benedikt Ritter

While trying to deploy the website I run into this problem:

[INFO] --- maven-antrun-plugin:1.7:run (make) @ commons-crypto ---
[INFO] Executing tasks

     [exec] compiling
     [exec] "$JAVA_HOME/bin/javac" -source 1.6 -target 1.6 -d target/jni-classes -sourcepath
src/main/java src/main/java/org/apache/commons/crypto/random/
     [exec] warning: [options] bootstrap class path not set in conjunction with -source 1.6
     [exec] 1 warning
     [exec] "$JAVA_HOME/bin/javah" -force -classpath target/jni-classes -o target/jni-classes/org/apache/commons/crypto/random/OpensslCryptoRandomNative.h
     [exec] gcc -arch x86_64 -Ilib/inc_mac -I/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/include
-O2 -fPIC -mmacosx-version-min=10.5 -fvisibility=hidden -Ilib/include -I/usr/include -I"src/main/native/org/apache/commons/crypto/"
-I"/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/include/darwin" -I"target/jni-classes/org/apache/commons/crypto/cipher"
-I"target/jni-classes/org/apache/commons/crypto/random" -c src/main/native/org/apache/commons/crypto/random/OpensslCryptoRandomNative.c
-o target/commons-crypto-1.0.0-SNAPSHOT-Mac-x86_64/OpensslCryptoRandom.o
     [exec] In file included from src/main/native/org/apache/commons/crypto/random/OpensslCryptoRandomNative.c:19:
     [exec] In file included from src/main/native/org/apache/commons/crypto/random/org_apache_commons_crypto_random.h:22:
     [exec] src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h:196:10:
fatal error: 'openssl/aes.h' file not found
     [exec] #include <openssl/aes.h>
     [exec]          ^
     [exec] 1 error generated.
     [exec] make: *** [target/commons-crypto-1.0.0-SNAPSHOT-Mac-x86_64/OpensslCryptoRandom.o]
Error 1

I'm pretty lost, since I don't know c programming. Would be good to have some documentation
on how to set up the development environment (on Linux/Mac OS/Windows) for building crypto.

This message was sent by Atlassian JIRA

View raw message