#16751: Singular build fail OSX109
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.3
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  fa75ea6c03a9bcf856d5f3cf9af6eab4fcd939d2
  u/vbraun/singular_build_fail_osx109|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by leif):

 Reposting here, since apparently G00gle doesn't like it (meanwhile tried
 twice):

 {{{
 Jan Keitel wrote:
 > Okay, found them:
 >
 > gmp: 4.3.1
 > mpfr: 2.4.1
 > mpc: 0.8.1

 These shouldn't get picked up (in this case, only the header files matter
 anyway),
 since $SAGE_LOCAL/{include,lib} come first in the -I and -L directives:

 configure:8898: gcc -o conftest -O2 -g  -fPIC
 -I/Users/kabel/sage/sage/local/include/flint
 -I/Users/kabel/sage/sage/local/include
 -I/Users/kabel/sage/sage/local/include
 -I/Users/kabel/sage/sage/local/include  -I/usr/local/include
 -L/Users/kabel/sage/sage/local/lib -L/Users/kabel/sage/sage/local/lib
 -L/usr/local/lib conftest.c -lntl -lgmp -lreadline -ltermcap -lm
 -L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir >&5
 In file included from
 /Users/kabel/sage/sage/local/include/flint/fmpz.h:38:0,
                  from conftest.c:94:
 /Users/kabel/sage/sage/local/include/flint/flint.h:74:2: error: #error GMP
 5.0.0 or MPIR 2.6.0 or later are required
 /Users/kabel/sage/sage/local/include/flint/flint.h:78:2: error: #error
 MPFR 3.0.0 or later is required
 configure:8898: $? = 1


 It would be interesting to see GCC's verbose output (in particular, the
 list of
 include folders) as well as the preprocessed source of that conftest.c,
 but I
 guess it's not that easy to add the appropriate flags there.


 > Is there a way to force the sage installation not to use the globally
 > installed versions?

 It shouldn't at all.  You could move or remove them temporarily though.

 }}}

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