[cairo] error loading Cairo on R

Dan Hyatt dhyatt at dsgmail.wustl.edu
Wed Aug 20 14:13:48 PDT 2014


Hello,
I am having trouble installing Cairo on my server with R... Below is the 
error at the end of compilation. I have tried several methods, and have 
installed cairo-dev package on my server.
This is Centos6.5, running R 3.1.
We have Cairo running on our old redhat4.3 which is being deprecated.
I installed the Cairo-dev package from the command line using YUM
I have installed this package using several methods and it fails in the 
end....indicating it does not like the make on Xlib-backend.o
I set the R_LIBS and
install.packages("Cairo",repos='http://cran.r-project.org')

xlib-backend.c:34:74: error: X11/Intrinsic.h: No such file or directory
xlib-backend.c: In function ‘Rcairo_init_xlib’:
xlib-backend.c:158: warning: implicit declaration of function 
‘XrmUniqueQuark’
make: *** [xlib-backend.o] Error 1
ERROR: compilation failed for package ‘Cairo’
* removing ‘/dsg_cent/packages/Cairo’

The downloaded source packages are in
‘/tmp/RtmpKRhdqt/downloaded_packages’
Warning message:
In install.packages("Cairo", repos = "http://cran.r-project.org") :
installation of package ‘Cairo’ had non-zero exit status
 > version
_
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 1.0
year 2014
month 04
day 10
svn rev 65387
language R
version.string R version 3.1.0 (2014-04-10)
nickname Spring Dance
 >

-- 
  
Dan Hyatt
Division of Statistical Genomics
Washington University School of Medicine
4444 Forest Park Blvd, Campus Box 8506
St. Louis, MO  63108
314 747 4767 (o)
314 473 8713 (c)
dhyatt at dsgmail.wustl.edu



More information about the cairo mailing list