Unable to make install
Snuupy opened this issue · comments
Snuupy commented
Just trying to compile this from source on Linux Mint 18.3.
snuupy@SnuT470p ~/Documents/sidewinderd/build $ sudo apt install cmake libconfig++-dev libtinyxml2-dev libudev-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libconfig++-dev is already the newest version (1.5-0.2).
libtinyxml2-dev is already the newest version (2.2.0-1.1ubuntu1).
cmake is already the newest version (3.5.1-1ubuntu3).
libudev-dev is already the newest version (229-4ubuntu21).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
snuupy@SnuT470p ~/Documents/sidewinderd/build $ ls
CMakeCache.txt CMakeFiles cmake_install.cmake Makefile src
snuupy@SnuT470p ~/Documents/sidewinderd/build $ cmake ..
-- Found Config++: /usr/lib/x86_64-linux-gnu/libconfig++.so
-- Found TinyXML2: /usr/lib/x86_64-linux-gnu/libtinyxml2.so
-- Found UDev: /usr/lib/x86_64-linux-gnu/libudev.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/snuupy/Documents/sidewinderd/build
snuupy@SnuT470p ~/Documents/sidewinderd/build $ make
[100%] Built target sidewinderd
snuupy@SnuT470p ~/Documents/sidewinderd/build $ make install
[100%] Built target sidewinderd
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/sidewinderd
CMake Error at src/cmake_install.cmake:42 (file):
file INSTALL cannot copy file
"/home/snuupy/Documents/sidewinderd/build/src/sidewinderd" to
"/usr/local/bin/sidewinderd".
Call Stack (most recent call first):
cmake_install.cmake:37 (include)
Makefile:61: recipe for target 'install' failed
make: *** [install] Error 1
Library versions on system:
libtinyxml2-dev=2.2.0-1.1ubuntu1
cmake=3.5.1-1ubuntu3
libconfig++-dev=1.5-0.2
libudev-dev=229-4ubuntu21
Snuupy commented
I can't into linux, running sudo make install
worked. Added to wiki. Please close.
Nicholas DiPiazza commented
thanks @Snuupy same issues here