make install fails on Ubuntu

Hi all,

Running ubuntu 18.04 and I download zeek-3.1.4.

Ran ./configure && make no issues, when I ran make install,

CMake Error at src/cmake_install.cmake:47 (file):
file INSTALL cannot copy file “/home/mbaki/zeek-3.1.4/build/src/zeek” to
“/usr/local/zeek/bin/zeek”.
Call Stack (most recent call first):
cmake_install.cmake:138 (include)

Makefile:85: recipe for target ‘install’ failed
make[1]: *** [install] Error 1
make[1]: Leaving directory ‘/home/mbaki/zeek-3.1.4/build’
Makefile:18: recipe for target ‘install’ failed
make: *** [install] Error 2

Thanks
Monah

Running ubuntu 18.04 and I download zeek-3.1.4.

Ran ./configure && make no issues, when I ran make install,

CMake Error at src/cmake_install.cmake:47 (file):
  file INSTALL cannot copy file "/home/mbaki/zeek-3.1.4/build/src/zeek" to
  "/usr/local/zeek/bin/zeek".
Call Stack (most recent call first):
  cmake_install.cmake:138 (include)

Makefile:85: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/mbaki/zeek-3.1.4/build'
Makefile:18: recipe for target 'install' failed
make: *** [install] Error 2

Just to be sure: did you run make install as root? Otherwise, you’ll probably have no write permission to /usr/local.

    Dominik

Yes, I did.

I ran ‘make install’ again and got:

Staging Python scripts in /home/mbaki/zeek-3.1.4/build/aux/broker/python/broker
Error copying directory from “/home/mbaki/zeek-3.1.4/aux/broker/bindings/python/broker” to “/home/mbaki/zeek-3.1.4/build/aux/broker/python/broker”.
aux/broker/bindings/python/CMakeFiles/python-scripts-stage.dir/build.make:57: recipe for target ‘aux/broker/bindings/python/CMakeFiles/python-scripts-stage’ failed
make[3]: *** [aux/broker/bindings/python/CMakeFiles/python-scripts-stage] Error 1
make[3]: Leaving directory ‘/home/mbaki/zeek-3.1.4/build’
CMakeFiles/Makefile2:712: recipe for target ‘aux/broker/bindings/python/CMakeFiles/python-scripts-stage.dir/all’ failed
make[2]: *** [aux/broker/bindings/python/CMakeFiles/python-scripts-stage.dir/all] Error 2
make[2]: Leaving directory ‘/home/mbaki/zeek-3.1.4/build’
Makefile:151: recipe for target ‘all’ failed
make[1]: *** [all] Error 2
make[1]: Leaving directory ‘/home/mbaki/zeek-3.1.4/build’
Makefile:15: recipe for target ‘all’ failed
make: *** [all] Error 2

Never mind, my mistake I ran out of diskspace