#11575: Update PolyBoRi to release 0.8.0
-------------------------------+--------------------------------------------
   Reporter:  AlexanderDreyer  |          Owner:  AlexanderDreyer               
              
       Type:  enhancement      |         Status:  positive_review               
              
   Priority:  major            |      Milestone:  sage-4.7.3                    
              
  Component:  packages         |       Keywords:                                
              
Work_issues:                   |       Upstream:  None of the above - read trac 
for reasoning.
   Reviewer:  Martin Albrecht  |         Author:  Alexander Dreyer              
              
     Merged:                   |   Dependencies:  #11574, #9138                 
              
-------------------------------+--------------------------------------------

Comment(by leif):

 Replying to [comment:127 AlexanderDreyer]:
 > I just realized that you work around is active ''after'' configuring. So
 trying to link against gd and m4ri fails, becuase the compiler is still
 broken at that point.
 >
 > You may add your work around to {{{patches/custom.py}}} (which is
 executed earlier) as follows:
 {{{
 if os.environ.has_key("LD_LIBRARY_PATH"):
   LIBPATH += os.environ["LD_LIBRARY_PATH"].split(os.pathsep)
 }}}

 FWIW, ''both'' adding
 {{{
 #!python
 if os.environ.has_key("LIBRARY_PATH"):
     LIBPATH += os.environ["LIBRARY_PATH"].split(os.pathsep)
 }}}
 (`LIBRARY_PATH`, not `LD_LIBRARY_PATH`) in `patches/custom.py` as well as
 changing `patches/SConstruct` to
 {{{
 #!python
 # Get paths an related things from current environment
 # todo: Are these settings sane in any case?
 getenv = dict()
 # for key in ['PATH', 'HOME', 'LD_LIBRARY_PATH'] :
 for key in ['PATH', 'HOME', 'LD_LIBRARY_PATH', 'LIBRARY_PATH'] :
     try:
         getenv[key] = os.environ[key]
     except KeyError:
         pass
 }}}
 ''independently'' work for me, i.e., in both cases the build succeeds, and
 the GD and M4RI libraries are found by "Configure".

 [[BR]]

 Btw., it would be safer (and save a little space) to remove the M4RI
 source tree from the !PolyBoRi ''spkg''.

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