On Wed, Jun 13, 2012 at 12:32 AM, Marius Gedminas <[email protected]> wrote: >> Just a little recommendation that I can _barely_ recall it gave me trouble in >> the past: verify that you have the developer headers for sqlite3 and zlib, >> otherwise you won't have access to sqlite and, regarding zlib, some third >> party >> library might complain (such as PIL) while compiling. > > libreadline-dev is also something I would want to have if I ever had to > build my own Python. apt-get build-dep is a very good idea on Ubuntu.
My Ubuntu 12.04 says there's no such package with 'build-dep' in its name. Did you mean 'build-essential'. That gives you the C compiler and all the configure/make/link tools. I can't find this other package people are talking about. You will need to install -dev packages for the optional subsystems you want (readline, sqlite, zlib, jpeg, etc). The Python README lists what those subsystems are, then you just have to do a bit of hunting to find the corresponding -dev package. (Some programs' READMEs tell you the Debian/Ubuntu package names directly, so you don't have to hunt.) As i said, I only compile Python when the system version is unacceptable. I rarely have trouble compiling Python itself. Sometimes it's hard to compile other things like PIL or MySQLdb. The Ubuntu Python is complete if you install all the pythonVERSION-* packages the standard distribution is split into. In the past, Red Hat and MacOS have shipped with old or incomplete Pythons, but I imagine the current OS releases are respectable. The Mac Python does have a lot of weird paths compiled in to comply with its /Library/Frameworks/* directory system. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
