#18494: Install sage headers and auxiliary files (.h/.pxd/.pxi files)
-------------------------------------+-------------------------------------
       Reporter:  fbissey            |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.8
      Component:  distribution       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  François Bissey    |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/fbissey/headers_install          |  df1d4458f6190415e72d2533b5e5780985b035d5
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by fbissey):

 I should be able to rebase/update everything in the next couple of days,
 including this little surprise
 {{{
 File "/usr/lib64/python2.7/site-packages/sage/misc/cython.py", line 231,
 in sage.misc.cython.pyx_preparse
 Failed example:
     module = sage.misc.cython.import_test("trac11680")  # long time (7s on
 sage.math, 2012)
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib64/python2.7/site-packages/sage/doctest/forker.py",
 line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/usr/lib64/python2.7/site-packages/sage/doctest/forker.py",
 line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest sage.misc.cython.pyx_preparse[9]>", line 1, in
 <module>
         module = sage.misc.cython.import_test("trac11680")  # long time
 (7s on sage.math, 2012)
       File "/usr/lib64/python2.7/site-packages/sage/misc/cython.py", line
 810, in import_test
         return compile_and_load(TESTS[name])
       File "/usr/lib64/python2.7/site-packages/sage/misc/cython.py", line
 763, in compile_and_load
         return cython_import(file, create_local_c_file=False)
       File "/usr/lib64/python2.7/site-packages/sage/misc/cython.py", line
 687, in cython_import
         **kwds)
       File "/usr/lib64/python2.7/site-packages/sage/misc/cython.py", line
 480, in cython
         raise RuntimeError("Error compiling {}:\n{}\n{}".format(filename,
 log, err))
     RuntimeError: Error compiling /home/fbissey/.sage/temp/QCD-
 nzi3/31051/tmp_zyUtdw.pyx:
     running build
     running build_ext
     building '_home_fbissey__sage_temp_QCD_nzi3_31051_tmp_zyUtdw_pyx_0'
 extension
     creating build
     creating build/temp.linux-x86_64-2.7
     x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/lib64/python2.7/site-
 packages/sage/libs/flint -I/usr//include/flint -I/usr/include
 -I/usr/include/python2.7 -I/usr/lib64/python2.7/site-
 packages/numpy/core/include -I/usr/lib64/python2.7/site-packages
 -I/usr/lib64/python2.7/site-packages/sage/ext -I/home/fbissey/.sage/temp
 /QCD-nzi3/31051 -I/usr/include/python2.7 -c
 _home_fbissey__sage_temp_QCD_nzi3_31051_tmp_zyUtdw_pyx_0.c -o build/temp
 .linux-
 x86_64-2.7/_home_fbissey__sage_temp_QCD_nzi3_31051_tmp_zyUtdw_pyx_0.o -w
 -O2 -O3 -ggdb

     _home_fbissey__sage_temp_QCD_nzi3_31051_tmp_zyUtdw_pyx_0.c:258:37:
 fatal error: sage/libs/ntl/ntlwrap.cpp: No such file or directory
      #include "sage/libs/ntl/ntlwrap.cpp"
                                          ^
     compilation terminated.
     error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 }}}
 So that is one extra file to ship, the only one of its kind.

--
Ticket URL: <http://trac.sagemath.org/ticket/18494#comment:59>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to