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?

-- 
Ricardo Bánffy
http://www.dieblinkenlights.com
http://twitter.com/rbanffy
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to