#10000: GSL library fails to install on AIX 5.3
----------------------------------+-----------------------------------------
   Reporter:  drkirkby            |       Owner:  drkirkby                      
             
       Type:  defect              |      Status:  new                           
             
   Priority:  major               |   Milestone:  sage-4.6                      
             
  Component:  AIX or HP-UX ports  |    Keywords:                                
             
     Author:                      |    Upstream:  Not yet reported upstream; 
Will do shortly.
   Reviewer:                      |      Merged:                                
             
Work_issues:                      |  
----------------------------------+-----------------------------------------

Comment(by leif):

 Replying to [comment:7 drkirkby]:
 > But one has to wonder why it's not taken care of in the GSL source code.
 It would be easy for the GSL developers to check if {{{fprnd_t}}} is
 defined or not in the configure script.

 True.

 >  * We apply readline on some linux versions but not on all OpenSUSE
 versions

 That's because they decided to '''dynamically''' link {{{/bin/sh}}} (or
 {{{/bin/bash}}}) against {{{libreadline}}}, which is a bad idea. So the
 shell might break in case a less capable version is found (first) in e.g.
 {{{LD_LIBRARY_PATH}}}. (Proper versioning would also avoid this.)

 >  * We use iconv on Solaris, HP-UX and Cygwin but not Linux or OS X.

 Because the assumption is that {{{iconv}}} is either broken or missing on
 those platforms.

 >  * We patch {{{paripriv.h}}} on OS X and Solaris, but in different ways.

 Not true. Same patched file, just avoids a name clash with {{{ECHO}}} on
 those two systems. Not an upstream problem, since as the name suggests
 it's not intended to be installed / used outside the PARI sources.

 >  * etc etc etc.

 True. ;-) (There are packages I think could and should be made
 prerequisites, which would avoid some trouble.)

 > I prefer the {{{autoconf}}} approach of actually '''testing''' what is
 defined or not, rather than us making exceptions for this platform or that
 platform.

 Yes, but in general work-arounds made in Sage should be obsoleted by later
 upstream releases. (This is of course not always the case, and as seen
 above, some changes aren't upstream problems.)

 > [...] I've no idea if that is necessary on anything other than AIX 5.3.

 The snippet from GSL's {{{INSTALL}}} suggests it's not an AIX problem, but
 rather one of GCC.

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