Python install catch 22

Willem Jan Withagen wjw at digiware.nl
Fri Apr 4 12:12:19 UTC 2014


Hi,

I've tried to upgrade my python 2.7 which did not work.
Then I deinstalled all python stuff and tried to install python3 (aka 3.3)

The system everytime refuses to install because of missing a database:

pkg-static:
lstat(/home2/usr/ports/lang/python33/work/stage/usr/local/lib/python3.3/lib-dynload/_dbm.so):
No such file or directory
*** [fake-pkg] Error code 74

[ replace python33 by python27 te get the similar error for 2.7 ]

And then hints:
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====

Which is nasty catch22, because one needs a recent/working python to
actually be able to do this.

How do other cope with this?

--WjW


More information about the freebsd-ports mailing list