Hi,

I just spent a while trying to figure out how to get R png graphics to
work again in Sage-6.2rc0 on Ubuntu 14.04.  Note that graphics worked
fine with Sage-6.2beta1 on Ubuntu 12.04.    Karl Dieter's many random
posts around the web asking about this problem were helpful, though in
this case the problem is new in sage-6.2rc0 due to trac #15742, and
will kill R usage for a lot of people if we release sage-6.2.rc0 as
is...

I tracked the problem down to pkg-config being in Sage-6.2rc0, whereas
it is not in Sage-6.2beta1.

This is because of http://trac.sagemath.org/ticket/15742, which is
very important to getting Sage to build at all on some wonky systems.
But on a mainstream modern Linux OS this ticket leads to problems.
Wouldn't it be better to only build/install pkgconfig on systems that
don't have a good one already?

My solution to deal with this R problem is:

   cd $SAGE_ROOT/local/bin && mv pkg-config pkg-config.orig && ln -s
/usr/bin/pkg-config .
   sage -f r

Of course, I have to wonder what other components of Sage got built
incorrectly due to Sage's pkg-config returning misleading results
(e.g., saying that a system-wide library isn't available even though
it is)...

William


-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to