Cameron Simpson wrote: > On 02Jan2017 17:21, MR ZenWiz <mrzen...@gmail.com> wrote: >>I'm trying to install python 4.6 on my Xubuntu 16.04 desktop, and I >>keep getting scads of errors that culminate with this from make test: >> >>running build >>running build_ext >>INFO: Can't locate Tcl/Tk libs and/or headers > > You lack the tk development libraries and/or headers. Try (as root): > > apt-get install tk-dev > >>The necessary bits to build these optional modules were not found: >>_bz2 _curses _curses_panel >>_dbm _gdbm _lzma >>_sqlite3 _ssl _tkinter >>readline zlib > > You need a bunch of other devleopment libraries too. You can use > "apt-cache search" to look for package names, eg "apt-cache search > readline". > > Based on an Ubuntu system also here try installing: libsqlite3-dev, > libbz2-dev, libncursesw5-dev, libgdbm-dev, lzma-dev, libssl-dev, > libreadline-dev, zlib1g-dev.
A nice shortcut for this is to install the build dependencies of the Python 3 used by your distribution: $ sudo apt-get build-dep python3.x Replace x with the actual minor version present on your system. > Then do a clean configure again and see what it says. > > Cheers, > Cameron Simpson <c...@zip.com.au> > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor