[Python-bugs-list] [Bug #129661] library-dirs option in setup.cfg crashes distutils
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 22 Jan 2001 02:17:04 -0800
Bug #129661, was updated on 2001-Jan-22 02:16
Here is a current snapshot of the bug.
Project: Python
Category: Distutils
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: larsga
Assigned to : nobody
Summary: library-dirs option in setup.cfg crashes distutils
Details: When I set
library-dirs = /usr/src/own/sp-1.3.4/lib
under [build_ext] in my setup.cfg file, I get a traceback from distutils
that looks like this:
[larsga@localhost pysp]$ python setup.py build
running build
running build_ext
building 'pysp' extension
skipping pyspmodule.cxx (build/temp.linux-i686-2.0/pyspmodule.o
up-to-date)
Traceback (most recent call last):
File "setup.py", line 14, in ?
license = "BSD-like")
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/core.py",
line 138, in setup
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/dist.py",
line 829, in run_commands
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/dist.py",
line 849, in run_command
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/command/build.py",
line 106, in run
File "/usr/local/lib/python2.0/cmd.py", line 328, in run_command
print "\n"
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/dist.py",
line 849, in run_command
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/command/build_ext.py",
line 225, in run
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/command/build_ext.py",
line 441, in build_extensions
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/ccompiler.py",
line 662, in link_shared_object
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/unixccompiler.py",
line 208, in link
File
"/var/tmp/BeOpen-Python-2.0-root/usr/local/lib/python2.0/distutils/ccompiler.py",
line 430, in _fix_lib_args
TypeError: can only concatenate list (not "string") to list
If I remove the option, my extension won't build, because gcc can't find
the needed library.
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129661&group_id=5470