Sunday, January 17, 2010

Kubuntu dev packages to build Python

List of all the additional packages needed for a full build of the optional Python modules in the 2.x standard library on Kubuntu 9.10:

libssl-dev (OpenSSL integration)
libreadline-dev (readline module integration)
libgdbm-dev (a DBM backend)
tk-dev (also brings in TCL via dependencies)
tk-tile (extra bit of tk needed for some of the TTK GUI functionality)
libsqlite3-dev (SQLite3 integration)
libdb4.7-dev (BSDDB integration)

(at least one of those brings in the necessary zlib build dependencies as well - probably SSL dev)

Mostly for my own reference, but if it proves useful to somebody else via a search engine, cool :)

3 comments:

  1. That's easier done via apt-get:

    sudo apt-get build-dep python2.6

    That command installs all build dependencies.

    ReplyDelete
  2. I finally got around to having a look at what build-dep on the Python package brings in, and it is quite a bit more than the minimal set in my original post.

    Still, it would no doubt do the trick - it will just also install a bunch of extra stuff that isn't really needed to get the regression tests running cleanly.

    ReplyDelete