[ python-Bugs-1733518 ] setup.py incorrect for HP

SourceForge.net noreply at sourceforge.net
Fri Jun 8 19:23:47 CEST 2007


Bugs item #1733518, was opened at 2007-06-08 15:58
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1733518&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Brad Hochstetler (bhochste)
Assigned to: Nobody/Anonymous (nobody)
Summary: setup.py incorrect for HP

Initial Comment:
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')


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

>Comment By: Martin v. Löwis (loewis)
Date: 2007-06-08 19:23

Message:
Logged In: YES 
user_id=21627
Originator: NO

This is not a bug. Why do you have any libraries in the current directory
that you want to link with?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1733518&group_id=5470


More information about the Python-bugs-list mailing list