[Python-bugs-list] [ python-Bugs-730467 ] Not detecting AIX_GENUINE_CPLUSPLUS
SourceForge.net
noreply@sourceforge.net
Sun, 04 May 2003 05:33:45 -0700
Bugs item #730467, was opened at 2003-05-01 00:22
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=730467&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Patrick Miller (patmiller)
Assigned to: Nobody/Anonymous (nobody)
Summary: Not detecting AIX_GENUINE_CPLUSPLUS
Initial Comment:
PYthon2.2.2 and Python2.3
AIX
xlC
Need to update the code in configure.in to
remove the hardcoded path for load where
we detect AIX_GENUINE_CPLUSPLUS
The current version looks for
/usr/lpp/xlC/include/load.h
but it should just use <load.h>
Without it, Python uses load() for dynamic load
instead of loadAndInit() in dynload_aix.c
Patch attached
# checks for system dependent C++ extensions support
case "$ac_sys_system" in
AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions
support)
AC_TRY_LINK([#include "<load.h>],
[loadAndInit("", 0, "")],
[AC_DEFINE(AIX_GENUINE_CPLUSPLUS)
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)]);;
*) ;;
esac
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-05-04 14:33
Message:
Logged In: YES
user_id=21627
When you say "update", do you mean that the code was correct
for earlier versions of some software (which versions of
which software?), and is now incorrect? With the proposed
change, will the new code still run on the old versions of
the software?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=730467&group_id=5470