#7118: remove quaddouble from sage
---------------------------+------------------------------------------------
Reporter: was | Owner: tbd
Type: enhancement | Status: needs_review
Priority: blocker | Milestone: sage-4.1.2
Component: build | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------+------------------------------------------------
Comment(by mvngu):
Applied patches in this order to Sage 4.1.2.rc0:
1. `trac_7118.patch`
1. `trac_7118-part2.patch`
Then uncompressed the file
`SAGE_ROOT/data/extcode/pickle_jar/pickle_jar.tar.bz2` and removed the
following files from the directory
`SAGE_ROOT/data/extcode/pickle_jar/pickle_jar`:
1. `_type__sage_rings_real_rqdf_QuadDoubleElement__.sobj`
1. `_type__sage_rings_real_rqdf_QuadDoubleElement__.txt`
With these files removed, the directory
`SAGE_ROOT/data/extcode/pickle_jar/pickle_jar` is compressed into a
tarball again and replaced the previous version of the same tarball. From
Mercurial's point of view, this would result in a change to a file it
tracks, i.e. the pickle_jar.tar.bz2 has changed and all changes should be
checked in. Now edit the file `SAGE_ROOT/spkg/install` to comment out the
line related to quaddouble. The commented lines should be:
{{{
# See ticket #7118: remove quaddouble from sage
# QUADDOUBLE=`$newest quaddouble`
# export QUADDOUBLE
}}}
The file `SAGE_ROOT/spkg/install` is not tracked by Mercurial, so no need
to check in changes. Also, edit the file `SAGE_ROOT/spkg/standard/deps` to
comment out all lines related to quaddouble. The commented lines should
be:
{{{
# See ticket #7118: remove quaddouble from sage
# $(INST)/$(QUADDOUBLE): $(BASE) $(INST)/$(MPIR) $(INST)/$(MPFR)
# $(SAGE_SPKG) $(QUADDOUBLE) 2>&1
<SNIP>
# See ticket #7118: remove quaddouble from sage
# $(INST)/$(QUADDOUBLE) \
}}}
This file is also not tracked by Mercurial, so no need to check in
changes. Finally, remove the package quaddouble-2.2.p9.spkg from the
directory `SAGE_ROOT/spkg/standard` of standard Sage packages. With these
changes, I made a new source tarball called
"sage-4.1.2.rc1-7118-quaddouble". After unpacking that tarball and
compiling from scratch, I got the following error. The full install log is
attached.
{{{
g++ -o libcsage.so -shared src/convert.os src/interrupt.os
src/mpn_pylong.os src/mpz_pylong.os src/mpz_longlong.os src/stdsage.os
src/gmp_globals.os src/ZZ_pylong.os src/ntl_wrap.os
-L/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/local/lib
-lntl -lgmp -lpari
*** TOUCHING ALL CYTHON (.pyx) FILES ***
scons: `install' is up to date.
----------------------------------------------------------
sage: Building and installing modified Sage library files.
Installing c_lib
scons: `install' is up to date.
Traceback (most recent call last):
File "setup.py", line 16, in <module>
from module_list import ext_modules
File
"/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/devel/sage-
main/module_list.py", line 84, in <module>
for line in open(SAGE_LOCAL + "/share/polybori/flags.conf"):
IOError: [Errno 2] No such file or directory:
'/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/local//share/polybori/flags.conf'
sage: There was an error installing modified sage library code.
ERROR installing SAGE
real 0m4.375s
user 0m3.050s
sys 0m1.290s
sage: An error occurred while installing sage-4.1.2.rc1-7118-quaddouble
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of
/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/install.log.
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/spkg/build/sage-4.1.2.rc1-7118-quaddouble
and type 'make'.
Instead type
"/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/sage -sh"
in order to set all environment variables correctly, then cd to
/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/spkg/build/sage-4.1.2.rc1-7118-quaddouble
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/sage-4.1.2.rc1-7118-quaddouble] Error 1
make[1]: Leaving directory
`/scratch/mvngu/release/sandbox/sage-4.1.2.rc1-7118-quaddouble/spkg'
real 50m13.360s
user 42m20.520s
sys 7m27.370s
Error building Sage.
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7118#comment:8>
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
-~----------~----~----~----~------~----~------~--~---