On Fri, Apr 24, 2009 at 11:59 AM, Shaofeng NIu <shaofeng....@gmail.com>wrote:
> that worked for me,too :) thanks to all the peopel helping me > > 2009/4/24 Dayo Adewunmi <contactd...@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@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 > > The following is a previous post by Vern Ceder. I thought it might help. I have Python 3.0/Tkinter/IDLE working fine on Ubuntu 8.10, but it takes a certain amount of fiddling. 1. Make sure the stock Ubuntu Python 3.0 package is not installed 2. download the Python 3.0 source from python.org 3. install the following packages: build-essential libsqlite3-dev libreadline5-dev libncurses5-dev zlib1g-dev libbz2-dev libssl-dev libgdbm-dev tk-dev 4. unpack the Python source and switch to that folder 5. build Python using the standard ./configure, make, make install sequence - if you want more detail/help on that process, just ask... I'd be happy to explain this process in more detail if anyone wants... > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > -- لا أعرف مظلوما تواطأ الناس علي هضمه ولا زهدوا في إنصافه كالحقيقة.....محمد الغزالي "No victim has ever been more repressed and alienated than the truth" Emad Soliman Nawfal Indiana University, Bloomington --------------------------------------------------------
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor