Closed migueldvb closed 8 years ago
I have the same issue. Turns out this is due to freetype2 2.6: https://savannah.nongnu.org/bugs/?45376
The fix is in master, but currently not released.
Edit:
Using freetype2 from master (6ec0434ec), I could successfully install.packages("Cairo")
.
PapaNappa, could you provide exactly the code you run to install it, please?
When I'm trying to install Cairo by devtools::install_github, I'm getting an error:
installing source package ‘Cairo’ ... \ libs gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c cairobem.c -o cairobem.o In file included from cairobem.c:5:0: backend.h:5:21: fatal error: cconfig.h: No such file or directory
^
compilation terminated.
Thanks in advance!
install.packages("Cairo",,"http://rforge.net")
Do not use devtools, it doesn't create the correct tar ball and is unnecessary anyway.
FWIW: the work-around for the FT bug is now on CRAN.
I am getting the error below when I install the Cairo package:
The gcc compiler version is 5.1.0