Skip to content

Install error #16

@figuretom

Description

@figuretom

When i try to install plugin from local, it will show the error.can you help me slove the problem.
Thanks.

[root@SH-CAP opt]# zkg install /opt/zeek-netmap
The following packages will be INSTALLED:
/opt/zeek-netmap (master)

Proceed? [Y/n] y
/opt/zeek-netmap asks for netmap_root_dir (Root directory of Netmap installation) ? [] /opt/zeek/lib/zeek/plugins/packages
Saved answers to config file: /opt/zeek/etc/zkg/config
Running unit tests for "/opt/zeek-netmap"
error: failed to run tests for /opt/zeek-netmap: package build_command failed, see log in /opt/zeek/var/lib/zkg/logs/zeek-netmap-build.log
Proceed to install anyway? [N/y] y
Installing "/opt/zeek-netmap".
Failed installing "/opt/zeek-netmap": package build_command failed, see log in /opt/zeek/var/lib/zkg/logs/zeek-netmap-build.log
error: incomplete installation, the follow packages failed to be installed:
/opt/zeek-netmap (master)
[root@SH-CAP opt]# tail -n 100 /opt/zeek/var/lib/zkg/logs/zeek-netmap-build.log
=== STDERR ===
CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Netmap (missing: NETMAP_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/FindNetmap.cmake:27 (find_package_handle_standard_args)
CMakeLists.txt:7 (find_package)

=== STDOUT ===
Build Directory : build
Zeek Source Directory :
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/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: /opt/rh/devtoolset-7/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test cxx17_already_works
-- Performing Test cxx17_already_works - Failed
-- Performing Test cxx17_works
-- Performing Test cxx17_works - Success
-- Found BinPAC: /opt/zeek/bin/binpac
-- Found CAF: 0.18.0 found components: core io openssl
-- Found Broker: /opt/zeek/lib/libbroker.a
-- Zeek executable : /opt/zeek/bin/zeek
-- Zeek source :
-- Zeek build :
-- Zeek install prefix : /opt/zeek
-- Zeek plugin directory: /opt/zeek/lib/zeek/plugins
-- Zeek debug mode :
-- Configuring incomplete, errors occurred!
See also "/opt/zeek/var/lib/zkg/clones/package/zeek-netmap/build/CMakeFiles/CMakeOutput.log".
See also "/opt/zeek/var/lib/zkg/clones/package/zeek-netmap/build/CMakeFiles/CMakeError.log".
[root@SH-CAP opt]#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions