Error installing manually
Hello, I am trying to install Gajim manually on my OpenSuse Leap 15.4 Linux system because the official package from the repos is very old.
First i installed Python 3.9 from the repos and downloaded the Gajim Source package. But while processing the installation i get the following error:
Using legacy 'setup.py install' for gajim, since package 'wheel' is not installed.
Building wheels for collected packages: pycairo
Building wheel for pycairo (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.9 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmppxipsq9i
cwd: /tmp/pip-install-1rdw6z2p/pycairo
Complete output (15 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/cairo
copying cairo/__init__.py -> build/lib.linux-x86_64-cpython-39/cairo
copying cairo/__init__.pyi -> build/lib.linux-x86_64-cpython-39/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-cpython-39/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly
It looks like the installation of pycairo failed because of building wheels failed. I've tried to install pycairo separately with pip, but i got the same error.
Do you have any idea how to solve this problem.
Thanks.