nginx / njs

A subset of JavaScript language to use in nginx
http://nginx.org/en/docs/njs/
BSD 2-Clause "Simplified" License
841 stars 116 forks source link

njs source code compile error #706

Closed spacexnasa closed 2 months ago

spacexnasa commented 2 months ago

OS:AlmaLinux 9.3 x86_64 QuickJS has been installed njs version: njs-0.8.4

ls /usr/lib/quickjs/ libquickjs.a libquickjs.lto.a

njs compile error message

./configure --with-quickjs

configuring for Linux 5.14.0-362.13.1.el9_3.x86_64 x86_64 checking for C compiler: cc

./configure: error: no QuickJS library found.

xeioex commented 2 months ago

Hi @spacexnasa,

Do you want to build njs with QuickJS right? If not, just remove --with-quickjs because it is optional. If you want to build with QuickJS, please share the build file build/autoconf.err.

spacexnasa commented 2 months ago

build/autoconf.err

maybe this file autoconf.err?