I'm trying to compile my first python program (rdiff-backup). I seem to be missing the python config dir. How do I create that? (This is on a SuSE 8.0 server) == # python setup.py build running build running build_py not copying rdiff_backup/backup.py (output up-to-date) not copying rdiff_backup/connection.py (output up-to-date) not copying rdiff_backup/FilenameMapping.py (output up-to-date) not copying rdiff_backup/Hardlink.py (output up-to-date) not copying rdiff_backup/increment.py (output up-to-date) not copying rdiff_backup/__init__.py (output up-to-date) not copying rdiff_backup/iterfile.py (output up-to-date) not copying rdiff_backup/lazy.py (output up-to-date) not copying rdiff_backup/librsync.py (output up-to-date) not copying rdiff_backup/log.py (output up-to-date) not copying rdiff_backup/Main.py (output up-to-date) not copying rdiff_backup/manage.py (output up-to-date) not copying rdiff_backup/metadata.py (output up-to-date) not copying rdiff_backup/Rdiff.py (output up-to-date) not copying rdiff_backup/restore.py (output up-to-date) not copying rdiff_backup/robust.py (output up-to-date) not copying rdiff_backup/rorpiter.py (output up-to-date) not copying rdiff_backup/rpath.py (output up-to-date) not copying rdiff_backup/Security.py (output up-to-date) not copying rdiff_backup/selection.py (output up-to-date) not copying rdiff_backup/SetConnections.py (output up-to-date) not copying rdiff_backup/static.py (output up-to-date) not copying rdiff_backup/statistics.py (output up-to-date) not copying rdiff_backup/TempFile.py (output up-to-date) not copying rdiff_backup/Time.py (output up-to-date) not copying rdiff_backup/Globals.py (output up-to-date) running build_ext Traceback (most recent call last): File "setup.py", line 24, in ? data_files = [('share/man/man1', ['rdiff-backup.1']), File "/usr/lib/python2.2/distutils/core.py", line 138, in setup dist.run_commands() File "/usr/lib/python2.2/distutils/dist.py", line 893, in run_commands self.run_command(cmd) File "/usr/lib/python2.2/distutils/dist.py", line 913, in run_command cmd_obj.run() File "/usr/lib/python2.2/distutils/command/build.py", line 107, in run self.run_command(cmd_name) File "/usr/lib/python2.2/distutils/cmd.py", line 330, in run_command self.distribution.run_command(command) File "/usr/lib/python2.2/distutils/dist.py", line 913, in run_command cmd_obj.run() File "/usr/lib/python2.2/distutils/command/build_ext.py", line 231, in run customize_compiler(self.compiler) File "/usr/lib/python2.2/distutils/sysconfig.py", line 126, in customize_compiler (cc, opt, ccshared, ldshared, so_ext) = \ File "/usr/lib/python2.2/distutils/sysconfig.py", line 408, in get_config_vars func() File "/usr/lib/python2.2/distutils/sysconfig.py", line 313, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory) === Greg -- Gre Freemyer
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 28 February 2003 04:30 pm, Greg Freemyer wrote:
I'm trying to compile my first python program (rdiff-backup).
I seem to be missing the python config dir.
How do I create that?
(This is on a SuSE 8.0 server) == # python setup.py build
...snip...
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory)
You need to install the python-devel package. Hope that helps, - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+X87t+FOexA3koIgRAiIVAKCwlLhejdBVR96Mu7IqU6RMU8HMgQCfSg2+ cIQepRENs1Nd7W0xaIfFtEw= =97KU -----END PGP SIGNATURE-----
participants (2)
-
Greg Freemyer
-
James Oakley