On Fri, May 2, 2014 at 2:38 PM, leif <not.rea...@online.de> wrote:
> William Stein wrote:
>>
>> 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
>
>
> Could someone elaborate the problem(s), i.e., give an example of what
> exactly broke?  (Such that I could check the proposed solution at [1].)

On SageMathCloud (at least the nodes running Ubuntu 14.04, but I bet
the same is true of 12.04) with sage-6.2.rc1, if you do

  sage -sh
  pkg-config cairo
  echo $?

you get 1.  If you do

  /usr/bin/pkg-config cairo
  echo $?
  0

you get 0.

This is the only specific reported issue, but it is easy to reproduce.

Cairo is some graphics package that is needed for R to make images with X11.

 -- William

>
> Also, are there issues (regressions) on systems that *don't have* a
> system-wide pkg-config installed at all?
>
>
> -leif
>
> [1] http://trac.sagemath.org/ticket/16274
>
>
>
>> 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
>
>
> --
> () The ASCII Ribbon Campaign
> /\   Help Cure HTML E-Mail
>
> --
> 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.



-- 
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