Closed GoogleCodeExporter closed 9 years ago
A possible workaround could be to do something similar to what the core-daemon
currently does:
try:
from core import pycore
except ImportError:
# hack for Fedora autoconf that uses the following pythondir:
if "/usr/lib/python2.6/site-packages" in sys.path:
sys.path.append("/usr/local/lib/python2.6/site-packages")
if "/usr/lib64/python2.6/site-packages" in sys.path:
sys.path.append("/usr/local/lib64/python2.6/site-packages")
if "/usr/lib/python2.7/site-packages" in sys.path:
sys.path.append("/usr/local/lib/python2.7/site-packages")
if "/usr/lib64/python2.7/site-packages" in sys.path:
sys.path.append("/usr/local/lib64/python2.7/site-packages")
from core import pycore
Original comment by tgo...@gmail.com
on 18 Feb 2015 at 7:29
Possibly, but I wonder whether it should be fixed rather than worked around by
having CORE install to an acceptable place? This must be a common problem for
Fedora and possibly RHEL? If make uninstall works well enough, can CORE
install to /usr/lib directly?
Original comment by tomh....@gmail.com
on 18 Feb 2015 at 7:38
This may be resolved by r654/r655.
Original comment by tgo...@gmail.com
on 19 Feb 2015 at 2:03
This should be resolved now.
Original comment by tgo...@gmail.com
on 26 May 2015 at 5:52
Original issue reported on code.google.com by
tomh....@gmail.com
on 10 Feb 2015 at 7:10