Jump to content

CMake Error: install rehl 9


careyjames
 Share

Recommended Posts

[careybalboa@dell-xps build]$ cmake ../
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 11.2.1
-- 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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
-- Checking for module 'libusb-1.0'
--   Package 'libusb-1.0', required by 'virtual:world', not found
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (LIBUSB)
  does not match the name of the calling package (USB1).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindUSB1.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:41 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR) 
CMake Deprecation Warning at libwifiuserspace/CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Checking for module 'libusb-1.0'
--   Package 'libusb-1.0', required by 'virtual:world', not found
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (LIBUSB)
  does not match the name of the calling package (USB1).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindUSB1.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libwifiuserspace/CMakeLists.txt:27 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find LIBUSB (missing: LIBUSB_LIBRARIES LIBUSB_INCLUDE_DIR) 
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBUSB_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
   used as include directory in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
LIBUSB_LIBRARIES (ADVANCED)
    linked by target "wifi_coconut" in directory /home/careybalboa/hak5-wifi-coconut
    linked by target "wifi_coconut_capture" in directory /home/careybalboa/hak5-wifi-coconut
    linked by target "wifiuserspace-static" in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace
    linked by target "wifiuserspace" in directory /home/careybalboa/hak5-wifi-coconut/libwifiuserspace

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "wifi_coconut":

    "LIBUSB_INCLUDE_DIR-NOTFOUND"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "wifi_coconut_capture":

    "LIBUSB_INCLUDE_DIR-NOTFOUND"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libwifiuserspace/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "wifiuserspace-static":

    "LIBUSB_INCLUDE_DIR-NOTFOUND"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libwifiuserspace/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "wifiuserspace-static":

    "LIBUSB_INCLUDE_DIR-NOTFOUND"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libwifiuserspace/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "wifiuserspace":

    "LIBUSB_INCLUDE_DIR-NOTFOUND"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in libwifiuserspace/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "wifiuserspace":

    "LIBUSB_INCLUDE_DIR-NOTFOUND"

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
[careybalboa@dell-xps build]$ make
[  4%] Building C object libwifiuserspace/CMakeFiles/wifiuserspace-static.dir/rt2800usb/rt2800lib.c.o
In file included from /home/careybalboa/hak5-wifi-coconut/libwifiuserspace/rt2800usb/rt2800lib.c:34:
/home/careybalboa/hak5-wifi-coconut/libwifiuserspace/rt2800usb/rt2x00.h:18:10: fatal error: libusb.h: No such file or directory
   18 | #include <libusb.h>
      |          ^~~~~~~~~~
compilation terminated.
make[2]: *** [libwifiuserspace/CMakeFiles/wifiuserspace-static.dir/build.make:76: libwifiuserspace/CMakeFiles/wifiuserspace-static.dir/rt2800usb/rt2800lib.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:156: libwifiuserspace/CMakeFiles/wifiuserspace-static.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[careybalboa@dell-xps build]$ 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...