You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qjsc <file.js> should successfully compile a JavaScript script or module into a self-contained executable
Actual behavior
Compilation fails with the following error:
gcc: error: /usr/lib/quickjs/libquickjs.a: No such file or directory
Steps to reproduce the behavior
Ensure that both quickjsandquickjs-devel packages are installed
Create a small JS file for testing: echo 'console.log("Hello, world!")' > hello.js
Try and compile using qjsc: qjsc hello.js
Analysis
Neither the quickjs nor the quickjs-devel package contains the file mentioned in the error message. quickjs-devel does contain a file /usr/lib/libquickjs.a (note the missing intermediate directory quickjs).
The text was updated successfully, but these errors were encountered:
ackalker
changed the title
quickjs:
quickjs: compilation using qjsc fails with gcc: error: /usr/lib/quickjs/libquickjs.a: No such file or directoryNov 7, 2021
System
Void 5.13.19_1 x86_64 GenuineIntel uptodate rrrrmdFFFFFFF
quickjs-2021.03.27_2
Expected behavior
qjsc <file.js>
should successfully compile a JavaScript script or module into a self-contained executableActual behavior
Compilation fails with the following error:
Steps to reproduce the behavior
quickjs
andquickjs-devel
packages are installedecho 'console.log("Hello, world!")' > hello.js
qjsc
:qjsc hello.js
Analysis
Neither the
quickjs
nor thequickjs-devel
package contains the file mentioned in the error message.quickjs-devel
does contain a file/usr/lib/libquickjs.a
(note the missing intermediate directoryquickjs
).The text was updated successfully, but these errors were encountered: