#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:  Leif Leonhardy
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/include_system_pkgconfig_path|  
0afd5c5aaaf349c4314c5067800924c24a9e2713
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by leif):

 Hmmm, for whatever reason (shell caching I presume), I end up in an
 infinite loop.

 Although `$SAGE_LOCAL/bin/pkg-config` gets deleted right before `m4` is
 called, `command -v pkg-config` apparently still gives `$SAGE_LOCAL/bin
 /pkg-config`, such that the script finally calls itself...

 FWIW,
 {{{
 #!sh
 $ bash --version
 GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)
 Copyright (C) 2009 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 }}}

 (I've run into similar a couple of times; the shell doesn't "see" freshly
 installed programs immediately.)

 So it'd probably be better to call `PATH=SAGE_ORIG_PATH command -v pkg-
 config` (modifying `sage-env` accordingly, i.e., saving the original
 `PATH`).

--
Ticket URL: <http://trac.sagemath.org/ticket/16274#comment:31>
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