You are not logged in Log in Join
You are here: Home » Members » jschinnerer » Zope from source - debian - fix "invalid python installation" error

Log in
Name

Password

 

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)
make: *** [build] Error 1

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:

apt-get install python2.3-dev

This package provides the config/Makefile needed to avoid the above error.