[cairo] error loading Cairo on R

Bryce Harrington bryce at osg.samsung.com
Thu Aug 21 10:35:46 PDT 2014


On Thu, Aug 21, 2014 at 09:04:58AM -0500, Dan Hyatt wrote:
> 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

I'm not familiar with Centos, but generally for packaged Cairo,
dependency detection is handled by the distro's packaging system.  So
you might want to start by filing a bug about this with your distro
that it needs to add this as a dependency for their cairo package.

I think Cairo's source documentation explains what to do about
dependencies as well enough as can be done given how many compilation
options Cairo has, but certainly wouldn't mind seeing some improvements
to README if appropriate.

Bryce

> 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
> 
> -- 
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo


More information about the cairo mailing list