Thank you all for the useful comments!
Antonio, I wasn't aware of the somewhat limiting way a repo installation 
works, this remark made me try to stick to building from source.
Thanks Timo for the emphasis, compiling the develop branch was smooth, I'd 
switch back to 8.2+patch if needed.
Cheers,
Amit


בתאריך יום ראשון, 8 ביולי 2018 בשעה 12:10:01 UTC+3, מאת Amit Wolecki:
>
> Hi all!
> Installing sage (8.2) from maintained repo on Arch linux provided a low 
> functioning installation which symptoms are given here in the end. I then 
> tried to build sage from source, failing with a "generate-posix-vars 
> failed" and segfault. This issue resembles 
> https://bugs.python.org/issue33374 and https://bugs.python.org/issue21166 
> yet I could not deduce a solution to my case. 
> System:  ver 4.17.4 kernel, with gcc 8.1.1. Has python 2.7.15 installed 
> CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz, 4 cores
>
> As for the packaged installation problem, two examples are:
> 1. sage --testall fails to start, returning:
>
> Setting permissions of DOT_SAGE directory so only you can read and write 
> it.
> no stored timings available
> Running doctests with ID 2018-07-08-11-31-28-50157d1f.
> Using --optional=optional,sage
> Doctesting entire Sage library.
> Traceback (most recent call last):
>   File "/usr/bin/sage-runtests", line 127, in <module>
>     err = DC.run()
>   File "/usr/lib/python2.7/site-packages/sage/doctest/control.py", line 
> 1150, in run
>     self.add_files()
>   File "/usr/lib/python2.7/site-packages/sage/doctest/control.py", line 
> 696, in add_files
>     sagenb_loc = working_set.find(Requirement.parse('sagenb')).location
> AttributeError: 'NoneType' object has no attribute 'location'
>
> 2. installation of packages fail due to some environment confusion, for 
> example:
> [amit@amit-desk sage-8.2]$ sage -pip install surface_dynamics
> Collecting surface_dynamics
>   Using cached 
> https://files.pythonhosted.org/packages/52/8d/9d27f127f159ac58f31a318c36a633d992b5f2430f0624a01910e3c1f5b6/surface_dynamics-0.4.0.tar.gz
>     Complete output from command python setup.py egg_info:
>     Traceback (most recent call last):
>       File "/tmp/pip-install-kf5xxcpj/surface-dynamics/setup.py", line 9, 
> in <module>
>         from sage.env import SAGE_SRC, SAGE_VERSION
>     ModuleNotFoundError: No module named 'sage'
>     
>     During handling of the above exception, another exception occurred:
>     
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/tmp/pip-install-kf5xxcpj/surface-dynamics/setup.py", line 11, 
> in <module>
>         raise ValueError("this package currently installs only inside 
> SageMath (http://www.sagemath.org)")
>     ValueError: this package currently installs only inside SageMath (
> http://www.sagemath.org)
>     
>     ----------------------------------------
> Command "python setup.py egg_info" failed with error code 1 in 
> /tmp/pip-install-kf5xxcpj/surface-dynamics/
>
> I tried to search for leads from these two, but couldn't understand the 
> underlying problem.
> Many thanks in advance,
> Amit.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to