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.

classification
Title: setup.py incorrect for HP
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: bhochste, loewis
Priority: normal Keywords:

Created on 2007-06-08 13:58 by bhochste, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg32268 - (view) Author: Brad Hochstetler (bhochste) Date: 2007-06-08 13:58
When building shared objects on HP, HP does not detect the shared object on link in the current directory unless it is told to. To fix this issue in setup.py the follow line needs to be added to the "def detect_modules() method:

        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')

to 

        add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
        add_dir_to_list(self.compiler.library_dirs, './')
        add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
msg32269 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-06-08 17:23
This is not a bug. Why do you have any libraries in the current directory that you want to link with?
msg32270 - (view) Author: Brad Hochstetler (bhochste) Date: 2007-06-08 17:49
sorry, this was due to a bad zlib that was occuring.
msg32271 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-06-08 19:02
Ok. If you have non-standard build requirements, you are expected to adjust the build yourself. In general, editing Modules/Setup is the procedure you should use, rather than editing setup.py.

Closing the report as wont-fix.
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 45062
2007-06-08 13:58:40bhochstecreate