#9864: Error building PIL on RHEL Server 5.5
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  GeorgSWeber
       Type:  defect   |      Status:  new        
   Priority:  blocker  |   Milestone:  sage-4.6.1 
  Component:  build    |    Keywords:             
     Author:           |    Upstream:  N/A        
   Reviewer:           |      Merged:             
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by mpatel):

 Replying to [comment:15 leif]:
 > I'm pretty sure we can simply delete the ''first occurrence'' of

 {{{
 #!python
             add_directory(library_dirs, "/usr/local/lib")
             # FIXME: check /opt/stuff directories here?
 }}}

 If I comment out this `add_directory` line, PIL builds successfully on
 rosemary.  The doctests that didn't pass previously -- in
 `plot/plot3d/base.pyx` -- now pass.

 Does anyone see a reason to keep this line for any platform?  Has it not
 caused problems on other systems, because the systems haven't had a
 `/usr/local/lib/libpython2.6.a`?


 > Who knows if at all the indentation is correct? The comment '''below'''
 apparently refers to the (closed) {{{elif}}}-Darwin branch.
 {{{/usr/local/lib}}} is added ''again'' later (in the code, in the snippet
 Dave gave above), '''after''' {{{SAGE_LOCAL/lib}}} and {{{/usr/lib}}}, but
 since it's already in the path, the Sage directory ends up in the middle.

 Indeed, with the original line, I get
 {{{
 #!python
 ['/usr/local/lib',
 
'/home/buildbot/build/sage/rosemary-1/rosemary_full/build/sage-4.6.1.alpha2/local/lib',
 '/usr/lib']  # library_dirs
 ['libImaging',
 
'/home/buildbot/build/sage/rosemary-1/rosemary_full/build/sage-4.6.1.alpha2/local/include',
 '/usr/local/include', '/usr/include']  # include_dirs
 }}}
 but without it, I get
 {{{
 #!python

 
['/home/buildbot/build/sage/rosemary-1/rosemary_full/build/sage-4.6.1.alpha2/local/lib',
 '/usr/local/lib', '/usr/lib']  # library_dirs
 ['libImaging',
 
'/home/buildbot/build/sage/rosemary-1/rosemary_full/build/sage-4.6.1.alpha2/local/include',
 '/usr/local/include', '/usr/include']  # include_dirs
 }}}

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