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

Comment (by leif):

 Replying to [comment:12 leif]:
 > I still don't get why apparently `/usr/local/include/gmp.h` gets
 included although `-I${SAGE_LOCAL}/include` precedes
 `-I/usr/local/include`, according to `config.log`...

 Jan, you may try whether
 {{{
 #!sh
 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 -lomalloc_ndebug -lomalloc -lsingfac
 -lsingcf -lgmp -lreadline -ltermcap -lm
 -L/Users/kabel/sage/sage/local/lib -lflint -lmpfr -lmpir
 }}}
 or simply
 {{{
 #!sh
 gcc -I/Users/kabel/sage/sage/local/include/flint
 -I/Users/kabel/sage/sage/local/include -I/usr/local/include -c conftest.c
 }}}
 also fails for you, in a Sage subshell (`./sage --sh`).

 I've attached the [attachment:conftest.c corresponding conftest.c].

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