install - Compile R with Cairo support without X11 -


I am trying to compile the source from R 3.1.1 so that Cairo support has been enabled. I want it because I am trying to run R on a server that does not have any graphical environment (hence no X11), but still output is PNG.

I tried configuring R

  ./configure- with-x = not-with-cairo = yes --with-libpng = yes - Enable-R-shlib --prefix = $ HOME   

By doing this, no RPN or Cairo is supported (as capabilities () it happens). In config.log , the following is the following. Configure: Configure X: 31749: Results: Disable Disabled: 32420: Result: Using X11. No Configured: 32530: Check that What does pkg-config know about configuring Cairo and Pango: 32542: Result: Yes Configure: 32576: Check that Cairo has Caro = 1.2 and Works: 3259 9: GCC -STD = GNU 99-O conftest -g -O2 -fpic -i / usr / local / include -pthread -i / home / rmccloskey / include / pango-1.0 -i / home / rmccloskey / include / cairo -i / hom E / rmccl oskey / contains / glib-2.0 -i / home / rmccloskey / lib / glib-2.0 / include -i / home / rmccloskey / include / pixman-1- I / usr / include / freetype2-i / house / rmccloskey / Include / freetype2-i / home / rmc claque / included / libipanga 16-l / usr / local / live 64 conferencing c-lrt-dl -lm -l / home / rmcloski / lib-lpangocario-1.0- LP ango-1.0 -Logo-Object-200-LGL-2.0.0 - Lpng16 -lz -lcairo & gt; & Amp; 5 conftest.c: 232: 24: Fatal error: Cairo-xlib.h: Include any file or directory # lt; Cairo-Xlab H & gt; ^ Compilation Finished

As you can see, knows about configured Caro and Pango, and also knows that I'm not using X11, but it's still < Code> cairo-xlib.h to try to compile a file? What can i do here

In the most narrow sense, a x11 header is required in Cairo

Comprehensive In the sense, look at the various responses to using the xvfb virtual X11 server - they allow you to use without use

In addition, you have no X 11, PNG can try to build Cairo - and then use one of the two Cairo packages from the crane to create the graph. . At Debian / Ubuntu we also have a pre-build package for you at least.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -