[cairo] error loading Cairo on R

RAVI NANJUNDAPPA nravi.n at samsung.com
Wed Aug 20 21:59:46 PDT 2014


Quick look at the error log, gives me an impression of missing "libXt-devel" rpm pkg in your build environment. 
/usr/include/X11/Intrinsic.h file is provided by "libXt-devel" pkg. 
So, could you please check if you have the above pkg installed in your environment ?

Thanks and Best Regards, 
N Ravi

------- Original Message -------
Sender : Dan Hyatt<dhyatt at dsgmail.wustl.edu>
Date : Aug 21, 2014 02:43 (GMT+05:30)
Title : [cairo] error loading Cairo on R

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

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 
make: *** [xlib-backend.o] Error 1
ERROR: compilation failed for package ‘Cairo’
* removing ‘/dsg_cent/packages/Cairo’

The downloaded source packages are in
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
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

cairo mailing list
cairo at cairographics.org

More information about the cairo mailing list