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
I get this error when trying to install the package on Ubuntu 21.04.
I think the problem is near the bottom, something abut "aclocal: No such file or directory"
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path /home/ray/Desktop/CamCtrl/node_modules/node-iohook
npm ERR! command failed
npm ERR! command sh -c cmake-js compile
npm ERR! Not searching for unused variables given on the command line.
npm ERR! -- The C compiler identification is GNU 9.4.0
npm ERR! -- The CXX compiler identification is GNU 9.4.0
npm ERR! -- Check for working C compiler: /usr/bin/cc
npm ERR! -- Check for working C compiler: /usr/bin/cc -- works
npm ERR! -- Detecting C compiler ABI info
npm ERR! -- Detecting C compiler ABI info - done
npm ERR! -- Detecting C compile features
npm ERR! -- Detecting C compile features - done
npm ERR! -- Check for working CXX compiler: /usr/bin/c++
npm ERR! -- Check for working CXX compiler: /usr/bin/c++ -- works
npm ERR! -- Detecting CXX compiler ABI info
npm ERR! -- Detecting CXX compiler ABI info - done
npm ERR! -- Detecting CXX compile features
npm ERR! -- Detecting CXX compile features - done
npm ERR! -- Configuring done
npm ERR! -- Generating done
npm ERR! -- Build files have been written to: /home/ray/Desktop/CamCtrl/node_modules/node-iohook/build
npm ERR! Scanning dependencies of target prepare_iuhook
npm ERR! Not searching for unused variables given on the command line.
npm ERR! -- The C compiler identification is GNU 9.4.0
npm ERR! -- The CXX compiler identification is GNU 9.4.0
npm ERR! -- Check for working C compiler: /usr/bin/cc
npm ERR! -- Check for working C compiler: /usr/bin/cc -- works
npm ERR! -- Detecting C compiler ABI info
npm ERR! -- Detecting C compiler ABI info - done
npm ERR! -- Detecting C compile features
npm ERR! -- Detecting C compile features - done
npm ERR! -- Check for working CXX compiler: /usr/bin/c++
npm ERR! -- Check for working CXX compiler: /usr/bin/c++ -- works
npm ERR! -- Detecting CXX compiler ABI info
npm ERR! -- Detecting CXX compiler ABI info - done
npm ERR! -- Detecting CXX compile features
npm ERR! -- Detecting CXX compile features - done
npm ERR! -- Configuring done
npm ERR! -- Generating done
npm ERR! -- Build files have been written to: /home/ray/Desktop/CamCtrl/node_modules/node-iohook/build
npm ERR! Scanning dependencies of target prepare_iuhook
npm ERR! info TOOL Using Unix Makefiles generator.
npm ERR! info TOOL Using c++11 compiler standard.
npm ERR! info DIST Downloading distribution files.
npm ERR! http DIST - https://atom.io/download/atom-shell/v1.4.5/node-v1.4.5.tar.gz
npm ERR! info CMD CONFIGURE
npm ERR! info RUN cmake "/home/ray/Desktop/CamCtrl/node_modules/node-iohook" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="3.7.3" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/ray/Desktop/CamCtrl/node_modules/node-iohook/build/Release" -DCMAKE_JS_INC="/home/ray/.cmake-js/electron-x64/v1.4.5/src;/home/ray/.cmake-js/electron-x64/v1.4.5/deps/v8/include;/home/ray/.cmake-js/electron-x64/v1.4.5/deps/uv/include;/home/ray/Desktop/CamCtrl/node_modules/nan" -DNODE_RUNTIME="electron" -DNODE_RUNTIMEVERSION="1.4.5" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-std=c++11"
npm ERR! info CMD BUILD
npm ERR! info RUN cmake --build "/home/ray/Desktop/CamCtrl/node_modules/node-iohook/build" --config Release
npm ERR! ./bootstrap.sh: 3: [: Linux: unexpected operator
npm ERR! autoreconf: Entering directory `.'
npm ERR! autoreconf: configure.ac: not using Gettext
npm ERR! autoreconf: running: aclocal -I m4 --output=aclocal.m4t
npm ERR! Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
npm ERR! autoreconf: failed to run aclocal: No such file or directory
npm ERR! make[2]: *** [CMakeFiles/prepare_iuhook.dir/build.make:57: CMakeFiles/prepare_iuhook] Error 1
npm ERR! make[1]: *** [CMakeFiles/Makefile2:133: CMakeFiles/prepare_iuhook.dir/all] Error 2
npm ERR! make: *** [Makefile:84: all] Error 2
npm ERR! info REP Build has been failed, trying to do a full rebuild.
npm ERR! info CMD CLEAN
npm ERR! info RUN cmake -E remove_directory "/home/ray/Desktop/CamCtrl/node_modules/node-iohook/build"
npm ERR! info CMD CONFIGURE
npm ERR! info RUN cmake "/home/ray/Desktop/CamCtrl/node_modules/node-iohook" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="3.7.3" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/ray/Desktop/CamCtrl/node_modules/node-iohook/build/Release" -DCMAKE_JS_INC="/home/ray/.cmake-js/electron-x64/v1.4.5/src;/home/ray/.cmake-js/electron-x64/v1.4.5/deps/v8/include;/home/ray/.cmake-js/electron-x64/v1.4.5/deps/uv/include;/home/ray/Desktop/CamCtrl/node_modules/nan" -DNODE_RUNTIME="electron" -DNODE_RUNTIMEVERSION="1.4.5" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-std=c++11"
npm ERR! info CMD BUILD
npm ERR! info RUN cmake --build "/home/ray/Desktop/CamCtrl/node_modules/node-iohook/build" --config Release
npm ERR! ./bootstrap.sh: 3: [: Linux: unexpected operator
npm ERR! autoreconf: Entering directory `.'
npm ERR! autoreconf: configure.ac: not using Gettext
npm ERR! autoreconf: running: aclocal -I m4 --output=aclocal.m4t
npm ERR! Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
npm ERR! autoreconf: failed to run aclocal: No such file or directory
npm ERR! make[2]: *** [CMakeFiles/prepare_iuhook.dir/build.make:57: CMakeFiles/prepare_iuhook] Error 1
npm ERR! make[1]: *** [CMakeFiles/Makefile2:133: CMakeFiles/prepare_iuhook.dir/all] Error 2
npm ERR! make: *** [Makefile:84: all] Error 2
npm ERR! ERR! OMG Process terminated: 2
The text was updated successfully, but these errors were encountered:
Edit: Since this has been dead for so many years since ~2017 I think I will try to fork and get it up to date. Let's hope it works lol
Edit 2: OMG I ACTUALLY DID IT
Took hours but I somehow pulled it off with only minimal nodejs native module experience, and even fixed it up to work with the newest version of every library. I did not expect to succeed getting this to compile, let alone in 1 day. The install scripts are a little hacky but it works. Haven't tested on Windows but it is definitely working on Linux and even WSL (through VNC/RDP at least, the iohook lib doesn't like not having an X11 display)
I get this error when trying to install the package on Ubuntu 21.04.
I think the problem is near the bottom, something abut "aclocal: No such file or directory"
The text was updated successfully, but these errors were encountered: