gumbo-query icon indicating copy to clipboard operation
gumbo-query copied to clipboard

Static library not found

Open cppcooper opened this issue 2 years ago • 0 comments

Just tried 3 different package installations of gumbo-parser (Archlinux)

pacman -Sy gumbo-parser
yay -Sy gumbo-parser
yay -Sy gumbo-git

However, none provides a static library to find.. not even gumbo-git which built and installed the package from source. So the cmake configuration process always fails. Ideally, gumbo-query should accept a package install that has a default configuration and not been customized to produce a static library.

CMake Error at extern/gumbo-query/cmake/LibFindMacros.cmake:259 (message):
  REQUIRED PACKAGE NOT FOUND

  We only found some files of Gumbo, not all of them.  Perhaps your
  installation is incomplete or maybe we just didn't look in the right place?
  This package is REQUIRED and you need to install it or adjust CMake
  configuration in order to continue building nxm.

  Relevant CMake configuration variables:

    Gumbo_INCLUDE_DIR=/usr/include
    Gumbo_LIBRARY=/usr/lib/libgumbo.so
    Gumbo_static_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

cppcooper avatar Nov 14 '21 19:11 cppcooper