#12369: Add a gcc package
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
       Reporter:  jdemeyer                                                      
                                                                                
                                  |         Owner:  tbd       
           Type:  task                                                          
                                                                                
                                  |        Status:  needs_work
       Priority:  major                                                         
                                                                                
                                  |     Milestone:  sage-5.0  
      Component:  packages                                                      
                                                                                
                                  |    Resolution:            
       Keywords:                                                                
                                                                                
                                  |   Work issues:            
Report Upstream:  N/A                                                           
                                                                                
                                  |     Reviewers:            
        Authors:  Jeroen Demeyer                                                
                                                                                
                                  |     Merged in:            
   Dependencies:  #12479, #12602, #12608, #12609, #12647, #10492, #12367, 
#12368, #12405, #12570, #12574, #12423, #12425, #12456, #12363, #12223, #12515, 
#12519, #12548, #12562, #12629, #12638  |      Stopgaps:            
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Comment (by SimonKing):

 Replying to [comment:169 fbissey]:
 > OK so in a normal configuration without modification it lands in
 $SAGE_LOCAL/lib64 which is addressed in #12405 which is in beta8. So it
 should be able to find it. At this stage I would like the output of
 > {{{
 > strace gfan
 > }}}
 > to see what exactly happens and what is opened when.

 Can you elaborate what that means?

 > For your problem when you pass --libdir=$SAGE_LOCAL/lib you are probably
 looking at the wrong config.log.

 It seems to me that these are two separate problems.

 First problem: If I just do `./install base`, as suggested by Jeroen, then
 gcc fails to build, because at some point it can not determine the suffix
 of object files. That has nothing to do with --libdir being defined or not
 - it happens with or without --libdir.

 Second problem: If one does `make` and interrupts after a few seconds,
 then gcc builds, regardless whether --libdir is defined or not; so, the
 first problem is worked around. However, even ''if'' --libdir is defined
 during top-level configuration, libstdc++.so.6 is put into a different
 folder. Note that spkg-install only contains a single call to
 `./configure` -- that's the one I was providing with --libdir..

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