When I try to use the "nvm install" command, it seems to run fine but at the very end I get the following long error message:
Warning: unrecognized setting VCCLCompilerTool/MultiProcessorCompilation
Warning: Missing input files:
/home/Dinghy/.nvm/.cache/src/node-v10.20.1/files/tools\msvs\genfiles\node_etw_provider.rc
/home/Dinghy/.nvm/.cache/src/node-v10.20.1/files/tools\msvs\genfiles\node_etw_provider.h
/home/Dinghy/.nvm/.cache/src/node-v10.20.1/files/deps/v8/gypfiles/..\src\parsing\preparse-data-format.h
/home/Dinghy/.nvm/.cache/src/node-v10.20.1/files/tools\msvs\genfiles\node_perfctr_provider.rc
/usr/bin/python2.7 tools/gyp_node.py -f make
make -C out BUILDTYPE=Release V=1
touch 7943452e36215487f7a1b8edf63ca06ddfd83538.intermediate
LD_LIBRARY_PATH=/home/Dinghy/.nvm/.cache/src/node-v10.20.1/files/out/Release/lib.host:/home/Dinghy/.nvm/.cache/src/node-v10.20.1/files/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../.; mkdir -p tools/msvs/genfiles; "mc src/res/node_etw_provider.man -h tools/msvs/genfiles -r tools/msvs/genfiles"
/bin/sh: mc src/res/node_etw_provider.man -h tools/msvs/genfiles -r tools/msvs/genfiles: No such file or directory
make[1]: *** [node_etw.target.mk:17: 7943452e36215487f7a1b8edf63ca06ddfd83538.intermediate] Error 127
rm 7943452e36215487f7a1b8edf63ca06ddfd83538.intermediate
make: *** [Makefile:99: node] Error 2
nvm: install v10.20.1 failed!
I've also tried installing it manually but haven't had any success that way either. This worked fine on an old install of cygwin I had, so I'm not sure what the problem is on this new install.
Related
I'm trying to install the bedtools v2.27.0 via Cygwin. Here are the commands I've tried:
$ wget https://github.com/arq5x/bedtools2/releases/download/v2.27.0/bedtools-2.27.0.tar.gz
$ tar -zxvf bedtools-2.27.0.tar.gz
$ cd bedtools2
$ make
when running the last command, I get the following error:
*fatal error: zlib.h: No such file or directory
*#include <zlib.h>*
^
compilation terminated.
make[1]: *** [Makefile:37: ../../../obj//FileRecordMgr.o] Error 1
make: *** [Makefile:187: src/utils/FileRecordTools] Error 2*
I tried downloading the libz package using the following command:
$ apt-cyg install libz-dev
but it didn't work. I got the following error:
Unable to locate package libz-dev
Note that I'm using Cygwin terminal on windows (64-bit machine). Your help is highly appreciated.
To install packages use cygwin setup, or at least find the right package name before using apt-cyg
To find the package containing zlib.h header:
$ cygcheck -p include/zlib.h
Found 10 matches for include/zlib.h
...
zlib-devel-1.2.11-1 - zlib-devel: gzip de/compression library (development)
..
So you need to install zlib-devel
I'm trying to install pwlib on my asterisk/ubuntu 16.04 Server, but when I try to run make install I get the following error message:
( for dir in /usr/local/lib \
/usr/local/bin \
/usr/local/include/ptlib \
/usr/local/include/ptlib/unix/ptlib \
/usr/local/include/ptclib \
/usr/local/share/pwlib/make ; \
do mkdir -p $dir ; chmod 755 $dir ; \
done )
/usr/bin/install -c -m 444 lib/libpt_linux_x86_64_r.so.1.12.0 /usr/local/lib
/usr/bin/install: cannot stat 'lib/libpt_linux_x86_64_r.so.1.12.0': No such file or directory
Makefile:252: recipe for target 'install' failed
make: *** [install] Error 1
Thank you in advance for your help!
Greetings
Alessio
Aware this is an old post but for anyone with a similar issue:
Sometimes running
make install
will throw this error while
sudo make install
will work
Problem
This does not seem to be a makefile error, like your tags suggest.
Instead, the error lies in install. I'm not sure what the -c option does, since the man page only says (ignored), but with -m you are trying to set permissions to a file. lib/libpt_linux_x86_64_r.so.1.12.0 located in /usr/local/lib. However, this file does not exist in this location, as indicated by the error message No such file or directory.
I guess that you forgot to install some dependencies.
Solutions
If you have a configure script in your downloaded files, use it, maybe this will solve your dependency issues.
If this does not work, try installing your dependencies manually
You could also try alternatives, like the ptlib library, which is also available as package. For ubuntu, it should be libpth20, but I don't use ubuntu so you might have a look around if this is the correct package for you
I had a similar issue.
Makefile:1264: recipe for target 'install' failed
make: *** [install] Error 1
I scrolled through the installation locating the error message and found this:
ModuleNotFoundError: No module named 'zlib'
I googled how to download zlib and after installing zlib I was able to complete the installation
using : sudo make install
in linux instance to aws:
i make step by step this tutorial http://iconof.com/blog/how-to-install-setup-node-js-on-amazon-aws-ec2-complete-guide/ but when i went to install npm i couldn't the console show me this error:
scripts/doc-build.sh doc/cli/npm-help-search.md man/man1/npm-help-search.1
make[1]: Entering directory `/var/www/html/npm'
node cli.js install marked-man --no-global
bash: node: command not found
make[1]: *** [node_modules/.bin/marked-man] Error 127
make[1]: Leaving directory `/var/www/html/npm'
make: *** [man/man1/npm-help-search.1] Error 2
I am guessing that you started with a new instance and did not update it with latest updates or package sources first. You are missing the source for NodeJS packages.
This will add the source and install nodejs:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
Follow this: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
I am trying to build caffe after the instructions on http://caffe.berkeleyvision.org/installation.html#prerequisites
When compiling i get the following error:
(I use Fedora 22)
$make all
CXX src/caffe/data_transformer.cpp
In file included from ./include/caffe/blob.hpp:8:0,
from ./include/caffe/data_transformer.hpp:6,
from src/caffe/data_transformer.cpp:6:
./include/caffe/common.hpp:5:27: fatal error: gflags/gflags.h: No such file or directory
compilation terminated.
Makefile:516: recipe for target '.build_release/src/caffe/data_transformer.o' failed
make: *** [.build_release/src/caffe/data_transformer.o] Error 1
What am i doin wrong?
You have to install missing dependencies (gflags).
Fedora/RHEL/CentOS: sudo yum install gflags-devel
Ubuntu: sudo apt-get install libgflags-dev
There are also instructions for other dependencies:
Fedora/RHEL/CentOS :http://caffe.berkeleyvision.org/install_yum.html
Ubuntu: http://caffe.berkeleyvision.org/install_apt.html
To install missing gflag dependencies
wget https://github.com/schuhschuh/gflags/archive/master.zip
unzip master.zip
cd gflags-master
mkdir build && cd build
export CXXFLAGS="-fPIC" && cmake .. && make VERBOSE=1
make
sudo make install
I want to install pyotherside for my ubuntu 14.10, so I did:
git clone https://github.com/thp/pyotherside.git
cd pyotherside
sudo qmake
which succeeds, but when I do:
sudo make
it says:
cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /usr/src/pyotherside/src/src.pro -o Makefile ) && make -f Makefile
Project MESSAGE: PYTHON_CONFIG = python3-config
Project ERROR: Unknown module(s) in QT: quick qml
Makefile:39: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 3
How can I solve this?
I figured it out afterwards.
Ubuntu 14.10 has a QT5 already installed, but it is QT5.0 and you should manually change to QT5.4 you installed.
sudo home/X/Qt/5.4/gcc_64/bin/qmake
This works perfectly.