I am currently trying to compile Python 3.10.2 from source. Everything seems to compile fine when doing a configure then a make. When I do make install though the install process hangs when compiling zoneinfo/_zoneinfo.py . Currently there are 6 python processes running when I view top. I have left this for several hours and the status is unchanged.
Here is the configure command I used:
export CXX=icpx
export CC=icx
# icx uses LLVM, so this is required for ctypes...?
export CFLAGS="-no-integrated-as"
# icx uses a clang frontend so these should be used as suggested by:
# https://devguide.python.org/setup/
export CFLAGS="$CFLAGS -Wno-unused-value -Wno-empty-body -Qunused-arguments"
cd $BUILD
../../302/configure \
--prefix $PREFIX \
--enable-profiling \
--enable-optimizations \
--with-ensurepip=install > configureOutput.txt
everything runs fine. When I CTRL+C to kill the make install it drops an error:
KeyboardInterrupt
File "/installation/lib/python3.10/multiprocessing/synchronize.py", line 95, in __enter__
return self._semlock.__enter__()
File "/installation/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/installation/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/installation/lib/python3.10/multiprocessing/queues.py", line 102, in get
with self._rlock:
File "/installation/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/installation/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
[interrupted]
make: [libinstall] Error 1 (ignored)
Any advice would be greatly appreciated. I have tried Googling the problem and searching StackOverflow and found no solutions that work.
I will say that this happens with AND without optimizations enabled.
|