#16274: include system pkgconfig path
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  blocker            |    Milestone:  sage-6.2
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/include_system_pkgconfig_path|  
ef9b2fb4529b6ce007f3b1d96dd8ecb968ae2ee3
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by leif):

 Replying to [comment:19 leif]:
 > It's also unclear to me whether that solves problems with R (?) on
 systems where there isn't a system-wide `pkg-config`.
 >
 > (I guess if R sees there's a `pkg-config`, it relies on it, and only
 otherwise tries to find libraries by itself.  But that's just a guess, and
 it's probably up to the Darwinist reviewers to check that...)

 Hmmm, the only difference I see on a MacOS X system without a system-wide
 `pkg-config` is:
 {{{
 92c92
 < checking for pkg-config... no
 ---
 > checking for pkg-config... /Users/leif/Sage/sage-6.2.beta7/local/bin
 /pkg-config
 497c497,498
 < configure: not checking for cairo as pkg-config is not present
 ---
 > checking whether pkg-config knows about cairo and pango... no
 > checking whether pkg-config knows about cairo... no
 }}}

 So apparently R does rely on `pkg-config`, and ''doesn't'' try to find
 libraries / packages by other means if there's no `pkg-config` at all.

 Still, it would be best to tell `pkgconf` also which ''system folders'' to
 search (in case there's no system-wide `pkg-config`), but that's even more
 kind of reinventing the wheel; the by far easiest (and IMHO most straight-
 forward) solution is to just make `pkg-config` a Sage prerequisite.  (IIRC
 there are pre-built binaries available for MacOS X as well; Linux and
 SunOS aren't a problem either.)

--
Ticket URL: <http://trac.sagemath.org/ticket/16274#comment:20>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to