Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake fails due to missing dependency hexchat-plugin #4

Open
JaredTamana opened this issue Mar 19, 2021 · 2 comments
Open

cmake fails due to missing dependency hexchat-plugin #4

JaredTamana opened this issue Mar 19, 2021 · 2 comments

Comments

@JaredTamana
Copy link

JaredTamana commented Mar 19, 2021

I know it's unlikely this is still being maintained, but I thought I'd post this anyways.

cmake -DCMAKE_BUILD_TYPE=Release .
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/linuxbrew/.linuxbrew/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/linuxbrew/.linuxbrew/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found GTK2_GTK: /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so  
-- Found PkgConfig: /home/linuxbrew/.linuxbrew/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'hexchat-plugin'
--   No package 'hexchat-plugin' found
CMake Error at /snap/cmake/834/share/cmake-3.19/Modules/FindPkgConfig.cmake:553 (message):
  A required package was not found
Call Stack (most recent call first):
  /snap/cmake/834/share/cmake-3.19/Modules/FindPkgConfig.cmake:741 (_pkg_check_modules_internal)
  CMakeLists.txt:14 (pkg_check_modules)

Searching around, I can't seem to find anything on hexchat-plugin. No idea where to get it. Any hints?

@JaredTamana
Copy link
Author

Wait a minute... why is the script pulling from /home/linuxbrew instead of my home directory? Maybe that's related?

@andreyv
Copy link
Owner

andreyv commented Apr 11, 2021

Hi,

hexchat-plugin.pc is provided by HexChat. This looks like Ubuntu, so you should install hexchat-dev to get it.

Yes, using non-default pkg-config can affect the search. You can try either setting PKG_CONFIG_EXECUTABLE="/usr/bin/pkg-config" on CMake command line, or add /usr/lib/x86_64-linux-gnu/pkgconfig to the PKG_CONFIG_PATH environment variable before running CMake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants