This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vitalyy2000
Recipients
Date 2007-04-24.19:18:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Failed to build new Python 2.5.1 with default config options, except --prefix, from Python-2.5.1.tar.bz2 on x86_64 (GNU/Linux 2.6.18-1.2798.fc6) with preliminary installed sqlite 3.3.6 - see below:

-- BEGIN --
[skipped]
running build
running build_ext
db.h: found (4, 3) in /usr/include
db lib: using (4, 3) db-4.3
sqlite: found /usr/include/sqlite3.h
/usr/include/sqlite3.h: version 3.3.6
Traceback (most recent call last):
  File "./setup.py", line 1525, in <module>
    main()
  File "./setup.py", line 1520, in main
    'Lib/smtpd.py']
  File "/tmp/070421/Python-2.5.1/Lib/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/tmp/070421/Python-2.5.1/Lib/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/tmp/070421/Python-2.5.1/Lib/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/tmp/070421/Python-2.5.1/Lib/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/tmp/070421/Python-2.5.1/Lib/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/tmp/070421/Python-2.5.1/Lib/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/tmp/070421/Python-2.5.1/Lib/distutils/command/build_ext.py", line 290, in run
    self.build_extensions()
  File "./setup.py", line 97, in build_extensions
    self.detect_modules()
  File "./setup.py", line 795, in detect_modules
    sqlite_libdir = [os.path.abspath(os.path.dirname(sqlite_libfile))]
  File "/tmp/070421/Python-2.5.1/Lib/posixpath.py", line 119, in dirname
    return split(p)[0]
  File "/tmp/070421/Python-2.5.1/Lib/posixpath.py", line 77, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
make: *** [sharedmods] Error 1
--- END ---

Workaround: once /usr/include/sqlite3.h was "avoided" (actually just temporarily renamed), the installation was completed successfully.

-+-->
WBR,
Vitaliy Yermolenko.
History
Date User Action Args
2007-08-23 14:53:21adminlinkissue1706863 messages
2007-08-23 14:53:21admincreate