[ZODB-Dev] Probelm with install of Standalone ZODB on RedHat7.3
Greg Ward
gward@mems-exchange.org
Fri, 26 Jul 2002 10:18:32 -0400
On 24 July 2002, Fred Griffin said:
> I'm unable to install Standalone ZODB in a Redhat 7.3 system with both
> Python 1.5.2 and Python 2.2 installed.
[...]
> when I run "python2 setup.py build" I get the following output.
>
> ============ BEGIN ============
> running build
> running build_py
[...]
> running build_ext
> Traceback (most recent call last):
> File "setup.py", line 116, in ?
> headers = ['ExtensionClass/src/ExtensionClass.h', 'ZODB/cPersistence.h'],
[...]
> line 408, in get_config_vars
> File
> "/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/sysconfig.py",
> line 313, in _init_posix
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable
> to open /usr/lib/python2.2/config/Makefile (No such file or directory)
>
> =================== END =======================
I'm *sure* this is a Distutils FAQ.
The problem is that your Python 2.2 installation is incomplete. It
looks like you forgot to install a "python2-dev" or "python2-devel"
package that Red Hat should have provided.
Greg
--
Greg Ward - software developer gward@mems-exchange.org
MEMS Exchange http://www.mems-exchange.org