Skip to content

dependency loop for install #126

@brianlamere

Description

@brianlamere

Firstly, systemfonts is a dependency of devtools but if there is an issue installing systemfonts, the described alternative is to install using devtools. New system, devtools doesn't exist yet, if it did I wouldn't have spent the last couple hours trying to get a font to work :)

g++ -std=gnu++17 -I"/usr/lib64/R/include" -DNDEBUG -I'/usr/lib/R/library/cpp11/include' -fpic -O2 -g -c caches.cpp -o caches.o
In file included from caches.h:6,
from caches.cpp:1:
FontDescriptor.h:7:10: fatal error: ft2build.h: No such file or directory
7 | #include <ft2build.h>

The following lets the install get further:
install.packages("systemfonts",configure.vars=c("INCLUDE_DIR='/usr/include/freetype2'"))

But then it still fails later:

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘systemfonts’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib/R/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so':
/usr/lib/R/library/00LOCK-systemfonts/00new/systemfonts/libs/systemfonts.so: undefined symbol: FcFontSetDestroy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions