#9718: iconv fails to build on Solaris 10 x86 64-bit - host fulvia
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby                               
       Type:  defect    |      Status:  new                                    
   Priority:  major     |   Milestone:  sage-4.5.3                             
  Component:  solaris   |    Keywords:                                         
     Author:            |    Upstream:  Completely fixed; Fix reported upstream
   Reviewer:            |      Merged:                                         
Work_issues:            |  
------------------------+---------------------------------------------------
Changes (by drkirkby):

 * cc: leif (added)
  * upstream:  None of the above - read trac for reasoning. => Completely
               fixed; Fix reported upstream


Comment:

 Ralf Wildenhues, who is a '''libtool''' developer kindly took a look at
 this for me - iconv uses libtool. The solution is to use:


 {{{
 CC="gcc -m64"
 }}}

 rather than have

 {{{
 CC=gcc
 CFLAGS=-m64
 }}}

 (Of course, gcc and -m64 should not be hardcoded - use $CC and $CFLAG64 in
 place). But the basic problem is that setting -m64 in CLFAGS does not work
 for some packages, and iconv is one of them. {{{Numpy}}} {{{Pynac}}} and
 {{{Libfplll}}} are other packages which will not build properly if only
 {{{CFLAGS}}} is set.

 I will add the necessary changes to #9603, which initially started off as
 a very small fix to install iconv on HP-UX, but has now generated into an
 almost complete redesign of the iconv package.

 The solution Ralf found has been posted to the libtool mailing list, but
 I'll get it put in the iconv one too, so others hopefully don't hit this
 problem.

 I'm cc'ing Leif, so he knows why the change will need to be made to #9603.

 Dave

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