[Tutor] how to compile python3.0

Shaofeng NIu shaofeng.niu at gmail.com
Fri Apr 24 17:59:57 CEST 2009


that worked for me,too :) thanks to all the peopel helping me

2009/4/24 Dayo Adewunmi <contactdayo at gmail.com>

> Shaofeng NIu wrote:
>
>> I tried to compile and install python3.0 from source,but after "make",it
>> shows:
>>
>> Python build finished, but the necessary bits to build these modules were
>> not found:
>> _dbm               _gdbm              _hashlib       _sqlite3
>> _ssl               _tkinter       bz2                readline
>>            To find the necessary bits, look in setup.py in detect_modules()
>> for the module's name.
>>
>> Could anybody tell me how to install these modules?Thank you!
>> My OS is Ubuntu 8.10
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tutor maillist  -  Tutor at python.org
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>
>
> This worked for me on Ubuntu 8.04:
>
> $ sudo apt-get install build-essential libncursesw5-dev libreadline5-dev
> libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev tk-dev g++ gcc
>
> Solution for _dbm
> $ wget -c http://bugs.python.org/file12234/dbm.diff
> $ patch -p0 < dbm.diff
>
> $ sudo apt-get build-dep python2.5
> $ make
> $ sudo make install
>
> Regards
>
> Dayo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090424/cc73c537/attachment.htm>


More information about the Tutor mailing list