#12725: termcap: symlink libtermcap.a to libncurses.a
-------------------------------------------------------+--------------------
       Reporter:  jdemeyer                             |         Owner:  tbd    
     
           Type:  defect                               |        Status:  
needs_review
       Priority:  minor                                |     Milestone:  
sage-5.1    
      Component:  packages                             |    Resolution:         
     
       Keywords:                                       |   Work issues:         
     
Report Upstream:  Reported upstream. No feedback yet.  |     Reviewers:         
     
        Authors:  Jeroen Demeyer                       |     Merged in:         
     
   Dependencies:                                       |      Stopgaps:         
     
-------------------------------------------------------+--------------------
Changes (by jdemeyer):

  * upstream:  N/A => Reported upstream. No feedback yet.


Old description:

> The install scripts for PARI and Python automatically link with
> `-lncurses` if `/usr/lib/libncurses.so` '''exists''', even though the
> mere existence of that file doesn't guarantee that it actually can be
> linked.  This can happen in particular when "cross-compiling" a 32-bit
> Sage on a 64-bit operating system.
>
> The build of the readline interface of PARI and Python might therefore
> fail for no good reason.  A solution is to symlink Sage's `libtermcap.a`
> to `libncurses.a` if needed, such that `-lncurses` will always succeed.
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/termcap-1.3.1.p3.spkg]

New description:

 The install scripts for PARI and Python automatically link with
 `-lncurses` if `/usr/lib/libncurses.so` '''exists''', even though the mere
 existence of that file doesn't guarantee that it actually can be linked.
 This can happen in particular when "cross-compiling" a 32-bit Sage on a
 64-bit operating system.

 The build of the readline interface of PARI and Python might therefore
 fail for no good reason.  A solution is to symlink Sage's `libtermcap.a`
 to `libncurses.a` if needed, such that `-lncurses` will always succeed.

 '''spkg''':
 [http://boxen.math.washington.edu/home/jdemeyer/spkg/termcap-1.3.1.p3.spkg]

 Reported upstream to Python: [http://bugs.python.org/issue15182]

 For PARI, this seems to be fixed in PARI-2.6.0 (but I haven't checked
 well).

--

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