What is bsddb185 in Python
What packages / libraries should I install before compiling Python from source?
Every now and then I have to install a new Ubuntu (I've used it for both the desktop and the servers) and keep forgetting a couple of libraries that I should have installed before compiling, which means I have to recompile and get it annoying.
Now I want to make a full list of all the library packages to install before Python is compiled (and, best of all, how optional they are).
This is the list I compiled with the help and digging below. It's complete for at least Ubuntu 10.04 and 11.04:
For Python 3.2 and higher:
Ubuntu has no packages for Berkeley database v1.8.5, nor (for obvious reasons) the Sun Audio hardware, so the and modules are still not built on top of Ubuntu, all other modules are installed with the above packages as well built.
In Ubuntu 14.04 even more patches for Python 2.6 and 2.7 etc. are needed. I would recommend trying pyenv instead. It contains a script (located in). This allows you to install any version of Python as follows:
Where 2.7.8 is the version and / opt / python27 is the path under which it will be installed. Pyenv will download the Python version and apply the necessary patches for you.
For Python 2.5 and Python 2.6, LDFLAGS must also be set on Ubuntu 11.04 and higher so that the new layout can be used with multiple archives:
For Python 2.6, 2.7, and 3.0, you must explicitly enable SSL after running the script and before running it. There are lines in it like this:
Comment out these lines and change the SSL variable to:
Python 2.6 and 3.0 also need to change Modules / _ssl.c to work with OpenSSL 1.0, which is used in Ubuntu 11.10. Around line 300 you will find the following:
Change that to:
This disables SSL_v2 support which is apparently gone in OpenSSL1.0.
Python 2.4 (yes, I still have some old projects that require 2.4) needs this patch for setup.py:
And it needs to be compiled with:
- What should I wear on my honeymoon?
- Can chronic postpartum depression be cured
- Recommend banking with crypto currency
- How long is a dental implant surgery reliable?
- What updates your status on Facebook
- Women's eyelashes thin as they age
- Indian girlfriends fantasize about their friends
- Is scamadviser com legitimate
- Which is better C C ++ or Java
- How can HarmonyOS challenge Android
- What is the future of wireless communication
- How is Nayan Goyal personally
- Anorexia affects brain size of intelligence
- How does cold denaturation of proteins occur
- What causes the leaves to change color
- Are there positrons on the sun
- Are Pakistanis of Hispanic or non-Hispanic descent
- How can I improve my tennis volleys
- What was blockchain used for before Bitcoin?
- How was LEED certification developed
- What does A 1 mean in math
- Are the people in Shreveport LA friendly
- Why aren't you proud to be European?
- Does God mourn human suffering
- Why is education in India very commercial
- What is 10 10 100 1
- How is a scramjet engine cooled?
- How does health insurance work in Canada
- Why is ham called ham
- Will the Browns keep Brock Osweiler
- Why do I like to be scary
- What is yoga according to Bhagavad