[cairo] error loading Cairo on R

Dan Hyatt dhyatt at dsgmail.wustl.edu
Thu Aug 21 07:04:58 PDT 2014


That was the problem,

Does the Cairo team want to add this libXt-devel to the instructions on 
how to install. when I installed the Cairo-dev   yum did not install this
  994  yum install cairo-devel

  yum install libXt-devel


On 8/20/2014 11:59 PM, RAVI NANJUNDAPPA wrote:
> hi,
>
> 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
>
> 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