Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Can we remove the depency on systemfonts? - on linux #50

Open
FvD opened this issue Nov 9, 2021 · 1 comment
Open

Can we remove the depency on systemfonts? - on linux #50

FvD opened this issue Nov 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@FvD
Copy link
Member

FvD commented Nov 9, 2021

On linux there is a system-level dependency aparently caused by the systemfonts package. Can we remove that package from the depencies to avoid any system package installation?

* installing *source* package ‘systemfonts’ ...
** package ‘systemfonts’ successfully unpacked and MD5 sums checked
** using staged installation
Using PKG_CFLAGS=
Using PKG_LIBS=-lfontconfig -lfreetype
--------------------------- [ANTICONF] --------------------------------
Configuration failed to find the fontconfig freetype2 library. Try installing:
 * deb: libfontconfig1-dev (Debian, Ubuntu, etc)
 * rpm: fontconfig-devel (Fedora, EPEL)
 * csw: fontconfig_dev (Solaris)
 * brew: freetype (OSX)
If fontconfig freetype2 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a fontconfig freetype2.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] ---------------------------
<stdin>:1:10: fatal error: fontconfig/fontconfig.h: No such file or directory
compilation terminated.
@ronnyhdez ronnyhdez added the bug Something isn't working label Nov 30, 2021
@ronnyhdez ronnyhdez added this to the Review and build package milestone Nov 30, 2021
@danielgranadoscampos
Copy link
Collaborator

Systemfonts, freetype2 and tinytext (mentioned in #87 and #54 ) seem to be involved with knitr and documentation. However , renv::dependencies doesn't list them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants