Thanks for your help Jeff. The offending package was libxt-dev . Cairo now installed without a problem Pedro ________________________________________ From: Jeffrey Horner [EMAIL PROTECTED] Sent: Monday, November 17, 2008 12:51 PM To: Vera, Pedro L. Cc: r-sig-debian@r-project.org Subject: Re: [R-sig-Debian] Unable to install Cairo package
Vera, Pedro L. wrote on 11/14/2008 04:20 PM: > Hello: > I'm running R 2.7.1 in Antix (Mepis kernel but heavily debian based). I have > installed libcairo2 (1.6.4-6.1). I tried installing the Cairo package since > I'm interested in generating some SVG graphs, and I got the following message: > > Only partial output (lines with no): > > .... > checking if R was compiled with the RConn patch... no > checking cairo.h usability... yes > checking cairo.h presence... yes > checking for cairo.h... yes > checking for PNG support in Cairo... yes > checking for ATS font support in Cairo... no > .... > checking whether cairo_image_surface_get_format is declared... no > checking for FreeType support in cairo... yes > checking whether FreeType needs additional flags... no > checking wheter libjpeg works... yes > checking wheter libtiff works... no > configure: creating ./config.status > ... > 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 > chmod: cannot access `/usr/local/lib/R/site-library/Cairo/libs/*': No such > file or directory > ERROR: compilation failed for package 'Cairo' > ** Removing '/usr/local/lib/R/site-library/Cairo' > > I hope I provided enough of the output (and enough system information). I > don't know what the "Rconn patch" is and perhaps that is the problem? Not at all. In fact when I read the error messages, it says that it cannot find X11/Intrinsic.h, so that's a problem with Xlib which means you'll need to install the appropriate "-dev" debian package. For instance on Ubuntu hardy, I would shoot for installing xserver-xorg-dev. But before you do anything else, I would recommend updating to R 2.8.0 as 2.7.1 is so yesterday. Jeff > > Any help would be greatly appreciated. > > Pedro L Vera > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian -- http://biostat.mc.vanderbilt.edu/JeffreyHorner _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-debian