01-22-2021, 11:04 AM
(01-22-2021, 03:10 AM)tiwil Wrote: Below is the error
Code: (Select All)gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Makefile:1708: recipe for target 'Objects/unicodeobject.o' failed
make[3]: *** [Objects/unicodeobject.o] Error 4
make[3]: Leaving directory '/root/Python-3.8.7'
Makefile:507: recipe for target 'build_all_generate_profile' failed
make[2]: *** [build_all_generate_profile] Error 2
make[2]: Leaving directory '/root/Python-3.8.7'
Makefile:481: recipe for target 'profile-gen-stamp' failed
make[1]: *** [profile-gen-stamp] Error 2
make[1]: Leaving directory '/root/Python-3.8.7'
Makefile:492: recipe for target 'profile-run-stamp' failed
make: *** [profile-run-stamp] Error 2
When searching for this, I found this thread at Stackoverflow. It says most likely it's memory issue since the VPS is very limited in memory. I don't ran "make -j 8", I ran "make" only. It should automatically detect how many cores inside the VPS. I'm installing Python 3.8.7 anyway.
I still remember that I have used your VPS before and have Python 3 installed and running smoothly. I just forget how to install it again, haha!
Edit: I just found out that software-properties-common ships with Python 3.7 inside, which is fine for me to work with. I only need to install it and now I do have Python 3 inside my VPS. Apologies for any issue
Compiling stuff on 256MB may likely not work, if the location does not matter, we got Norway with 512MB.
Otherwise, the project is focused on exotic locations, hence low memory.
And most recent distros are using 3.7 anyway, would be the way to go as you said.