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

Error compiling on Mageia 9 #216

Open
xgrind opened this issue Dec 22, 2024 · 1 comment
Open

Error compiling on Mageia 9 #216

xgrind opened this issue Dec 22, 2024 · 1 comment

Comments

@xgrind
Copy link

xgrind commented Dec 22, 2024

Even after installing all dependencies, I still get this error.
The lib64purple-devel package is already installed.

[michael@desktop build (master)]$ cmake ..
CMake Error at CMakeLists.txt:25 (find_package):
  By not providing "FindPurple.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Purple", but
  CMake did not find one.

  Could not find a package configuration file provided by "Purple" with any
  of the following names:

    PurpleConfig.cmake
    purple-config.cmake

  Add the installation prefix of "Purple" to CMAKE_PREFIX_PATH or set
  "Purple_DIR" to a directory containing one of the above files.  If "Purple"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
[michael@desktop build (master)]$ dnf whatprovides */purple.h
Última verificação de metadados: 1:20:01 atrás em dom 22 dez 2024 14:31:15.
lib64purple-devel-2.14.12-2.mga9.x86_64 : Development files for pidgin
Repositório: @System
Resultado a partir de:
Nome do arquivo: /usr/include/libpurple/purple.h

lib64purple-devel-2.14.12-2.mga9.x86_64 : Development files for pidgin
Repositório: mageia-x86_64
Resultado a partir de:
Nome do arquivo: /usr/include/libpurple/purple.h

[michael@desktop build (master)]$ 
@hoehermann
Copy link
Owner

This usually happens when git submodule update --init was not executed after git clone.

In case you are building from a downloaded .zip file, you also need to download https://github.com/hoehermann/purple-cmake-template and configure purple-gowhatsapp manually via Purple_DIR. This approach is flaky and therefore not recommended.

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