Skip to content

Error installing #104

Description

@cowlicks
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> llvm-node@2.1.0 install /home/my-name/git/tmp/node_modules/llvm-node
> cmake-js compile

info TOOL Using Unix Makefiles generator.
info CMD CONFIGURE
info RUN cmake "/home/my-name/git/tmp/node_modules/llvm-node" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="4.0.1" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/my-name/git/tmp/node_modules/llvm-node/build/Release" -DCMAKE_JS_INC="/home/my-name/.cmake-js/node-x64/v14.8.0/include/node" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="14.8.0" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM 10.0.1
-- Using LLVMConfig.cmake in: /usr/lib64/cmake/llvm
-- Configuring done
-- Generating done
-- Build files have been written to: /home/my-name/git/tmp/node_modules/llvm-node/build
info CMD BUILD
info RUN cmake --build "/home/my-name/git/tmp/node_modules/llvm-node/build" --config Release
Scanning dependencies of target llvm-node
[  2%] Building CXX object CMakeFiles/llvm-node.dir/src/bitcode/bitcode-writer.cc.o
In file included from /home/my-name/git/tmp/node_modules/llvm-node/src/bitcode/bitcode-writer.cc:7:
/home/my-name/git/tmp/node_modules/llvm-node/src/bitcode/bitcode-writer.h:8:10: fatal error: nan.h: No such file or directory
    8 | #include <nan.h>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/llvm-node.dir/build.make:82: CMakeFiles/llvm-node.dir/src/bitcode/bitcode-writer.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/llvm-node.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "/home/my-name/git/tmp/node_modules/llvm-node/build"
info CMD CONFIGURE
info RUN cmake "/home/my-name/git/tmp/node_modules/llvm-node" --no-warn-unused-cli -G"Unix Makefiles" -DCMAKE_JS_VERSION="4.0.1" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/home/my-name/git/tmp/node_modules/llvm-node/build/Release" -DCMAKE_JS_INC="/home/my-name/.cmake-js/node-x64/v14.8.0/include/node" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="14.8.0" -DNODE_ARCH="x64"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 10.1.0
-- The CXX compiler identification is GNU 10.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM 10.0.1
-- Using LLVMConfig.cmake in: /usr/lib64/cmake/llvm
-- Configuring done
-- Generating done
-- Build files have been written to: /home/my-name/git/tmp/node_modules/llvm-node/build
info CMD BUILD
info RUN cmake --build "/home/my-name/git/tmp/node_modules/llvm-node/build" --config Release
Scanning dependencies of target llvm-node
[  2%] Building CXX object CMakeFiles/llvm-node.dir/src/bitcode/bitcode-writer.cc.o
In file included from /home/my-name/git/tmp/node_modules/llvm-node/src/bitcode/bitcode-writer.cc:7:
/home/my-name/git/tmp/node_modules/llvm-node/src/bitcode/bitcode-writer.h:8:10: fatal error: nan.h: No such file or directory
    8 | #include <nan.h>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/llvm-node.dir/build.make:82: CMakeFiles/llvm-node.dir/src/bitcode/bitcode-writer.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/llvm-node.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
ERR! OMG Process terminated: 2
npm WARN enoent ENOENT: no such file or directory, open '/home/my-name/git/tmp/package.json'
npm WARN tmp No description
npm WARN tmp No repository field.
npm WARN tmp No README data
npm WARN tmp No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! llvm-node@2.1.0 install: `cmake-js compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the llvm-node@2.1.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/my-name/.npm/_logs/2020-08-17T19_36_09_385Z-debug.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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