centos7 - Error while attempting to install Cairo R package on centos 7 server -


i installed cairo-devel in server. when attempt following line:

sudo su - -c "r -e \"install.packages('cairo', repos='http://cran.rstudio.com/')\""

i bunch of output, pertinent ones following:

img-backend.c:82:13: warning: ‘image_save_page_jpg’ defined not used [-wunused-function]  static void image_save_page_jpg(rcairo_backend* be, int pageno){              ^ img-backend.c:96:13: warning: ‘image_save_page_tiff’ defined not used [-wunused-function]  static void image_save_page_tiff(rcairo_backend* be, int pageno){              ^  xlib-backend.c:34:74: fatal error: x11/intrinsic.h: no such file or directory  #include <x11/intrinsic.h>      /*->    xlib.h  xutil.h xresource.h .. */                                                                           ^ compilation terminated. make: *** [xlib-backend.o] error 1 error: compilation failed package ‘cairo’ * removing ‘/usr/lib64/r/library/cairo’ 

how fix this?

i had install libxt-devel.

sudo yum install libxt-devel


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -