Zope from source - debian - fix "invalid python installation" error |
Created by jschinnerer . Last modified 2006-05-26 15:15:14. |
How to fix the make error "invalid python installation" when building zope from source on Debian systems. |
This HowTo applies to building zope 2.8.6 from source on debian systems with python 2.3.5 installed. May apply to other versions under similar conditions, YMMV. When trying to build zope from source on Debian installations, you may get this error when running make: error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory) The debian python2.3 package does not include some things needed to build zope from source - for example config/Makefile, as indicated above. To fix the above error, you need to install the debian python2.3-dev package, like so:
This package provides the config/Makefile needed to avoid the above error. |