[ZODB-Dev] Probelm with install of Standalone ZODB on RedHat7.3

Fred Griffin fred.griffin@verizon.net
Wed, 24 Jul 2002 17:29:40 -0700


I'm unable to install Standalone ZODB in a Redhat 7.3 system with both Python 
1.5.2 and Python 2.2 installed.

version 1.5.2 is the version run with the command "python foo ...."

version 2.2 requires commands to start with python2


when I run "python2 setup.py build" I get the following output.

============ BEGIN ============
running build
running build_py
creating build
creating build/lib.linux-i686-2.2
creating build/lib.linux-i686-2.2/BTrees
copying BTrees/IIBTree.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/IOBTree.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/Interfaces.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/Length.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/OIBTree.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/OOBTree.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/__init__.py -> build/lib.linux-i686-2.2/BTrees
copying BTrees/convert.py -> build/lib.linux-i686-2.2/BTrees
creating build/lib.linux-i686-2.2/BTrees/tests
copying BTrees/tests/__init__.py -> build/lib.linux-i686-2.2/BTrees/tests
copying BTrees/tests/testBTrees.py -> build/lib.linux-i686-2.2/BTrees/tests
copying BTrees/tests/testBTreesUnicode.py -> 
build/lib.linux-i686-2.2/BTrees/tests
copying BTrees/tests/testConflict.py -> build/lib.linux-i686-2.2/BTrees/tests
creating build/lib.linux-i686-2.2/ZEO
copying ZEO/ClientCache.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/ClientStorage.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/Invalidator.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/StorageServer.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/__init__.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/asyncwrap.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/fap.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/smac.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/start.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/trigger.py -> build/lib.linux-i686-2.2/ZEO
copying ZEO/zrpc.py -> build/lib.linux-i686-2.2/ZEO
creating build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/Cache.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/__init__.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/forker.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/multi.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/speed.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/stress.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/testZEO.py -> build/lib.linux-i686-2.2/ZEO/tests
copying ZEO/tests/winserver.py -> build/lib.linux-i686-2.2/ZEO/tests
creating build/lib.linux-i686-2.2/ZODB
copying ZODB/BaseStorage.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/ConflictResolution.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/Connection.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/DB.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/DemoStorage.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/ExportImport.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/FileStorage.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/MappingStorage.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/Mount.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/POSException.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/PersistentList.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/PersistentMapping.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/TmpStore.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/Transaction.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/UndoLogCompatible.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/ZApplication.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/__init__.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/bpthread.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/dbmStorage.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/fsIndex.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/fsrecover.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/lock_file.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/referencesf.py -> build/lib.linux-i686-2.2/ZODB
copying ZODB/utils.py -> build/lib.linux-i686-2.2/ZODB
creating build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/BasicStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/ConflictResolution.py -> 
build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/Corruption.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/HistoryStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/IteratorStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/LocalStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/MinPO.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/PackableStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/PersistentStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/RevisionStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/StorageTestBase.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/Synchronization.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/TransactionalUndoStorage.py -> 
build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/TransactionalUndoVersionStorage.py -> 
build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/VersionStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/__init__.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/speed.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testDemoStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testFileStorage.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testMappingStorage.py -> 
build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testPersistentList.py -> 
build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testPersistentMapping.py -> 
build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testTimeStamp.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testTransaction.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testUtils.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testZODB.py -> build/lib.linux-i686-2.2/ZODB/tests
copying ZODB/tests/testfsIndex.py -> build/lib.linux-i686-2.2/ZODB/tests
creating build/lib.linux-i686-2.2/Persistence
copying Persistence/__init__.py -> build/lib.linux-i686-2.2/Persistence
creating build/lib.linux-i686-2.2/ThreadedAsync
copying ThreadedAsync/LoopCallback.py -> 
build/lib.linux-i686-2.2/ThreadedAsync
copying ThreadedAsync/__init__.py -> build/lib.linux-i686-2.2/ThreadedAsync
creating build/lib.linux-i686-2.2/zLOG
copying zLOG/FormatException.py -> build/lib.linux-i686-2.2/zLOG
copying zLOG/MinimalLogger.py -> build/lib.linux-i686-2.2/zLOG
copying zLOG/__init__.py -> build/lib.linux-i686-2.2/zLOG
creating build/lib.linux-i686-2.2/zLOG/tests
copying zLOG/tests/__init__.py -> build/lib.linux-i686-2.2/zLOG/tests
copying zLOG/tests/testzLog.py -> build/lib.linux-i686-2.2/zLOG/tests
creating build/lib.linux-i686-2.2/zdaemon
copying zdaemon/Daemon.py -> build/lib.linux-i686-2.2/zdaemon
copying zdaemon/Heartbeat.py -> build/lib.linux-i686-2.2/zdaemon
copying zdaemon/ZDaemonLogging.py -> build/lib.linux-i686-2.2/zdaemon
copying zdaemon/__init__.py -> build/lib.linux-i686-2.2/zdaemon
running build_ext
Traceback (most recent call last):
  File "setup.py", line 116, in ?
    headers = ['ExtensionClass/src/ExtensionClass.h', 'ZODB/cPersistence.h'],
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/core.py", line 
138, in setup
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/dist.py", line 
893, in run_commands
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/dist.py", line 
913, in run_command
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/command/build.py", 
line 107, in run
  File "/usr/lib/python2.2/cmd.py", line 330, in run_command
    print "\n"
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/dist.py", line 
913, in run_command
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/command/build_ext.py", 
line 231, in run
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/sysconfig.py", 
line 126, in customize_compiler
  File 
"/usr/src/build/87651-i386/install/usr/lib/python2.2/distutils/sysconfig.py", 
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 =======================

-- 
Fred Griffin; 6645 SW 204th Ave, Aloha, OR 97007; (503) 642-4569
fred.griffin@verizon.net