utahta/pythonbrew — Issue #51: python 2.6.5 fails to install on Ubuntu 11.10
Author: kuza
Created: 2011-12-02 12:12:19+00:00
State: open

running build
running build_ext
Traceback (most recent call last):
File "./setup.py", line 1942, in
main()
File "./setup.py", line 1937, in main
'Lib/smtpd.py']
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/core.py", li$
dist.run_commands()
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/dist.py", li$
self.run_command(cmd)
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/dist.py", li$
cmd_obj.run()
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/command/buil$
self.run_command(cmd_name)
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/cmd.py", lin$
self.distribution.run_command(command)
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/dist.py", li$
cmd_obj.run()
File "`/.pythonbrew/build/Python-2.6.5/Lib/distutils/command/buil$
self.build_extensions()
File "./setup.py", line 103, in build_extensions
missing = self.detect_modules()
File "./setup.py", line 337, in detect_modules
self.add_multiarch_paths()
File "./setup.py", line 314, in add_multiarch_paths
if not find_executable('dpkg-architecture'):
NameError: global name 'find_executable' is not defined
make: *** [sharedmods] Error 1

I think that the problem is in the patch because the manual installation works