[Tutor] Total newbie question

Cameron Simpson cs at zip.com.au
Tue Jan 3 05:04:50 EST 2017


On 02Jan2017 17:21, MR ZenWiz <mrzenwiz at 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.

Then do a clean configure again and see what it says.

Cheers,
Cameron Simpson <cs at zip.com.au>


More information about the Tutor mailing list