#6362: [with spkg, positive review] Singular and GCC 4.4
-------------------------------------------------------------+--------------
 Reporter:  aginiewicz                                       |        Owner:  
tbd                      
     Type:  defect                                           |       Status:  
closed                   
 Priority:  blocker                                          |    Milestone:  
sage-4.1                 
Component:  algebra                                          |   Resolution:  
fixed                    
 Keywords:                                                   |     Reviewer:  
John Perry, Robert Miller
   Author:  Andrzej Giniewicz, Martin Albrecht, Craig Citro  |       Merged:  
sage-4.1.rc0             
-------------------------------------------------------------+--------------

Comment(by GeorgSWeber):

 As contained in Sage-4.1.rc0, singular-3-1-0-4-20090703.spkg does not even
 build on OS X, neither 10.4 nor 10.5. Changing the line 201 in
 /src/factory/GNUmakefile.in:
 {{{
 factoryobj :=   $(factorysrc:%.cc=%.o) $(factorysrc:%.y=%.o)
 }}}
 into the following two lines:
 {{{
 factoryobj :=   $(factorysrc:%.cc=%.o)
 factoryobj :=   $(factoryobj:%.y=%.o)
 }}}
 made the resulting Singular spkg build on OS X 10.4. But after installing
 it into Sage-4.1.rc0, Sage doesn't even start, it fails with:
 {{{
 ImportError: dlopen(/Users/Shared/sage/sage-4.1.rc0/local/lib/python2.6
 /site-packages/sage/rings/polynomial/multi_polynomial_libsingular.so, 2):
 Symbol not found: ___eprintf
   Referenced from:
 /Users/Shared/sage/sage-4.1.rc0/local/lib//libsingular.dylib
   Expected in: dynamic lookup
 }}}
 This might be due to the fact that I had dropped in the 3.1.0.2 Singular
 spkg before, so I am re-running the build from the start. (I doubt that
 it'll help, but let's see.)

 For the record, skipping through the install logs, I spotted another error
 (this time "copy'n'paste") in the Singular 3.1.0.4 build scripts. In
 /src/libfac/Makefile.in, the two identical lines 157/158 read:
 {{{
         -$(RANLIB) ${libdir}/libsingfac_g.a
         -$(RANLIB) ${libdir}/libsingfac_g.a
 }}}
 and it is obvious from the surrounding lines, that the line 158 should end
 with "..._p.a" instead of "..._g.a".

 @Martin:
 Would you please report the findings so far upstream?

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