Refer to: http://99blues.dyndns.org/blog/2011/06/install_python_2-5/
after the ./configure open your Makefile and find the line with LDFLAGS = edit to LDFLAGS = -L/usr/lib//x86_64-linux-gnu and make Worked for me in Natty11.04 amd64 On Jul 13, 10:41 am, Ricardo Bánffy <rban...@gmail.com> wrote: > Hi folks. > > Has anyone succeeded in building Python 2.5.6 from sources in Ubuntu > Natty? I installed all the build dependencies and keep getting > > running build_ext > /usr/include/sqlite3.h: version 3.7.4 > Traceback (most recent call last): > File "./setup.py", line 1545, in <module> > main() > File "./setup.py", line 1540, in main > 'Lib/smtpd.py'] > File "/tmp/Python-2.5.6/Lib/distutils/core.py", line 151, in setup > File "/tmp/Python-2.5.6/Lib/distutils/dist.py", line 974, in run_commands > File "/tmp/Python-2.5.6/Lib/distutils/dist.py", line 994, in run_command > File "/tmp/Python-2.5.6/Lib/distutils/command/build.py", line 112, in run > File "/root/Python-2.5.6/Lib/cmd.py", line 333, in run_command > del help[cmd] > File "/tmp/Python-2.5.6/Lib/distutils/dist.py", line 994, in run_command > File "/tmp/Python-2.5.6/Lib/distutils/command/build_ext.py", line 290, in > run > File "./setup.py", line 97, in build_extensions > self.detect_modules() > File "./setup.py", line 810, in detect_modules > sqlite_libdir = [os.path.abspath(os.path.dirname(sqlite_libfile))] > File "/root/Python-2.5.6/Lib/posixpath.py", line 119, in dirname > return split(p)[0] > File "/root/Python-2.5.6/Lib/posixpath.py", line 77, in split > i = p.rfind('/') + 1 > AttributeError: 'NoneType' object has no attribute 'rfind' > make: *** [sharedmods] Error 1 > > when I do "make test" and > > Compiling /opt/python2.5/lib/python2.5/zipfile.py ... > make: *** [libinstall] Error 1 > > when I do "make install" > > Any ideas? > > Is there any "official-ish" advice on how to develop for GAE under > Ubuntu Natty? Has anyone successfully compiled 2.5.6 under Natty? > > -- > Ricardo Bánffyhttp://www.dieblinkenlights.comhttp://twitter.com/rbanffy -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.