Welcome! Log In Create A New Profile

Advanced

Re: compiling nchan from source

Ian Hobson
May 21, 2022 12:18AM
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

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

compiling nchan from source

Ian Hobson May 20, 2022 10:58PM

Re: compiling nchan from source

Sergey A. Osokin May 20, 2022 11:42PM

Re: compiling nchan from source

Ian Hobson May 21, 2022 12:18AM

Re: compiling nchan from source

Sergey A. Osokin June 13, 2022 10:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 245
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready