#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:  N/A             |     Reviewers:              
        Authors:  Jeroen Demeyer  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------
Description changed by jdemeyer:

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`, 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]

--

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