ImperialCollegeLondon / epidemia

epidemia package
https://imperialcollegelondon.github.io/epidemia/index.html
47 stars 15 forks source link

Installation in Debian #58

Closed papapanagiotoug closed 3 years ago

papapanagiotoug commented 3 years ago

I get the following Error when I try to install the package on a Linux machine.


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=...'```

I solved the problem using `sudo apt-get install libfontconfig1-dev` but I thought you might want to know about it.
jscott6 commented 3 years ago

Thanks for this. The error message appears quite informative, and the issue is solved quite easily. So not sure anything is required in our installation instructions.