#7162: maybe remove linking xpm into gd
-----------------------+----------------------------------------------------
   Reporter:  was      |       Owner:  tbd         
       Type:  defect   |      Status:  needs_review
   Priority:  minor    |   Milestone:  sage-4.3.1  
  Component:  solaris  |    Keywords:              
Work_issues:           |      Author:  David Kirkby
   Upstream:  N/A      |    Reviewer:              
     Merged:           |  
-----------------------+----------------------------------------------------

Comment(by drkirkby):

 Hi,
 you have a point, but there was some logic to this.

 The purpose of the ticket which William opened was to add

 {{{
 --without-xpm
 }}}

 to the line where the configure script it invoked. The ticket had nothing
 to to with SAGE64.

 I think whilst trying to build on Solaris in 64-bit mode, you should set
 CFLAGS and CXXFLAGS to include -m64, as that will allow '''some'''
 packages to build without making changes to their spkg-install files. This
 is one such package.

 I've written two scripts (#7505) which check what the compiler is (GCC,
 Sun Studio, HP, IBM etc). That ticket already has positive review.

 I've written an updated version of sage-env, #7818 which is awaiting
 review. That will uses those two script, determine the right compiler
 flag, then automatically export the right compiler flag to CFLAGS.

 As such, I believe making only the change William suggested is sufficient
 in this case. Just export CFLAGS and CXXFLAGS to include -m64, and expect
 that in the next release or two, that will happen automatically for you.
 Doing this, will reduce somewhat the number of spkg-install files that
 need editing.

 Dave

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