#8868: Make R graphics work regardless of X and other things
---------------------------+------------------------------------------------
   Reporter:  kcrisman     |       Owner:  jason, was
       Type:  enhancement  |      Status:  new       
   Priority:  minor        |   Milestone:  sage-4.6.1
  Component:  graphics     |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by drkirkby):

 Replying to [comment:4 kcrisman]:
 > Hmm, that's bad.  We include libpng as part of Sage, as far as I know
 (libpng-1.2.35.p2.spkg).  So somehow R wasn't picking up the Sage copy of
 libpng.   That is very interesting.  And bad.
 >
 > cc:ing drkirkby only because he knows about Sage components picking up
 (or not) non-Sage libraries.

 Using Sage 4.6.1.alpha0 on my !OpenSolaris 06/2009 machine, I just run
 those two commands given on ask.sagemath.question:

 {{{
 sage:  r.eval('capabilities("png")')
 '  png \nFALSE '
 sage: r.eval('capabilities("X11")')
 '  X11 \nFALSE '
 sage:
 }}}

 looks like I have neither PNG or X support built in. This is odd. When I
 check {{{spkg/logs/r-2.10.1.p4.log}}} I see:

 {{{
 checking if libpng version >= 1.0.5... yes
 }}}

 then later

 {{{
 R is now configured for i386-pc-solaris2.11

   Source directory:          .
   Installation directory:    /export/home/drkirkby/sage-4.6.1.alpha0/local

   C compiler:                gcc -std=gnu99
 -I/export/home/drkirkby/sage-4.6.1.alpha0/local/include
 -L/export/home/drkirkby/sage-4.6.1.alpha0/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:
   External libraries:        readline
   Additional capabilities:   PNG, JPEG, TIFF, NLS
   Options enabled:           shared R library, shared BLAS, R profiling,
 Java

   Recommended packages:      yes
 }}}

 So despite PNG support apparently built in,
 {{{r.eval('capabilities("png")')}}} indicates otherwise.

 It's difficult to know what to trust.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8868#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to