#11162: print warning if no C compiler found
-----------------------------+----------------------------------------------
   Reporter:  jhpalmieri     |       Owner:              
       Type:  enhancement    |      Status:  needs_review
   Priority:  minor          |   Milestone:  sage-4.7    
  Component:  scripts        |    Keywords:              
     Author:  John Palmieri  |    Upstream:  N/A         
   Reviewer:                 |      Merged:              
Work_issues:                 |  
-----------------------------+----------------------------------------------

Old description:

> If no c compiler is found, print a warning the first time you run "sage",
> "sage -cython", etc.

New description:

 If no C compiler is found, print a warning the first time you run "sage",
 "sage -cython", etc.

--

Comment(by drkirkby):

 Should a C++ compiler be checked for too? Certainly rebuilding the Sage
 library needs a C++ compiler, as running:

 {{{
 drkirkby@hawk:~/sage-4.7.alpha3$ ./sage -ba | grep g++
 }}}

 produces a lot of output. (You need to insert a "y", as the script asks
 for that, though you can't see it because of the grep statement)

 {{{
 g++ -shared build/temp.solaris-2.11-i86pc-2.6/sage/symbolic/function.o
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib -lcsage -lpynac -lgmp
 -lstdc++ -lntl -lpython2.6 -o
 build/lib.solaris-2.11-i86pc-2.6/sage/symbolic/function.so
 g++ -shared build/temp.solaris-2.11-i86pc-2.6/sage/symbolic/pynac.o
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib -lcsage -lpynac -lgmp
 -lgsl -lstdc++ -lntl -lpython2.6 -o
 build/lib.solaris-2.11-i86pc-2.6/sage/symbolic/pynac.so
 g++ -shared
 build/temp.solaris-2.11-i86pc-2.6/sage/rings/polynomial/pbori.o
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib -lcsage -lpolybori
 -lpboriCudd -lgroebner -lgd -lpng12 -lm4ri -lstdc++ -lntl -lpython2.6 -o
 build/lib.solaris-2.11-i86pc-2.6/sage/rings/polynomial/pbori.so
 g++ -shared build/temp.solaris-2.11-i86pc-2.6/sage/symbolic/expression.o
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib
 -L/export/home/drkirkby/sage-4.7.alpha3/local/lib -lcsage -lpynac -lgmp
 -lstdc++ -lntl -lpython2.6 -o
 build/lib.solaris-2.11-i86pc-2.6/sage/symbolic/expression.so
 drkirkby@hawk:~/sage-4.7.alpha3$
 }}}

 This is making me think we should perhaps check for a C++ compiler too,
 but I'm not sure.

 A basic install of an operating system might well have a C compiler, but
 not a C++ compiler.

 Dave

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