Re: [Rd] How to get R to compile with PNG support

From: Karl-Dieter Crisman <>
Date: Wed, 20 Apr 2011 12:16:11 -0400

Followup with the specific issue in our most recent (non-posted, as of yet) attempts on a certain box. We now have xorg-dev, libcairo-dev, and Xwindows.h and libpng (as below) on this machine, but R is not compiling with support for any of these things.

Once again, any help knowing *exactly* what to pass to the configuration script or anything else would be *greatly* appreciated. We are planning to use R in Sage on several occasions with this machine this summer if we can get this going (see


R is now configured for i686-pc-linux-gnu  Source directory: .
 Installation directory: /home/sageserver/sage/local

 C compiler:                gcc -std=gnu99
-L/home/sageserver/sage/local/lib/ Fortran 77 compiler: sage_fortran -g -O2
 C++ compiler: g++ -g -O2
 Fortran 90/95 compiler: sage_fortran -g -O2 Obj-C compiler:
 Interfaces supported:      X11
 External libraries:        readline, BLAS(ATLAS), LAPACK(generic)
Additional capabilities:   PNG, NLS
 Options enabled:           shared R library, R profiling
 Recommended packages:      yes


> capabilities()

   jpeg      png     tiff    tcltk      X11     aqua http/ftp  sockets

 libxml     fifo   cledit    iconv      NLS  profmem    cairo
   TRUE     TRUE     TRUE     TRUE     TRUE    FALSE    FALSE

______________________________________________ mailing list Received on Thu 21 Apr 2011 - 07:03:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Apr 2011 - 12:00:49 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive