[sage-devel] Re: sage compiling fails at the pyzmq-14.3.0 package

2015-10-30 Thread Roberto De Leo
Solved! For some reason the file /usr/local/src/Math/sage-6.9/local/lib/python2.7/distutils/unixccompiler.py is not behaving fine and it passes the '-R' option to mpicc instead of '-Wl,-R'. When /usr/local/src/Math/sage-6.9/local/lib/python was not in the PYTHONPATH, then python was using the sy

[sage-devel] Re: sage compiling fails at the pyzmq-14.3.0 package

2015-10-30 Thread Roberto De Leo
Just found out more about this bug: if I set the PYTHONPATH var to /usr/local/src/Math/sage-6.9/local/lib/python/site_packages then the code compiles fine, since rather than the '-R' option it is used the correct '-Wl,-R'. If, instead, I set it, as sage does, to /usr/local/src/Math/sage-6.9/loc

[sage-devel] sage compiling fails at the pyzmq-14.3.0 package

2015-10-30 Thread Roberto De Leo
Hello, I'm trying to compile sage on a cluster with openmpi (distro: slackware-current) and I'm getting the error below when trying to compile pyzmq. It seems that a '-R' option is passed to gcc, which makes the compiling process fail. I tried a simple 'python setup.py build' in the sage-6.9/lo