#12825: Fine-tune auto-detection of whether to install GCC
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  GeorgSWeber              
           Type:  defect          |        Status:  positive_review          
       Priority:  blocker         |     Milestone:  sage-5.0                 
      Component:  build           |    Resolution:                           
       Keywords:                  |   Work issues:                           
Report Upstream:  N/A             |     Reviewers:  Dan Drake, Leif Leonhardy
        Authors:  Jeroen Demeyer  |     Merged in:                           
   Dependencies:                  |      Stopgaps:                           
----------------------------------+-----------------------------------------
Changes (by ddrake):

  * status:  needs_review => positive_review


Comment:

 Replying to [comment:8 leif]:
 > I'd still change the `grep` pattern to not match typical `--with-gxx-
 include-dir` `configure` options.

 Positive review to attachment:12825_change_include_grep.patch, which works
 correctly in Ubuntu 11.10 and 12.04.

 > Btw., it seems Ubuntu / Debian changed the multi-arch stuff in 12.04
 such that there only setting `LIBRARY_PATH`  would be necessary (unless
 one created symbolic links for `crt?.o`); i.e., there's now a symbolic
 link from `/usr/include/asm/` to (e.g.) `x86_64-linux-gnu/asm/`.  (Dan,
 can you confirm that?  In your case it would presumably be a link to `i386
 -linux-gnu/asm/`.)

 In my 12.04 virtual machine, there's no symlink in `/usr/include`. If I
 don't set the include paths, gcc fails to build. I don't know about
 Debian, as I don't have any Debian VMs installed.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12825#comment:16>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to