#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_work                     
                                         
   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:  Jeroen Demeyer  |         Author:  Leif Leonhardy                 
                                         
     Merged:                  |   Dependencies:                                 
                                         
------------------------------+---------------------------------------------

Comment(by leif):

 Replying to [comment:22 cremona]:
 > Bruce and I used readline-6.2.p2.spkg not the p3, and also used it on a
 fresh build of 4.7.2 (which had previously stalled building R).
 > So the following might not be relevant: after building, when we run Sage
 it gives a 2-line warning that readline is not available -- and indeed
 Sage has no history functions.  What did we do wrong?

 Before building Sage (or [re-]installing '''Sage's''' readline), you need
 to
 {{{
 #!sh
 $ sudo apt-get install libncurses5-dev libncursesw5-dev
 }}}

 (The latter depends on the former, so you actually have to specify only
 one of them).  You '''do not''' have to install any ''libreadline''
 package, as Sage builds and uses its own -- the one we're talking about
 here.

 [[BR]]
 > Bruce also tells me that although he installed all the ubuntu packages
 listed on the installation web page, he also had to install dpkg-dev
 before Sage would build.

 I'm pretty sure the instructions on the web page are still outdated (and
 by the way have been wrong anyway), as discussed with Harald on sage-
 release a while ago.

 `dpkg-dev` is needed since Ubuntu 11.04, in order to make Python build
 (because the locations of some libraries were changed in Debian/Ubuntu).

 ----

 I'm sorry I'm unable to work much on Sage at the moment; thanks John for
 providing an updated and rebased spkg of my preliminary one.

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