New submission from Orlando Irrazabal <oirr...@mendoza.gov.ar>: Build of Python 2.6.5 on AIX 5.3 fails with the below error message.
The configure line is: ./configure [...] building '_multiprocessing' extension cc_r -qlanglvl=extc89 -DNDEBUG -O -DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_TIMEDWAIT=1 -IModules/_multiprocessing -I. -I/sw_install/python-2.6.5/./Include -I. -IInclude -I./Include -I/usr/local/include -I/sw_install/python-2.6.5/Include -I/sw_install/python-2.6.5 -c /sw_install/python-2.6.5/Modules/_multiprocessing/multiprocessing.c -o build/temp.aix-5.3-2.6/sw_install/python-2.6.5/Modules/_multiprocessing/multiprocessing.o cc_r -qlanglvl=extc89 -DNDEBUG -O -DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_TIMEDWAIT=1 -IModules/_multiprocessing -I. -I/sw_install/python-2.6.5/./Include -I. -IInclude -I./Include -I/usr/local/include -I/sw_install/python-2.6.5/Include -I/sw_install/python-2.6.5 -c /sw_install/python-2.6.5/Modules/_multiprocessing/socket_connection.c -o build/temp.aix-5.3-2.6/sw_install/python-2.6.5/Modules/_multiprocessing/socket_connection.o cc_r -qlanglvl=extc89 -DNDEBUG -O -DHAVE_SEM_OPEN=1 -DHAVE_FD_TRANSFER=1 -DHAVE_SEM_TIMEDWAIT=1 -IModules/_multiprocessing -I. -I/sw_install/python-2.6.5/./Include -I. -IInclude -I./Include -I/usr/local/include -I/sw_install/python-2.6.5/Include -I/sw_install/python-2.6.5 -c /sw_install/python-2.6.5/Modules/_multiprocessing/semaphore.c -o build/temp.aix-5.3-2.6/sw_install/python-2.6.5/Modules/_multiprocessing/semaphore.o ./Modules/ld_so_aix cc_r -qlanglvl=extc89 -bI:Modules/python.exp build/temp.aix-5.3-2.6/sw_install/python-2.6.5/Modules/_multiprocessing/multiprocessing.o build/temp.aix-5./multim3-2.6/sw_install/python-2.6.5/Modules/_multiprocessing/socket_connection.o build/temp.aix-5.3-2.6/sw_install/python-2.6.5/Modules/_multiprocessing/semaphore.o -L/usr/local/lib -o build/lib.aix-5.3-2.6/_multiprocessing.so checking build system type... powerpc-ibm-aix5.3.0.0 checking host system type... powerpc-ibm-aix5.3.0.0 checking target system type... powerpc-ibm-aix5.3.0.0 checking for a BSD-compatible install... /sw_install/python-2.6.5/Modules/_ctypes/libffi/install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /sw_install/python-2.6.5/Modules/_ctypes/libffi/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for gcc... cc_r -qlanglvl=extc89 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether cc_r -qlanglvl=extc89 accepts -g... yes checking for cc_r -qlanglvl=extc89 option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc_r -qlanglvl=extc89... none checking dependency style of cc_r -qlanglvl=extc89... none checking whether cc_r -qlanglvl=extc89 and cc understand -c and -o together... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for non-GNU ld... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... cc_r -qlanglvl=extc89 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... xlC_r checking whether we are using the GNU C++ compiler... no checking whether xlC_r accepts -g... yes checking dependency style of xlC_r... none checking how to run the C++ preprocessor... xlC_r -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 18432 checking command to parse /usr/bin/nm -B output from cc_r -qlanglvl=extc89 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for cc_r -qlanglvl=extc89 option to produce PIC... checking if cc_r -qlanglvl=extc89 static flag -bnso -bI:/lib/syscalls.exp works... no checking if cc_r -qlanglvl=extc89 supports -c -o file.o... yes checking whether the cc_r -qlanglvl=extc89 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... aix5.3.0.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether to enable maintainer-specific portions of Makefiles... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for ANSI C header files... (cached) yes checking for memcpy... yes checking for working alloca.h... yes checking for alloca... yes checking for double... yes checking size of double... 8 checking for long double... yes checking size of long double... 8 checking whether byte ordering is bigendian... yes checking assembler .cfi pseudo-op support... no checking whether .eh_frame section should be read-only... no checking for __attribute__((visibility("hidden")))... no cc_r: 1501-210 command option t contains an incorrect subargument configure: creating ./config.status config.status: creating include/ffi.h sed: Command line is too long. config.status: creating fficonfig.py sed: Command line is too long. config.status: creating fficonfig.h config.status: linking /sw_install/python-2.6.5/Modules/_ctypes/libffi/src/powerpc/ffitarget.h to include/ffitarget.h config.status: linking /sw_install/python-2.6.5/Modules/_ctypes/libffi/include/ffi_common.h to include/ffi_common.h config.status: executing depfiles commands config.status: executing include commands config.status: executing src commands Traceback (most recent call last): File "./setup.py", line 1919, in <module> main() File "./setup.py", line 1914, in main 'Lib/smtpd.py'] File "/sw_install/python-2.6.5/Lib/distutils/core.py", line 152, in setup dist.run_commands() File "/sw_install/python-2.6.5/Lib/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/sw_install/python-2.6.5/Lib/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/sw_install/python-2.6.5/Lib/distutils/command/build.py", line 134, in run self.run_command(cmd_name) File "/sw_install/python-2.6.5/Lib/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/sw_install/python-2.6.5/Lib/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/sw_install/python-2.6.5/Lib/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "./setup.py", line 201, in build_extensions build_ext.build_extensions(self) File "/sw_install/python-2.6.5/Lib/distutils/command/build_ext.py", line 449, in build_extensions self.build_extension(ext) File "./setup.py", line 234, in build_extension if not self.configure_ctypes(ext): File "./setup.py", line 1730, in configure_ctypes extra_compile_args = fficonfig['ffi_cflags'].split() KeyError: 'ffi_cflags' make: 1254-004 The error code from the last command is 1. Stop. Thanks. Orlando ---------- components: Build messages: 106011 nosy: oirraza priority: normal severity: normal status: open title: Python 2.6.5 fails to build on AIX 5.3 type: compile error versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8760> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com