brew: harfbuzz fribidi (OSX)
If harfbuzz freetype2 fribidi is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a harfbuzz freetype2 fribidi.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
:1:10: fatal error: hb-ft.h: No such file or directory
compilation terminated.
The repos for RHEL cant seem to find harfbuzz-devel and fribidi-devel. I have installed fribidi and get an output for 'which fribidi' but cant install the devel version manually. Anyone else have problems installing devtools on RHEL? Most of the posts are in ubuntu. No Rstudio just R and the OS cli.
In "Setup" select the RHEL version you have. Unfortunately UBI containers are more restricted, and do not have the same packages and package sources, so with that it might be more difficult.
I tried having the repos set on the host machine, and configuring the container repos with those files. Neither of these yielded 'yum install's for the required packages for devtools. The error on the former was the repo wasnt found and on the ladder that the repos were misconfigured. I am on R 4.2.2 if that affects anything.
For the record, that Dockerfile above does not build on a non-RHEL system. But for me it builds fine on and RHEL-8 host with these repositories configured:
[gaborcsardi@rhel8 ~]$ dnf repolist
Not root, Subscription Management repositories not updated
repo id repo name
codeready-builder-for-rhel-8-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
docker-ce-stable Docker CE Stable - x86_64
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
[gaborcsardi@rhel8 ~]$