#13234: Add Normaliz optional package
--------------------------------------+-------------------------------------
       Reporter:  novoselt            |         Owner:  tbd       
           Type:  enhancement         |        Status:  needs_work
       Priority:  major               |     Milestone:  sage-5.3  
      Component:  packages            |    Resolution:            
       Keywords:                      |   Work issues:            
Report Upstream:  N/A                 |     Reviewers:            
        Authors:  Andrey Novoseltsev  |     Merged in:            
   Dependencies:                      |      Stopgaps:            
--------------------------------------+-------------------------------------
Changes (by dimpase):

  * status:  needs_review => needs_work


Comment:

 {{{-static}}} is not supported on MacOSX. There one gets:
 {{{
 ...
 ar -cr libnormaliz.a cone_property.o hilbert_series.o libnormaliz-
 templated.o
 make normaliz
 g++  -I/usr/local/src/sage/sage-5.2.rc0/local/include  -Wall -pedantic
 -Wno-long-long -O3 -funroll-loops -fopenmp -Wall -pedantic -Wno-long-long
 -O3 -funroll-loops -fopenmp -static Normaliz.cpp libnormaliz/libnormaliz.a
 -lgmpxx -lgmp -o normaliz
 ld: library not found for -lcrt0.o
 collect2: ld returned 1 exit status
 make[1]: *** [normaliz] Error 1
 make: *** [linknormaliz] Error 2
 Error building Normaliz.
 }}}

 It's probably better to build a dynamic library.

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