Building Python 2.7.9 on a machine where Python 2.7.5 is the system default -
in centos 7, python 2.7.5 default, , i'm trying install standalone installation of 2.7.9 /usr/local/stow/python-2.7.9 source. noticed, however, when running "make test", of output seems indicate version trying rely on system version:
[113/400] test_distutils traceback (most recent call last): file "<string>", line 1, in <module> file "/usr/lib/python2.7/compileall.py", line 16, in <module> import struct file "/usr/lib/python2.7/struct.py", line 1, in <module> _struct import * importerror: /usr/lib/python2.7/lib-dynload/_struct.so: wrong elf class: elfclass32
my version of python meant 100% independent of system version. how can configure/make/make install thing , force ignore pre-existing python 2.7.5 files? set ld_library_path build directory's lib directory, didn't (still found /usr/lib/python2.7/lib-dynload/_struct.so before finding mine).
(i don't care specific error wrong elf class, i'm solely interested in getting build ignore system python).
Comments
Post a Comment