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ánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy
I borked my own Natty once trying to shoehorn 2.5 on it and wasn't
very happy with the idea of risking it again.
BTW, the build issue should be solved. It's not like the latest Ubuntu
release and Google's App Engine are obscure things. If someone from
python-devel happens to read this list, I'd be more than happy to help
if someone could point me the way.
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/4ZhIn1LOfpoJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
Thanks a lot for sharing and maintaining this repository.
Feel free to advertise to the group when you are uploading new
packages versions. I'm sure Ubuntu users will appreciate this.
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/4ZhIn1LOfpoJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations