[Python-bugs-list] [Bug #128930] Inconsistent -L, -R options

noreply@sourceforge.net noreply@sourceforge.net
Mon, 15 Jan 2001 14:59:20 -0800


Bug #128930, was updated on 2001-Jan-15 13:35
Here is a current snapshot of the bug.

Project: Python
Category: Distutils
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: akuchling
Assigned to : akuchling
Summary: Inconsistent -L, -R options

Details: Martin von Loewis observes:

python setup.py build_ext -L/tmp -lbla
 
works now for me. Unfortunately, passing -R is still broken;
 
  python setup.py build_ext -L/tmp -R/tmp -lbla

Also, I wonder what the rationale is for supporting -L/tmp:/var/tmp,
while not supporting the Unixish -L/tmp -L/var/tmp.


Follow-Ups:

Date: 2001-Jan-15 14:59
By: bwarsaw

Comment:
I'm not sure how it's broken for you, but when I try to build the pybsddb3
package passing in a -R flag I get the following exception:

% python setup.py build_ext -R/usr/local/BerkeleyDB.3.1 --inplace
running build_ext
building 'bsddb3._db' extension
skipping src/_db.c (build/temp.linux-i686-2.0/src/_db.o up-to-date)
Traceback (most recent call last):
  File "setup.py", line 122, in ?
    data_files = utils,
  File "/usr/local/lib/python2.0/distutils/core.py", line 138, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.0/distutils/dist.py", line 867, in
run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.0/distutils/dist.py", line 887, in
run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.0/distutils/command/build_ext.py", line 225,
in run
    self.build_extensions()
  File "/usr/local/lib/python2.0/distutils/command/build_ext.py", line 441,
in build_extensions
    build_temp=self.build_temp)
  File "/usr/local/lib/python2.0/distutils/ccompiler.py", line 662, in
link_shared_object
    extra_preargs, extra_postargs, build_temp)
  File "/usr/local/lib/python2.0/distutils/unixccompiler.py", line 208, in
link
    (libraries, library_dirs, runtime_library_dirs) = \
  File "/usr/local/lib/python2.0/distutils/ccompiler.py", line 438, in
_fix_lib_args
    runtime_library_dirs = (list (runtime_library_dirs) +
TypeError: can only concatenate list (not "string") to list

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128930&group_id=5470