[Python-bugs-list] [ python-Bugs-771479 ] pyconfig.h duplicates common defines
SourceForge.net
noreply@sourceforge.net
Tue, 15 Jul 2003 11:54:30 -0700
Bugs item #771479, was opened at 2003-07-15 05:23
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=771479&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michiel Uitdehaag (michielu)
Assigned to: Nobody/Anonymous (nobody)
Summary: pyconfig.h duplicates common defines
Initial Comment:
When combining the Python library with other packages,
or with your own 'configure'-d package, warnings like:
/home/michielu/pybuild/config.h:402: warning:
`PACKAGE_VERSION' redefined
/usr/include/python2.3/pyconfig.h:663: warning: this is
the location of the previous definition
The same goes for stuff like PACKAGE_STRING,
PACKAGE_TARNAME and PACKAGE_NAME.
It is likely that more defines like HAVE_FORK, etc, can
be duplicated.
Such configuration values should not be installed
'as-is' from the ./configure output. Instead, it is
suggested the installation preprocesses a header
configuration file and uses and installs that.
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-07-15 14:54
Message:
Logged In: YES
user_id=33168
Michiel can you try the version in CVS? I believe many of
the PACKAGE_* macros have been removed. I don't know if
this is a problem any longer.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=771479&group_id=5470