New submission from David Edelsohn: AIX requires helper scripts to build Python shared extension modules. The definitions and Makefile installation rules have bitrotted.
Makefile.pre.in: @if [ -s Programs/python.exp -a \ except python.exp is created in Modules/python.exp, not Programs.exp $(INSTALL_DATA) Programs/python.exp \ $(DESTDIR)$(LIBPL)/python.exp; Post-substitution Makefile.pre: BINLIBDEST= $(LIBDIR)/python$(VERSION) LIBDEST= $(SCRIPTDIR)/python$(VERSION) LIBPL= $(LIBDEST)/config-$(LDVERSION) configure.ac: AIX*) BLDSHARED="\$(srcdir)/Modules/ld_so_aix \$(CC) -bI:\$(srcdir)/Modules/python.exp" LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp" which is forever enshrined in _sysconfigdata.py In other words, configure sets LDSHARED to $(BINLIBDEST)/config, which does not exist in current installations. And Makefile installs the files in LIBPL, which is based on LIBDEST (prefix and exec_prefix could be different). And the files are not installed, because the installation tests Programs/python.exp instead of Modules/python.exp. Changing Makefile.pre.in to test Modules/python.exp is easy enough as a partial fix. What is the preferred location to install the files so that configure.ac and Makefile.pre.in can be adjusted to match each other? ---------- components: Installation messages: 256123 nosy: David.Edelsohn priority: normal severity: normal status: open title: AIX shared library extension modules installation broken type: behavior versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25825> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com