It seems there's a workaround for building python2.6 HERE which supposedly works, but I can't get it to go. I have however made progress. Steps I have taken:
First installed python2.7 dev dependencies, as I understand they are very similar for 2.6
Code:
sudo apt-get build-dep python2.7
configure seemed to go well, make ran but failed with an error.
Code:
Traceback (most recent call last):
File "./setup.py", line 1886, in <module>
main()
File "./setup.py", line 1881, in main
'Lib/smtpd.py']
File "/home/jeremy/src/Python-2.6/Lib/distutils/core.py", line 152, in setup
dist.run_commands()
File "/home/jeremy/src/Python-2.6/Lib/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/home/jeremy/src/Python-2.6/Lib/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/jeremy/src/Python-2.6/Lib/distutils/command/build.py", line 134, in run
self.run_command(cmd_name)
File "/home/jeremy/src/Python-2.6/Lib/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/home/jeremy/src/Python-2.6/Lib/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/jeremy/src/Python-2.6/Lib/distutils/command/build_ext.py", line 343, in run
self.build_extensions()
File "./setup.py", line 103, in build_extensions
missing = self.detect_modules()
File "./setup.py", line 944, in detect_modules
sqlite_libdir = [os.path.abspath(os.path.dirname(sqlite_libfile))]
File "/home/jeremy/src/Python-2.6/Lib/posixpath.py", line 119, in dirname
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
make: *** [sharedmods] Error 1
Any thoughts?
Bookmarks