[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