commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [CRYPTO] How to build CRYPTO on Mac OS 10.11?
Date Sun, 01 May 2016 21:16:02 GMT
On 1 May 2016 at 21:27, Gary Gregory <garydgregory@gmail.com> wrote:
> On May 1, 2016 12:19 PM, "sebb" <sebbaz@gmail.com> wrote:
>>
>> On 1 May 2016 at 19:17, Benedikt Ritter <britter@apache.org> wrote:
>> > Hi,
>> >
>> > today I started working on the site build. I ran into problems with the
>> > native build and with different JDK versions. Can anybody help? I've
>> > documented my problems in CRYPTO-45 [1].
>>
>> I think you have discovered why there were concerns about using JNI...
>
> Yeah, you need a C compiler and linker set up and avail on the command line.

And the JNI code may need to be tweaked for your particular OS.

Whereas I think JNA comes with pre-compiled libraries for most OSes.

The more I think about it, the less I like the idea of using JNI.
Not because of the native code per se, but because of the number of
different OSes that potentially need to be supported.  We cannot even
release source for a specific OS unless it can be tested on it.

Given that other people have already done the work for JNA for many
more OSes than we are likely to be able to call on in Commons, why not
use JNA?

> Gary
>>
>> > Regards,
>> > Benedikt
>> >
>> > [1] https://issues.apache.org/jira/browse/CRYPTO-45
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message