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

SourceForge.net noreply at sourceforge.net
Fri Jun 8 21:02:55 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: Closed
>Resolution: Wont Fix
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 21:02

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

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.

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

Comment By: Brad Hochstetler (bhochste)
Date: 2007-06-08 19:49

Message:
Logged In: YES 
user_id=1812047
Originator: YES

sorry, this was due to a bad zlib that was occuring.

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

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