Skip to content

Failed to Install on Mac OS X 10.12.6Β #12

@mmikhan

Description

@mmikhan

I'm unable to even install on this due to the following error:

[1/4] πŸ”  Resolving packages...
warning [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
[2/4] 🚚  Fetching packages...
[3/4] πŸ”—  Linking dependencies...
[4/4] πŸ“ƒ  Building fresh packages...
[1/1] β’€ node-iohook: glibtoolize: copying file 'config/ltmain.sh'
[-/1] β’€ waiting...
[-/1] β’€ waiting...
[-/1] β’€ waiting...
error /Users/mazik/Desktop/test/node_modules/node-iohook: Command failed.
Exit code: 1
Command: cmake-js compile
Arguments:
Directory: /Users/mazik/Desktop/test/node_modules/node-iohook
Output:
info TOOL Using Unix Makefiles generator.
info TOOL Using c++11 compiler standard.
info CMD CONFIGURE
info RUN cmake "/Users/mazik/Desktop/test/node_modules/node-iohook" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="3.5.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/Users/mazik/Desktop/test/node_modules/node-iohook/build/Release" -DCMAKE_JS_INC="/Users/mazik/.cmake-js/electron-x64/v1.4.5/src;/Users/mazik/.cmake-js/electron-x64/v1.4.5/deps/v8/include;/Users/mazik/.cmake-js/electron-x64/v1.4.5/deps/uv/include;/Users/mazik/Desktop/test/node_modules/nan" -DNODE_RUNTIME="electron" -DNODE_RUNTIMEVERSION="1.4.5" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-std=c++11 -D_DARWIN_USE_64_BIT_INODE=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILDING_NODE_EXTENSION -w" -DCMAKE_SHARED_LINKER_FLAGS="-undefined dynamic_lookup"
Not searching for unused variables given on the command line.
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   node-iohook

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/mazik/Desktop/test/node_modules/node-iohook/build
info CMD BUILD
info RUN cmake --build "/Users/mazik/Desktop/test/node_modules/node-iohook/build" --config Release
Scanning dependencies of target prepare_iuhook
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/local/share/aclocal --force -I m4
aclocal: warning: couldn't open directory '/opt/local/share/aclocal': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory config
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
glibtoolize: copying file 'config/ltmain.sh'
glibtoolize:   error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=.I m4
autoreconf: glibtoolize failed with exit status: 1
make[2]: *** [CMakeFiles/prepare_iuhook] Error 1
make[1]: *** [CMakeFiles/prepare_iuhook.dir/all] Error 2
make: *** [all] Error 2
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "/Users/mazik/Desktop/test/node_modules/node-iohook/build"
info CMD CONFIGURE
info RUN cmake "/Users/mazik/Desktop/test/node_modules/node-iohook" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="3.5.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/Users/mazik/Desktop/test/node_modules/node-iohook/build/Release" -DCMAKE_JS_INC="/Users/mazik/.cmake-js/electron-x64/v1.4.5/src;/Users/mazik/.cmake-js/electron-x64/v1.4.5/deps/v8/include;/Users/mazik/.cmake-js/electron-x64/v1.4.5/deps/uv/include;/Users/mazik/Desktop/test/node_modules/nan" -DNODE_RUNTIME="electron" -DNODE_RUNTIMEVERSION="1.4.5" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-std=c++11 -D_DARWIN_USE_64_BIT_INODE=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILDING_NODE_EXTENSION -w" -DCMAKE_SHARED_LINKER_FLAGS="-undefined dynamic_lookup"
Not searching for unused variables given on the command line.
-- The C compiler identification is AppleClang 8.0.0.8000042
-- The CXX compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   node-iohook

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /Users/mazik/Desktop/test/node_modules/node-iohook/build
info CMD BUILD
info RUN cmake --build "/Users/mazik/Desktop/test/node_modules/node-iohook/build" --config Release
Scanning dependencies of target prepare_iuhook
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/local/share/aclocal --force -I m4
aclocal: warning: couldn't open directory '/opt/local/share/aclocal': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
glibtoolize: copying file 'config/ltmain.sh'
glibtoolize:   error: AC_CONFIG_MACRO_DIRS([m4]) conflicts with ACLOCAL_AMFLAGS=.I m4
autoreconf: glibtoolize failed with exit status: 1
make[2]: *** [CMakeFiles/prepare_iuhook] Error 1
make[1]: *** [CMakeFiles/prepare_iuhook.dir/all] Error 2

Any idea how to fix this?

Node v8.5.0
Yarn v1.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions