#6945: [with spkg, needs review] Update readline to version 6.0
----------------------+-----------------------------------------------------
Reporter: drkirkby | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: build | Keywords:
Reviewer: | Author: David Kirkby, William Stein
Merged: |
----------------------+-----------------------------------------------------
Comment(by mvngu):
Building from scratch on openSUSE 11.1 (menas on SkyNet) with drkirkby's
package, I got the following compile failure:
{{{
Overwriting libreadline.so.6.0 with the system one
cp: cannot stat `/lib64/libreadline.so.6.0': No such file or directory
real 1m6.544s
user 0m12.965s
sys 0m4.596s
sage: An error occurred while installing readline-6.0
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /home/mvngu/usr/menas/sandbox/sage-4.1.2.alpha1-6945-readline-
cliquer/install.log. Describe your computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/home/mvngu/usr/menas/sandbox/sage-4.1.2.alpha1-6945-readline-
cliquer/spkg/build/readline-6.0 and type 'make'.
Instead type "/home/mvngu/usr/menas/sandbox/sage-4.1.2.alpha1-6945
-readline-cliquer/sage -sh"
in order to set all environment variables correctly, then cd to
/home/mvngu/usr/menas/sandbox/sage-4.1.2.alpha1-6945-readline-
cliquer/spkg/build/readline-6.0
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/readline-6.0] Error 1
make[1]: Leaving directory
`/home/mvngu/usr/menas/sandbox/sage-4.1.2.alpha1-6945-readline-
cliquer/spkg'
real 1m8.134s
user 0m13.625s
sys 0m4.672s
Error building Sage.
}}}
An updated readline package is up at
http://sage.math.washington.edu/home/mvngu/release/spkg/standard/readline-6.0.spkg
This package includes the following:
* Check David Kirkby's changes in his name.
* Fix some minor typos.
* Change the line
{{{
if [ `grep 11.1 /etc/SuSE-release > /dev/null; echo $?` == 0 ]; then
}}}
to
{{{
if [ `grep 11.1 /etc/SuSE-release > /dev/null; echo $?` -eq 0 ]; then
}}}
since that conditional is a comparison of integers.
* Change the line
{{{
if [ $OVERWRITE_READLINE == "true" ]; then
}}}
to
{{{
if [ $OVERWRITE_READLINE = "true" ]; then
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6945#comment:2>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---