[Crypto] Compile From Source and Openssl3 Support
Hey All, I am looking to compile Commons Crypto from source and I am wondering if there is any documentation for this process? I am trying to build Gary Gregory's OpenSSL3 branch but I am encountering the following error. I know this isn't the main branch but I am hoping someone will still be able to help out. I receive the following error when i run "make linux64" (i received a similar error on a M1 when i ran 'make mac64') *** No rule to make target 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', needed by 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. Stop. Any help or ideas would be appreciated! Thanks, Dan Thertell
Re: [Crypto] Compile From Source and Openssl3 Support
I should have kept notes! Gary On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell wrote: > Hey All, > > I am looking to compile Commons Crypto from source and I am wondering if > there is any documentation for this process? I am trying to build Gary > Gregory's OpenSSL3 branch but I am encountering the following error. I know > this isn't the main branch but I am hoping someone will still be able to > help out. I receive the following error when i run "make linux64" (i > received a similar error on a M1 when i ran 'make mac64') > > *** No rule to make target > > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > needed by > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > Stop. > > Any help or ideas would be appreciated! > > Thanks, > Dan Thertell >
Re: [Crypto] Compile From Source and Openssl3 Support
Hey Gary, lol ya I also have that note keeping issue! By any chance do you know what the version env variable should be? I am using 3_0_X right now. Thanks, Dan Thertell On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory wrote: > I should have kept notes! > > Gary > > On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell wrote: > > > Hey All, > > > > I am looking to compile Commons Crypto from source and I am wondering if > > there is any documentation for this process? I am trying to build Gary > > Gregory's OpenSSL3 branch but I am encountering the following error. I > know > > this isn't the main branch but I am hoping someone will still be able to > > help out. I receive the following error when i run "make linux64" (i > > received a similar error on a M1 when i ran 'make mac64') > > > > *** No rule to make target > > > > > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > > needed by > > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > > Stop. > > > > Any help or ideas would be appreciated! > > > > Thanks, > > Dan Thertell > > >
Re: [Crypto] Compile From Source and Openssl3 Support
Hey Gary I believe I managed to get it to build, however I do have a few questions. 1. Why were the make targets for the header files commented out and pointing to the wrong locations (in the make file)? 2. After successfully running make, how do I package everything into a JAR for testing? Thanks, Dan Thertell On Wed, Aug 9, 2023 at 2:13 PM Daniel Thertell wrote: > Hey Gary, > > lol ya I also have that note keeping issue! > By any chance do you know what the version env variable should be? I am > using 3_0_X right now. > > Thanks, > Dan Thertell > > On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory > wrote: > >> I should have kept notes! >> >> Gary >> >> On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell wrote: >> >> > Hey All, >> > >> > I am looking to compile Commons Crypto from source and I am wondering if >> > there is any documentation for this process? I am trying to build Gary >> > Gregory's OpenSSL3 branch but I am encountering the following error. I >> know >> > this isn't the main branch but I am hoping someone will still be able to >> > help out. I receive the following error when i run "make linux64" (i >> > received a similar error on a M1 when i ran 'make mac64') >> > >> > *** No rule to make target >> > >> > >> 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', >> > needed by >> > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. >> > Stop. >> > >> > Any help or ideas would be appreciated! >> > >> > Thanks, >> > Dan Thertell >> > >> >
Re: [Crypto] Compile From Source and Openssl3 Support
The branch is work in progress from a while ago, and it did not work completely, that much i remember. I can't take the time today to look at it today, I'm looking at other issues in Commons. Gary On Wed, Aug 9, 2023, 4:27 PM Daniel Thertell wrote: > Hey Gary > > I believe I managed to get it to build, however I do have a few questions. > > 1. Why were the make targets for the header files commented out and > pointing to the wrong locations (in the make file)? > 2. After successfully running make, how do I package everything into a JAR > for testing? > > Thanks, > Dan Thertell > > On Wed, Aug 9, 2023 at 2:13 PM Daniel Thertell > wrote: > > > Hey Gary, > > > > lol ya I also have that note keeping issue! > > By any chance do you know what the version env variable should be? I am > > using 3_0_X right now. > > > > Thanks, > > Dan Thertell > > > > On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory > > wrote: > > > >> I should have kept notes! > >> > >> Gary > >> > >> On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell > wrote: > >> > >> > Hey All, > >> > > >> > I am looking to compile Commons Crypto from source and I am wondering > if > >> > there is any documentation for this process? I am trying to build Gary > >> > Gregory's OpenSSL3 branch but I am encountering the following error. I > >> know > >> > this isn't the main branch but I am hoping someone will still be able > to > >> > help out. I receive the following error when i run "make linux64" (i > >> > received a similar error on a M1 when i ran 'make mac64') > >> > > >> > *** No rule to make target > >> > > >> > > >> > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > >> > needed by > >> > > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > >> > Stop. > >> > > >> > Any help or ideas would be appreciated! > >> > > >> > Thanks, > >> > Dan Thertell > >> > > >> > > >
Re: [Crypto] Compile From Source and Openssl3 Support
ya that's totally fine! I will continue to try and figure this out. Thanks, Dan Thertell On Wed, Aug 9, 2023 at 4:53 PM Gary Gregory wrote: > The branch is work in progress from a while ago, and it did not work > completely, that much i remember. I can't take the time today to look at it > today, I'm looking at other issues in Commons. > > Gary > > On Wed, Aug 9, 2023, 4:27 PM Daniel Thertell wrote: > > > Hey Gary > > > > I believe I managed to get it to build, however I do have a few > questions. > > > > 1. Why were the make targets for the header files commented out and > > pointing to the wrong locations (in the make file)? > > 2. After successfully running make, how do I package everything into a > JAR > > for testing? > > > > Thanks, > > Dan Thertell > > > > On Wed, Aug 9, 2023 at 2:13 PM Daniel Thertell > > wrote: > > > > > Hey Gary, > > > > > > lol ya I also have that note keeping issue! > > > By any chance do you know what the version env variable should be? I am > > > using 3_0_X right now. > > > > > > Thanks, > > > Dan Thertell > > > > > > On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory > > > wrote: > > > > > >> I should have kept notes! > > >> > > >> Gary > > >> > > >> On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell > > wrote: > > >> > > >> > Hey All, > > >> > > > >> > I am looking to compile Commons Crypto from source and I am > wondering > > if > > >> > there is any documentation for this process? I am trying to build > Gary > > >> > Gregory's OpenSSL3 branch but I am encountering the following > error. I > > >> know > > >> > this isn't the main branch but I am hoping someone will still be > able > > to > > >> > help out. I receive the following error when i run "make linux64" (i > > >> > received a similar error on a M1 when i ran 'make mac64') > > >> > > > >> > *** No rule to make target > > >> > > > >> > > > >> > > > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > > >> > needed by > > >> > > > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > > >> > Stop. > > >> > > > >> > Any help or ideas would be appreciated! > > >> > > > >> > Thanks, > > >> > Dan Thertell > > >> > > > >> > > > > > >
Re: [Crypto] Compile From Source and Openssl3 Support
I've been meaning to add openssl3 support to common crypto for a while now. Maybe this will give me the push that I need. I'm on my phone now without access to the branch, but I recall a docker file that provided a lot of build information on the main branch. You may consider having a look if you haven't already. Alex On Wed, Aug 9, 2023, 2:01 PM Daniel Thertell wrote: > ya that's totally fine! > I will continue to try and figure this out. > > Thanks, > Dan Thertell > > > On Wed, Aug 9, 2023 at 4:53 PM Gary Gregory > wrote: > > > The branch is work in progress from a while ago, and it did not work > > completely, that much i remember. I can't take the time today to look at > it > > today, I'm looking at other issues in Commons. > > > > Gary > > > > On Wed, Aug 9, 2023, 4:27 PM Daniel Thertell > wrote: > > > > > Hey Gary > > > > > > I believe I managed to get it to build, however I do have a few > > questions. > > > > > > 1. Why were the make targets for the header files commented out and > > > pointing to the wrong locations (in the make file)? > > > 2. After successfully running make, how do I package everything into a > > JAR > > > for testing? > > > > > > Thanks, > > > Dan Thertell > > > > > > On Wed, Aug 9, 2023 at 2:13 PM Daniel Thertell > > > wrote: > > > > > > > Hey Gary, > > > > > > > > lol ya I also have that note keeping issue! > > > > By any chance do you know what the version env variable should be? I > am > > > > using 3_0_X right now. > > > > > > > > Thanks, > > > > Dan Thertell > > > > > > > > On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory > > > > wrote: > > > > > > > >> I should have kept notes! > > > >> > > > >> Gary > > > >> > > > >> On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell > > > wrote: > > > >> > > > >> > Hey All, > > > >> > > > > >> > I am looking to compile Commons Crypto from source and I am > > wondering > > > if > > > >> > there is any documentation for this process? I am trying to build > > Gary > > > >> > Gregory's OpenSSL3 branch but I am encountering the following > > error. I > > > >> know > > > >> > this isn't the main branch but I am hoping someone will still be > > able > > > to > > > >> > help out. I receive the following error when i run "make linux64" > (i > > > >> > received a similar error on a M1 when i ran 'make mac64') > > > >> > > > > >> > *** No rule to make target > > > >> > > > > >> > > > > >> > > > > > > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > > > >> > needed by > > > >> > > > > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > > > >> > Stop. > > > >> > > > > >> > Any help or ideas would be appreciated! > > > >> > > > > >> > Thanks, > > > >> > Dan Thertell > > > >> > > > > >> > > > > > > > > > >
Re: [Crypto] Compile From Source and Openssl3 Support
Okay thanks Alex, I haven't looked at the Docker file! I just called make in the root of the project. I will be digging into it more tomorrow! Dan Thertell On Wed, Aug 9, 2023, 8:21 p.m. Alex Remily wrote: > I've been meaning to add openssl3 support to common crypto for a while > now. Maybe this will give me the push that I need. I'm on my phone now > without access to the branch, but I recall a docker file that provided a > lot of build information on the main branch. You may consider having a > look if you haven't already. > > > Alex > > On Wed, Aug 9, 2023, 2:01 PM Daniel Thertell wrote: > > > ya that's totally fine! > > I will continue to try and figure this out. > > > > Thanks, > > Dan Thertell > > > > > > On Wed, Aug 9, 2023 at 4:53 PM Gary Gregory > > wrote: > > > > > The branch is work in progress from a while ago, and it did not work > > > completely, that much i remember. I can't take the time today to look > at > > it > > > today, I'm looking at other issues in Commons. > > > > > > Gary > > > > > > On Wed, Aug 9, 2023, 4:27 PM Daniel Thertell > > wrote: > > > > > > > Hey Gary > > > > > > > > I believe I managed to get it to build, however I do have a few > > > questions. > > > > > > > > 1. Why were the make targets for the header files commented out and > > > > pointing to the wrong locations (in the make file)? > > > > 2. After successfully running make, how do I package everything into > a > > > JAR > > > > for testing? > > > > > > > > Thanks, > > > > Dan Thertell > > > > > > > > On Wed, Aug 9, 2023 at 2:13 PM Daniel Thertell > > > > wrote: > > > > > > > > > Hey Gary, > > > > > > > > > > lol ya I also have that note keeping issue! > > > > > By any chance do you know what the version env variable should be? > I > > am > > > > > using 3_0_X right now. > > > > > > > > > > Thanks, > > > > > Dan Thertell > > > > > > > > > > On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory < > garydgreg...@gmail.com> > > > > > wrote: > > > > > > > > > >> I should have kept notes! > > > > >> > > > > >> Gary > > > > >> > > > > >> On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell > > > > > wrote: > > > > >> > > > > >> > Hey All, > > > > >> > > > > > >> > I am looking to compile Commons Crypto from source and I am > > > wondering > > > > if > > > > >> > there is any documentation for this process? I am trying to > build > > > Gary > > > > >> > Gregory's OpenSSL3 branch but I am encountering the following > > > error. I > > > > >> know > > > > >> > this isn't the main branch but I am hoping someone will still be > > > able > > > > to > > > > >> > help out. I receive the following error when i run "make > linux64" > > (i > > > > >> > received a similar error on a M1 when i ran 'make mac64') > > > > >> > > > > > >> > *** No rule to make target > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > > > > >> > needed by > > > > >> > > > > > > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > > > > >> > Stop. > > > > >> > > > > > >> > Any help or ideas would be appreciated! > > > > >> > > > > > >> > Thanks, > > > > >> > Dan Thertell > > > > >> > > > > > >> > > > > > > > > > > > > > > >
Re: [Crypto] Compile From Source and Openssl3 Support
Have a look at https://github.com/apache/commons-crypto/blob/master/src/docker/README.md On Thu, 10 Aug 2023 at 01:33, Daniel Thertell wrote: > > Okay thanks Alex, I haven't looked at the Docker file! I just called make > in the root of the project. > I will be digging into it more tomorrow! > > Dan Thertell > > On Wed, Aug 9, 2023, 8:21 p.m. Alex Remily wrote: > > > I've been meaning to add openssl3 support to common crypto for a while > > now. Maybe this will give me the push that I need. I'm on my phone now > > without access to the branch, but I recall a docker file that provided a > > lot of build information on the main branch. You may consider having a > > look if you haven't already. > > > > > > Alex > > > > On Wed, Aug 9, 2023, 2:01 PM Daniel Thertell wrote: > > > > > ya that's totally fine! > > > I will continue to try and figure this out. > > > > > > Thanks, > > > Dan Thertell > > > > > > > > > On Wed, Aug 9, 2023 at 4:53 PM Gary Gregory > > > wrote: > > > > > > > The branch is work in progress from a while ago, and it did not work > > > > completely, that much i remember. I can't take the time today to look > > at > > > it > > > > today, I'm looking at other issues in Commons. > > > > > > > > Gary > > > > > > > > On Wed, Aug 9, 2023, 4:27 PM Daniel Thertell > > > wrote: > > > > > > > > > Hey Gary > > > > > > > > > > I believe I managed to get it to build, however I do have a few > > > > questions. > > > > > > > > > > 1. Why were the make targets for the header files commented out and > > > > > pointing to the wrong locations (in the make file)? > > > > > 2. After successfully running make, how do I package everything into > > a > > > > JAR > > > > > for testing? > > > > > > > > > > Thanks, > > > > > Dan Thertell > > > > > > > > > > On Wed, Aug 9, 2023 at 2:13 PM Daniel Thertell > > > > > wrote: > > > > > > > > > > > Hey Gary, > > > > > > > > > > > > lol ya I also have that note keeping issue! > > > > > > By any chance do you know what the version env variable should be? > > I > > > am > > > > > > using 3_0_X right now. > > > > > > > > > > > > Thanks, > > > > > > Dan Thertell > > > > > > > > > > > > On Wed, Aug 9, 2023 at 2:10 PM Gary Gregory < > > garydgreg...@gmail.com> > > > > > > wrote: > > > > > > > > > > > >> I should have kept notes! > > > > > >> > > > > > >> Gary > > > > > >> > > > > > >> On Wed, Aug 9, 2023, 1:49 PM Daniel Thertell > > > > > > > wrote: > > > > > >> > > > > > >> > Hey All, > > > > > >> > > > > > > >> > I am looking to compile Commons Crypto from source and I am > > > > wondering > > > > > if > > > > > >> > there is any documentation for this process? I am trying to > > build > > > > Gary > > > > > >> > Gregory's OpenSSL3 branch but I am encountering the following > > > > error. I > > > > > >> know > > > > > >> > this isn't the main branch but I am hoping someone will still be > > > > able > > > > > to > > > > > >> > help out. I receive the following error when i run "make > > linux64" > > > (i > > > > > >> > received a similar error on a M1 when i ran 'make mac64') > > > > > >> > > > > > > >> > *** No rule to make target > > > > > >> > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > 'target/jni-classes/org_apache_commons_crypto_random_OpenSslCryptoRandomNative.h', > > > > > >> > needed by > > > > > >> > > > > > > > > 'target/commons-crypto-3_0_x-Linux-x86_64/OpenSslCryptoRandomNative.o'. > > > > > >> > Stop. > > > > > >> > > > > > > >> > Any help or ideas would be appreciated! > > > > > >> > > > > > > >> > Thanks, > > > > > >> > Dan Thertell > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > > > > > > - To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org