-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build njs with QuickJS support as a module #801
Comments
Hi @woxxo,
I am going to improve the reporting to make this process more transparent. |
After setting
And the resulting nginx executable got +5 Mb in size. I guess the QuickJS library was linked. But there is another problem now:
With the line 5 commented out everything works fine, as well as with |
Hmm, it is controlled by the same define, which is defined here. Adding |
Ok, it is working now, |
Add explicit testing for JS_GetClassID() function since it is not available in older QuickJS versions. This closes nginx#801 issue on Github.
Add explicit testing for JS_GetClassID() function since it is not available in older QuickJS versions. This closes #801 issue on Github.
When building Nginx with njs as a static module according to this instruction, everything works like a charm:
I would like to use QuickJS engine, but can't configure the compilation properly, always getting these logs:
Using these options with precompiled QuickJS libs in the mentioned folders don't give any positive result:
Please provide an instruction how to successfully compile njs supporting QuickJS as a static nginx module!
The text was updated successfully, but these errors were encountered: