#11970: r-2.10.1.p4 may fail to configure with readline (BLOCKS Sage from 
building
on Ubuntu 11.10)
------------------------+---------------------------------------------------
   Reporter:  Snark     |          Owner:  tbd                                  
                                   
       Type:  defect    |         Status:  needs_review                         
                                   
   Priority:  blocker   |      Milestone:  sage-4.8                             
                                   
  Component:  packages  |       Keywords:  Oneiric Ocelot Ubuntu 11.10 ARM 
libtermcap libncurses libtinfo r-project
Work_issues:            |       Upstream:  N/A                                  
                                   
   Reviewer:            |         Author:  Leif Leonhardy                       
                                   
     Merged:            |   Dependencies:                                       
                                   
------------------------+---------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => Leif Leonhardy


Old description:

> I was having a hard time compiling sage on my ARM box : the R spkg, which
> until then hadn't given any issue, didn't even want to configure.
>
> The reason was that if ncurses is detected, then termcap isn't searched
> for, and hence detecting rl_callback_read_char fails (missing -ltermacp
> means missing symbols) ; which means the configuration failed because
> --with-readline was given on the commandline, and it wasn't correctly
> detected.
>
> I got around it by uninstalling the libncurses5-dev package from my
> system.
>
> Looking at the configure.ac, I think the issue isn't ARM-specific ;
> perhaps that should be pushed upstream.

New description:

 I was having a hard time compiling sage on my ARM box : the R spkg, which
 until then hadn't given any issue, didn't even want to configure.

 The reason was that if ncurses is detected, then termcap isn't searched
 for, and hence detecting rl_callback_read_char fails (missing -ltermacp
 means missing symbols) ; which means the configuration failed because
 --with-readline was given on the commandline, and it wasn't correctly
 detected.

 I got around it by uninstalling the libncurses5-dev package from my
 system.

 Looking at the configure.ac, I think the issue isn't ARM-specific ;
 perhaps that should be pushed upstream.

 ----

 New spkg:

  -
 [http://sage.math.washington.edu/home/palmieri/SPKG/readline-6.2.p3.spkg]

--

Comment:

 I've posted an updated version of Leif's spkg, although without the
 changes to `spkg-check`.

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