Absolute path library names
I'm using Distutils-0.9 on Linux with a setup file similar to setup (... Extension('name', libraries=['pgs', 'ppc', '/usr/X11R6/lib/X11') ) And I'm getting the traceback File "distutils/core.py", line 112, in setup File "distutils/dist.py", line 776, in run_commands File "distutils/dist.py", line 797, in run_command File "distutils/command/build.py", line 117, in run File "/home/taylor/local-linux/lib/python1.5/cmd.py", line 310, in run_command File "distutils/dist.py", line 797, in run_command File "/home/taylor/python/Distutils-0.9/distutils/command/build_ext.py", line 224, in run self.build_extensions () File "/home/taylor/python/Distutils-0.9/distutils/command/build_ext.py", line 435, in build_extensions build_temp=self.build_temp) File "/home/taylor/python/Distutils-0.9/distutils/unixccompiler.py", line 239, in link_shared_object libraries) File "/home/taylor/python/Distutils-0.9/distutils/ccompiler.py", line 959, in gen_lib_options lib_file = compiler.find_library_file ([lib_dir], lib_name) File "/home/taylor/python/Distutils-0.9/distutils/unixccompiler.py", line 324, in find_library_file shared = os.path.join (dir, self.shared_library_filename (lib)) AttributeError: shared_library_filename grepping thru the source I only find references to shared_library_filename in unixccompiler.py in the method find_library_file which is only called when a path component for a library is supplied. Lee Taylor
participants (1)
-
Lee Taylor