I want to install (say) Python in a manner that it is maximally separated from the system and system provided libraries and programs. It should be compiled in its own directory in which it lives and only need access to system provided stuff it needs to compile. (This is similiar to the way in which Julia (cf. section "Source Download and Compilation") is compiled from source.) However, I am unsure how to do this in general. Running ./configure
will create a Makefile
that is tailored to use system provided libraries and I do not have sufficient experience in handwriting my Makefile; especially with programs that have a wide range of dependencies and given the fact that I will need to do this for a range of programming languages. Can you give me some good advice how to do this in a more efficient way than manually writing a Makefile
?
(I am currently running Arch Linux but I intend this to be a more generic question, i.e. solutions should be generalisable.)