compiling nchan from source
Ian Hobson
hobson42 at gmail.com
Sat May 21 04:13:07 UTC 2022
Hi Sergey,
On 21/05/2022 10:37, Sergey A. Osokin wrote:
> Hi Ian,
>
> hope you're doing well.
I am thanks.
>
> On Sat, May 21, 2022 at 09:53:05AM +0700, Ian Hobson wrote:
>>
>> I compile nginx from source. When I use nchan-1.2.12 everything compiles
>> clean.
>> However I tried to upgrade to nchan-1.2.15 and I get a compilation error.
>> Google told me the same error was reported back in February.
>
> nchan-1.2.15 builds well as a part of the FreeBSD www/nginx-devel port,
> and that's what I'd recommed to use.
>
Changing the production O/S would be a lot of work, so its possible but
not attractive.
I wonder if the problem is some conditional compilation that has been
corrected for FreeBSD and not for Debian/Ubuntu?
> [...]
>
>> Could it be the version of gcc OR is it conflicting with openssl3.0.3,
>> pcre-8.45, or zlib-1.2.12?
>
> The issue is probably related to the OpenSSL version 3, so in case it's
> possible I'd recommend to avoid of usage of that version at the moment.
Tried compiling with openssl-1.1.1n and got the same errors.
> Another options are:
> o) refresh C knowledge and patch the third-party module
I may well take a look.
My plan, now I am retired, is to contribute to the open source movement
in Rust, but whatever.
> o) wait until the vendor or a contributor provides a compatible version
>
>> Is it possible to use a pre-compiled version, and link dynamically?
>
> I'd recommend to contact to the vendor to ask about the build requirements
> of the third-party module.
I have contacted the developer. No response yet.
Thanks for your quick reply.
Ian
--
Ian Hobson
More information about the nginx
mailing list