[Patches] [ python-Patches-1523356 ] (partial?) fix for Misc/python-config.in

SourceForge.net noreply at sourceforge.net
Sun Jul 16 13:41:04 CEST 2006


Patches item #1523356, was opened at 2006-07-16 07:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1523356&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: None
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: M. Levinson (levinsm)
Assigned to: Nobody/Anonymous (nobody)
Summary: (partial?) fix for Misc/python-config.in

Initial Comment:
I've found that the current output from python-config
isn't quite right for compiling and linking an
application with an embedded interpreter on platforms
that need $(SYSLIBS). The attached patch removes
extraneous directories from the include path and adds
the missing libraries, which was enough to make it
work for me in my limited testing.

But even with these changes, I haven't quite managed
to convince myself that python-config is currently
general enough to work on all platforms. Couldn't
$(LINKFORSHARED) also be required in some cases, for
example? And perhaps there are other missing flags
I haven't thought of.

I feel it's worth double-checking because python-config
strikes me as a potentially convenient tool, but only
if its output is known to be correct: If a broken
version ever became widely installed in the wild then
even if it were to be fixed in some future release,
the authors of other applications would forever after
need to worry about distinguishing between good and
bad versions of python-config before relying on its
output, which would undermine its convenience.
(Also: if/when it is included in a release, a man page
and some mention of it in Doc/ext would be a plus. :-)

I hope this is helpful. Thanks for all your great work!

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

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


More information about the Patches mailing list