You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I disabled pango because it has other dependencies I don't won't to be bothered with)
conan will look for the libpng and libwebp packages:
Requirements
[...]
libpng/1.6.37 from 'conancenter' - Cache
[...]
libwebp/1.2.0 from 'conancenter' - Cache
[...]
We can see the .pc files for libpng and libwebp are created:
imagemagick/7.0.11-14: Generator pkg_config created libpng.pc
[...]
imagemagick/7.0.11-14: Generator pkg_config created libwebp.pc
imagemagick/7.0.11-14: Generator pkg_config created libwebpmux.pc
imagemagick/7.0.11-14: Generator pkg_config created libwebpdemux.pc
imagemagick/7.0.11-14: Generator pkg_config created libwebpdecoder.pc
imagemagick/7.0.11-14: Generator pkg_config created libwebp-all-do-not-use.pc
But in the configure steps of the build, these dependencies cannot be found:
checking for libpng >= 1.0.0... no
checking for libwebp >= 0.4.1... no
checking for libwebpmux >= 0.5.0 libwebpdemux >= 0.5.0... no
This is because pkg-config is not installed so the configure script cannot use it (as everything works if pkg-config is installed via apt)
I solved this by adding pkgconf/1.7.4 as a build requirement in the imagemagick package. I this is the right fix, I can provide a PR..
Logs
No response
The text was updated successfully, but these errors were encountered:
Package and Environment Details
Conan profile
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=11
compiler.libcxx=libstdc++11
build_type=Release
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
On a host with pkg-config NOT installed (in my case, a fresh ubuntu 22.04 with only build-essential, python3 and conan installed)
Try to install imagemagick:7.0.11-14 with webp support:
(I disabled pango because it has other dependencies I don't won't to be bothered with)
conan will look for the libpng and libwebp packages:
We can see the .pc files for libpng and libwebp are created:
But in the configure steps of the build, these dependencies cannot be found:
This is because pkg-config is not installed so the configure script cannot use it (as everything works if pkg-config is installed via apt)
I solved this by adding pkgconf/1.7.4 as a build requirement in the imagemagick package. I this is the right fix, I can provide a PR..
Logs
No response
The text was updated successfully, but these errors were encountered: