问题
I compiled python 2.7.11 as follow steps:
tar -xf python.tar.xz
./configure
make
after compiling, I found that there is no libpython2.7.so in the results, which means that this is not a 'dev' version.
So, how could I make the .so file and install them properly (Do not override the default python of system) ?
回答1:
You need:
./configure --enable-shared
Check out all that ./configure
has to offer with:
./configure --help
来源:https://stackoverflow.com/questions/35866369/how-to-manually-install-python-dev-from-source