You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2016/03/21 16:18:04 UTC
tcnative configure script
All,
Running the tests for Tomcat 8.0.33, my automated build script is
failing to build tcnative.
During "configure", I get this output:
"
checking OpenSSL library version >= 1.0.2...
Found OPENSSL_VERSION_NUMBER 0x1000105f (OpenSSL 1.0.1e 11 Feb 2013)
Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)
not compatible
"
Great. But the script continues and returns a 0 result code, so there's
no way to tell that "configure" has failed (and the "make" step is not
necessary).
I guess this is more of a request for Rainer to have another look at the
configure script to see if we can get it to fail hard if there is a bad
dependency.
-chris
Re: tcnative configure script
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rainer,
On 3/21/16 4:43 PM, Rainer Jung wrote:
> Hi Chris,
>
> do you prefer this:
>
> === quote ===
>
> checking OpenSSL library version >= 1.0.2...
>
> Found OPENSSL_VERSION_NUMBER 0x1000112f (OpenSSL 1.0.1r 28 Jan 2016)
> Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)
>
> configure: error: Your version of OpenSSL is not compatible with this
> version of tcnative
>
> === quote ===
>
> and then configure immediately terminates with return code 1.
>
> Committed to trunk (aka 1.2.x) as such in r1736080.
Great, I'll check it out.
I would be okay if configure completed, then terminated with a non-zero
exit status, but terminating immediately is okay, too.
Thanks,
-chris
Re: tcnative configure script
Posted by Rainer Jung <ra...@kippdata.de>.
Hi Chris,
do you prefer this:
=== quote ===
checking OpenSSL library version >= 1.0.2...
Found OPENSSL_VERSION_NUMBER 0x1000112f (OpenSSL 1.0.1r 28 Jan 2016)
Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)
configure: error: Your version of OpenSSL is not compatible with this
version of tcnative
=== quote ===
and then configure immediately terminates with return code 1.
Committed to trunk (aka 1.2.x) as such in r1736080.
Regards,
Rainer
Am 21.03.2016 um 16:18 schrieb Christopher Schultz:
> All,
>
> Running the tests for Tomcat 8.0.33, my automated build script is
> failing to build tcnative.
>
> During "configure", I get this output:
>
> "
> checking OpenSSL library version >= 1.0.2...
>
> Found OPENSSL_VERSION_NUMBER 0x1000105f (OpenSSL 1.0.1e 11 Feb 2013)
> Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)
>
> not compatible
> "
>
> Great. But the script continues and returns a 0 result code, so there's
> no way to tell that "configure" has failed (and the "make" step is not
> necessary).
>
> I guess this is more of a request for Rainer to have another look at the
> configure script to see if we can get it to fail hard if there is a bad
> dependency.
>
> -chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org