-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Not sure if this is till maintained, but seemed like a good option as we run on AWS Lambda and a standalone 7zip runtime is needed so it would be awesome getting it running...
Running npm i on Ubuntu 22.04 but end up with an npm error as:
npm ERR! code 1
npm ERR! path /home/anders/qip/node_modules/p7zip
npm ERR! command failed
npm ERR! command sh -c node scripts/install.js
npm ERR! Downloading https://github.com/jbdemonte/p7zip/archive/16.02.zip
npm ERR! Downloading https://codeload.github.com/jbdemonte/p7zip/zip/refs/tags/16.02
npm ERR! Decompress 16.02.zip
npm ERR! mkdir -p bin
npm ERR!
npm ERR! make -C CPP/7zip/Bundles/Alone all
npm ERR!
npm ERR! make[1]: Entering directory '/home/anders/qip/node_modules/p7zip/build/p7zip-16.02/CPP/7zip/Bundles/Alone'
npm ERR!
npm ERR! gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE ../../../../C/7zCrc.c
npm ERR!
npm ERR! gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE ../../../../C/7zCrcOpt.c
...
[ cut away a whole bunch of failures similar to these...]
...
npm ERR! make exited with code 2
Any clues?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels