Skip to content
New issue

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

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

Already on GitHub? # to your account

Configuration failed to find libraries - cairo system dependency for some old Linux distributions #24

Closed
m7pr opened this issue Oct 8, 2024 · 2 comments

Comments

@m7pr
Copy link
Contributor

m7pr commented Oct 8, 2024

Thank you for creating all those excellent r-hub actions! I know there must be a lot of time and energy that have been invested to make this excellent project work. We are utilizing setup-r-dependencies for a couple of our packages!

Recently we stumbled upon an in issue where cairo system dependency can't be installed for a couple of old Linux distributions (but it can be installed for ubuntu-release and ubuntu-next). Would you have any clue why does that happen?

https://github.com/insightsengineering/teal.goshawk/actions/runs/11158031696/job/31013452052#step:7:6452
https://github.com/insightsengineering/teal.osprey/actions/runs/11158035445/job/31013465102#step:7:6524

 -----------------------------[ ANTICONF ]-------------------------------
6436 Configuration failed to find libraries. Try installing:
6437 * deb: libcairo2-dev (Debian, Ubuntu)
6438 * rpm: cairo-devel (Fedora, CentOS, RHEL)
6439 * csw: libcairo_dev (Solaris)
6440 * brew: cairo (OSX)
6441 If cairo freetype2 are already installed, check that 'pkg-config' is in your
6442 PATH and PKG_CONFIG_PATH contains a cairo freetype2.pc file. If pkg-config
6443 is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
6444 R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'

Any advice to how to overcome this issue? Thanks for your time and for any response!

@m7pr
Copy link
Contributor Author

m7pr commented Oct 8, 2024

Thanks @gaborcsardi - thanks for poiniting to r-lib/pak#702

@m7pr m7pr closed this as completed Oct 8, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants