'os' mudule has no attribute 'waitpid' Error during make install

Jean-Pierre Schwickerath schwicke at rbg.informatik.tu-darmstadt.de
Mon Apr 23 11:43:24 EDT 2001


Hello, 


I'm trying to install Python 2.1 on a LinuxFrom Scratch System, kernel
2.4.3, glibc 2.2.2 with linuxthreads, gcc 2.95.3
The compilation went all well but when I do make install I get the following
error message. The libs are installed correctly, the /usr/bin/python2.1 is
also there but no configs (config/Setup) and so on. In 3 words, the
installation goes not until the end. Can anyone help me to solve this problem?

Thanks Jean-Pierre


PYTHONPATH= ./python ./setup.py build
running build
running build_ext
skipping 'regex' extension (up-to-date)
building 'pcre' extension
skipping /tmp/Python-2.1/Modules/pcremodule.c
(build/temp.linux2-2.1/pcremodule.o up-to-date)
gcc -O2 -Wall -Wstrict-prototypes -fPIC -I.
-I/tmp/Python-2.1/./Include -I/usr/local/include -IInclude/ -c
/tmp/Python-2.1/Modules/pypcre.c -o build/temp.linux2-2.1/pypcre.o -O3
-march=k6 -mcpu=k6 -Wall -Wstrict-prototypes -I. -I./Include -I/usr/include
-I/usr/X11/include -I/usr/local/include -DHAVE_CONFIG_H
Traceback (most recent call last):
  File "./setup.py", line 616, in ?
      main()
        File "./setup.py", line 610, in main
	    scripts = ['Tools/scripts/pydoc']
	      File "/tmp/Python-2.1/Lib/distutils/core.py", line 138, in setup
	          dist.run_commands()
		    File "/tmp/Python-2.1/Lib/distutils/dist.py", line 899,
in run_commands
    self.run_command(cmd)
      File "/tmp/Python-2.1/Lib/distutils/dist.py", line 919, in run_command
          cmd_obj.run()
	    File "/tmp/Python-2.1/Lib/distutils/command/build.py", line 106,
in run
    self.run_command(cmd_name)
      File "/tmp/Python-2.1/Lib/distutils/cmd.py", line 328, in run_command
          self.distribution.run_command(command)
	    File "/tmp/Python-2.1/Lib/distutils/dist.py", line 919, in run_command
	        cmd_obj.run()
		  File "/tmp/Python-2.1/Lib/distutils/command/build_ext.py",
line 256, in run
    self.build_extensions()
      File "./setup.py", line 126, in build_extensions
          build_ext.build_extensions(self)
	    File "/tmp/Python-2.1/Lib/distutils/command/build_ext.py", line
383, in build_extensions
    self.build_extension(ext)
      File "./setup.py", line 131, in build_extension
          build_ext.build_extension(self, ext)
	    File "/tmp/Python-2.1/Lib/distutils/command/build_ext.py", line
457, in build_extension
    extra_postargs=extra_args)
      File "/tmp/Python-2.1/Lib/distutils/unixccompiler.py", line 148, in
compile
    self.spawn(self.compiler_so + cc_args +
      File "/tmp/Python-2.1/Lib/distutils/ccompiler.py", line 826, in spawn
          spawn (cmd, verbose=self.verbose, dry_run=self.dry_run)
	    File "/tmp/Python-2.1/Lib/distutils/spawn.py", line 38, in spawn
	        _spawn_posix(cmd, search_path, verbose, dry_run)
		  File "/tmp/Python-2.1/Lib/distutils/spawn.py", line 122, in _spawn_posix
		      (pid, status) = os.waitpid(pid, 0)
		      AttributeError: 'os' module has no attribute 'waitpid'
		      make: *** [sharedmods] Fehler 1
		      root at office:/tmp/Python-2.1 #
		      


Jean-Pierre Schwickerath - Powered by GNU/LinuX!
E-Mail: email at schwicky.net - http://schwicky.net
PGP Key ID: 0x48C39212 - AIM: Schwicky - ICQ's UIN: 4690141

Nothing's impossible... Everything is relative!




More information about the Python-list mailing list