utahta/pythonbrew — Issue #53: doesn't install any python on ubuntu ( running on amazon aws)
Author: suvash
Created: 2011-12-27 23:35:16+00:00
State: open

Trying to install any of the pythons on ubuntu ( running on an amazon aws with canonical ubuntu images ) fails

or rather, gets stuck as mentioned below

pythonbrew install --verbose 2.7.2

Use the previously fetched /home/ubuntu/.pythonbrew/dists/Python-2.7.2.tgz
Extracting Python-2.7.2.tgz into /home/ubuntu/.pythonbrew/build/Python-2.7.2

This could take a while. You can run the following command on another shell to track the status:
tail -f /home/ubuntu/.pythonbrew/log/build.log

Installing Python-2.7.2 into /home/ubuntu/.pythonbrew/pythons/Python-2.7.2
./configure --prefix=/home/ubuntu/.pythonbrew/pythons/Python-2.7.2
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux3
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for --with-cxx-main=... no
checking for g++... g++
configure: WARNING:

By default, distutils will build C++ extension modules with "g++".
If this is not intended, then set CXX on the configure command line.

checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(MAINCC)
checking for GNU ld... yes
checking for --enable-shared... no
checking for --enable-profiling...
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar
checking for svnversion... not-found
checking for hg... not-found
checking for a BSD-compatible install... /usr/bin/install -c
checking for --with-pydebug... no
checking whether gcc accepts -fno-strict-aliasing... yes
checking whether gcc accepts -OPT:Olimit=0... no
checking whether gcc accepts -Olimit 1500... no
checking whether gcc supports ParseTuple __format__... no
checking whether pthreads are available without options... no
checking whether gcc accepts -Kpthread... no
checking whether gcc accepts -Kthread... no

and it never proceeds further.