Trying to build Python

Cecil Westerhof Cecil at decebal.nl
Fri May 15 10:25:22 EDT 2015


Op Friday 15 May 2015 13:16 CEST schreef Chris Angelico:

> On Fri, May 15, 2015 at 9:02 PM, Rustom Mody <rustompmody at gmail.com> wrote:
>> On Friday, May 15, 2015 at 4:28:13 PM UTC+5:30, Cecil Westerhof wrote:
>>> I am trying to build Python 3 on a Debian system. It is
>>> successful, but a few things where missing. Partly I solved it,
>>> but a few things keep unresolved: _bz2 _sqlite3 readline _dbm _ssl
>>> _gdbm
>>>
>>> What do I need to do to get those resolved also?
>>>
>>
>> $ aptitude build-dep python3
>>
>> should fetch the requirements of python3

It should, but it did not. I had to install tcl-dev and tk-dev and
then still got the above missing dependencies.


> And if not, try grabbing some development libraries:
>
> $ sudo apt-get install libbz2-dev libsqlite3-dev libreadline-dev
> libssl-dev libgdbm-dev

That did the trick. :-D


> I'm not sure about the _dbm module, not sure what it needs.

I get no complaints anymore, so: problem solved.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list