Re: Perl Inline C code inside nginx Perl module

2018-04-16 Thread Maxim Dounin
Hello! On Sun, Apr 15, 2018 at 07:01:42PM +0200, Ondrej Jombik wrote: > On Fri, 13 Apr 2018, Maxim Dounin wrote: > > >> As you can see in my example, I am not even using or calling test_fnc() > >> yet. But Perl code simply fails on startup with this error message: > >> > >> -- Unit nginx.service

Re: Perl Inline C code inside nginx Perl module

2018-04-15 Thread Ondrej Jombik
On Fri, 13 Apr 2018, Maxim Dounin wrote: As you can see in my example, I am not even using or calling test_fnc() yet. But Perl code simply fails on startup with this error message: -- Unit nginx.service has begun starting up. nginx[20011]: nginx: [emerg] require_pv("inlinetest.pm") failed: "Run

Re: Perl Inline C code inside nginx Perl module

2018-04-13 Thread Maxim Dounin
Hello! On Fri, Apr 13, 2018 at 02:40:17AM +0200, Ondrej Jombik wrote: > We have some proprietary code in C language, which we cannot convert > into Perl. We would like to use this C code in Perl nginx module. Code > runs well under Perl's Inline C. > > However when I try to run Inline C code in

Perl Inline C code inside nginx Perl module

2018-04-12 Thread Ondrej Jombik
We have some proprietary code in C language, which we cannot convert into Perl. We would like to use this C code in Perl nginx module. Code runs well under Perl's Inline C. However when I try to run Inline C code in nginx Perl module, it does not work. Not only this code does not work, in fact no