How to install Python 2.7.9 from source

Python does not come as installable binaries for Linux though there is an installer for Windows. Let us see how we can compile the source file to install Python on a Linux machine.

Cassandra CQLSH does not run on Python version later than 2.7.9

Download Python 2.7.9

Download Python 2.7.9 from here and choose the option Gzipped source tarball as seen below

ROOT user

Ensure that you are logged in as root user before installing Python

[root@orcl1 ~]# id
uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
Extract the tarball
tar xvf Python-2.7.9.tgz

This will create a directory Python-2.7.9

Edit Setup.dist

To enable ssl and zlib, go to directory Python-2.7.9/Modules, open the file Setup.dist and uncomment the following two sections (line numbers are displayed for quick access). ssl and zlib are useful if you are running Apache Cassandra

   219  _ssl _ssl.c \
   220          -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
   221          -L$(SSL)/lib -lssl -lcrypto
   467  zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
CONFIGURE, MAKE and MAKE INSTALL

To configure and install python, configure, make and make install has to be run in the same sequence. First, change to directory Python-2.7.9 as seen below and run configure.

[root@orcl2 Packages]# cd /home/bigdata/Python-2.7.9
[root@orcl2 Python-2.7.9]# ./configure --prefix=/usr/local --enable-shared

Here is the complete list of output from the above command. This output is included here only for reference and can vary from yours.

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR...
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++... no
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... yes
checking for --enable-profiling... no
checking LDLIBRARY... libpython$(VERSION).so
checking for ranlib... ranlib
checking for ar... ar
checking for svnversion... found
checking for hg... not-found
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
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
checking whether gcc accepts -pthread... yes
checking whether g++ also accepts flags for thread support... yes
checking for ANSI C header files... (cached) yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/stat.h... (cached) yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
checking linux/tipc.h usability... yes
checking linux/tipc.h presence... yes
checking for linux/tipc.h... yes
checking spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking for linux/netlink.h... yes
checking for clock_t in time.h... yes
checking for makedev... yes
checking Solaris LFS bug... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int64_t... yes
checking for ssize_t... yes
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of fpos_t... 16
checking size of size_t... 8
checking size of pid_t... 4
checking for long long support... yes
checking size of long long... 8
checking for long double support... yes
checking size of long double... 16
checking for _Bool support... yes
checking size of _Bool... 1
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking SO... .so
checking LDSHARED... $(CC) -shared
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Xlinker -export-dynamic
checking CFLAGSFORSHARED... $(CCSHARED)
checking SHLIBS... $(LIBS)
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for library containing sem_init... -lpthread
checking for textdomain in -lintl... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for pkg-config... /usr/bin/pkg-config
checking for --with-system-expat... no
checking for --with-system-ffi... no
checking for --with-tcltk-includes... default
checking for --with-tcltk-libs... default
checking for --with-dbmliborder...
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking if PTHREAD_SCOPE_SYSTEM is supported... yes
checking for pthread_sigmask... yes
checking for pthread_atfork... yes
checking if --enable-ipv6 is specified... yes
checking if RFC2553 API is available... yes
checking ipv6 stack type... linux-glibc
checking for OSX 10.5 SDK or later... no
checking for --with-doc-strings... yes
checking for --with-tsc... no
checking for --with-pymalloc... yes
checking for --with-valgrind... no
checking for --with-wctype-functions... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... yes
checking for setitimer... yes
checking for getitimer... yes
checking for bind_textdomain_codeset... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for execv... yes
checking for fchmod... yes
checking for fchown... yes
checking for fork... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for gai_strerror... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getloadavg... yes
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getpriority... yes
checking for getresuid... yes
checking for getresgid... yes
checking for getpwent... yes
checking for getspnam... yes
checking for getspent... yes
checking for getsid... yes
checking for getwd... yes
checking for initgroups... yes
checking for kill... yes
checking for killpg... yes
checking for lchmod... no
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mmap... yes
checking for mremap... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... no
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for sem_open... yes
checking for sem_timedwait... yes
checking for sem_getvalue... yes
checking for sem_unlink... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setuid... yes
checking for setvbuf... yes
checking for snprintf... yes
checking for setlocale... (cached) yes
checking for setregid... (cached) yes
checking for setreuid... (cached) yes
checking for setresuid... yes
checking for setresgid... yes
checking for setsid... (cached) yes
checking for setpgid... (cached) yes
checking for setpgrp... (cached) yes
checking for setuid... (cached) yes
checking for setvbuf... (cached) yes
checking for snprintf... (cached) yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... yes
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for uname... yes
checking for unsetenv... yes
checking for utimes... yes
checking for waitpid... yes
checking for wait3... yes
checking for wait4... yes
checking for wcscoll... yes
checking for _getpty... no
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for epoll... yes
checking for kqueue... no
checking for ctermid_r... no
checking for flock declaration... yes
checking for flock... yes
checking for getpagesize... yes
checking for broken unsetenv... no
checking for true... true
checking for inet_aton in -lc... yes
checking for chflags... no
checking for lchflags... no
checking for inflateCopy in -lz... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for setgroups... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for forkpty... yes
checking for memmove... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for gettimeofday... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... no
checking for getnameinfo... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for struct stat.st_gen... no
checking for struct stat.st_birthtime... no
checking for struct stat.st_blocks... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... no
checking whether va_list is an array... yes
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... yes
checking for __fpu_control... yes
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking whether C doubles are little-endian IEEE 754 binary64... yes
checking whether C doubles are big-endian IEEE 754 binary64... no
checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no
checking whether we can use gcc inline assembler to get and set x87 control word... yes
checking for x87-style double rounding... no
checking whether tanh preserves the sign of zero... yes
checking for acosh... yes
checking for asinh... yes
checking for atanh... yes
checking for copysign... yes
checking for erf... yes
checking for erfc... yes
checking for expm1... yes
checking for finite... yes
checking for gamma... yes
checking for hypot... yes
checking for lgamma... yes
checking for log1p... yes
checking for round... yes
checking for tgamma... yes
checking whether isinf is declared... yes
checking whether isnan is declared... yes
checking whether isfinite is declared... yes
checking whether POSIX semaphores are enabled... yes
checking for broken sem_getvalue... no
checking digit size for Python's longs... no value specified
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking size of wchar_t... 4
checking for UCS-4 tcl... no
checking whether wchar_t is signed... yes
checking what type to use for unicode... unsigned short
checking whether byte ordering is bigendian... no
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking how to link readline libs... none
checking for rl_callback_handler_install in -lreadline... no
checking for rl_pre_input_hook in -lreadline... no
checking for rl_completion_display_matches_hook in -lreadline... no
checking for rl_completion_matches in -lreadline... no
checking for broken nice()... no
checking for broken poll()... no
checking for struct tm.tm_zone... (cached) yes
checking for working tzset()... yes
checking for tv_nsec in struct stat... yes
checking for tv_nsec2 in struct stat... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking for term.h... no
checking whether mvwdelch is an expression... no
checking whether WINDOW has _flags... no
checking for is_term_resized... no
checking for resize_term... no
checking for resizeterm... no
configure: checking for device files
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for %lld and %llu printf() format support... yes
checking for %zd printf() format support... yes
checking for socklen_t... yes
checking for build directories... done
checking for ensurepip... no
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating Misc/python.pc
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
[root@orcl2 Python-2.7.9]#

After completing ./configure successfully, run make and make install, the this sequence

make

Output of make commands is below

[root@orcl2 Python-2.7.9]# make
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/bufferobject.o Objects/bufferobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/bytes_methods.o Objects/bytes_methods.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/capsule.o Objects/capsule.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/cobject.o Objects/cobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/exceptions.o Objects/exceptions.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
Objects/fileobject.c: In function ‘file_write’:
Objects/fileobject.c:1807: warning: ‘err’ may be used uninitialized in this function
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/intobject.o Objects/intobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/memoryobject.o Objects/memoryobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/object.o Objects/object.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c
make Parser/pgen
make[1]: Entering directory `/home/bigdata/Python-2.7.9'
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pyctype.o Python/pyctype.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Parser/pgenmain.o Parser/pgenmain.c
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lutil -o Parser/pgen
make[1]: Leaving directory `/home/bigdata/Python-2.7.9'
Parser/pgen ./Grammar/Grammar Include/graminit.h Python/graminit.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/ast.o Python/ast.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/compile.o Python/compile.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/errors.o Python/errors.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/frozenmain.o Python/frozenmain.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/future.o Python/future.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/getargs.o Python/getargs.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/getcompiler.o Python/getcompiler.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/getcopyright.o Python/getcopyright.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -DPLATFORM='"linux2"' -o Python/getplatform.o ./Python/getplatform.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/getversion.o Python/getversion.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/graminit.o Python/graminit.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/import.o Python/import.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -I. -o Python/importdl.o ./Python/importdl.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/marshal.o Python/marshal.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/modsupport.o Python/modsupport.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/mystrtoul.o Python/mystrtoul.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/peephole.o Python/peephole.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pyarena.o Python/pyarena.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pyfpe.o Python/pyfpe.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pymath.o Python/pymath.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pystate.o Python/pystate.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/random.o Python/random.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/sysmodule.o Python/sysmodule.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pystrcmp.o Python/pystrcmp.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/pystrtod.o Python/pystrtod.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/dtoa.o Python/dtoa.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/formatter_unicode.o Python/formatter_unicode.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/formatter_string.o Python/formatter_string.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/dynload_shlib.o Python/dynload_shlib.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Python/thread.o Python/thread.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Modules/config.o Modules/config.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux2:lib-tk:lib-old"' \
                -DPREFIX='"/usr/local"' \
                -DEXEC_PREFIX='"/usr/local"' \
                -DVERSION='"2.7"' \
                -DVPATH='""' \
                -o Modules/getpath.o ./Modules/getpath.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Modules/main.o Modules/main.c
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/threadmodule.c -o Modules/threadmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/signalmodule.c -o Modules/signalmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/errnomodule.c -o Modules/errnomodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/_sre.c -o Modules/_sre.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/_weakref.c -o Modules/_weakref.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/zipimport.c -o Modules/zipimport.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -DUSE_SSL -I/include -I/include/openssl -c ./Modules/_ssl.c -o Modules/_ssl.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -I/usr/local/include -c ./Modules/zlibmodule.c -o Modules/zlibmodule.o
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE  -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o
gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include  -fPIC -DPy_BUILD_CORE \
              -DSVNVERSION="\"`LC_ALL=C svnversion .`\"" \
              -DHGVERSION="\"`LC_ALL=C `\"" \
              -DHGTAG="\"`LC_ALL=C `\"" \
              -DHGBRANCH="\"`LC_ALL=C `\"" \
              -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
rm -f libpython2.7.a
ar rc libpython2.7.a Modules/getbuildinfo.o
ar rc libpython2.7.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o
ar rc libpython2.7.a Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o
ar rc libpython2.7.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o   Python/thread.o
ar rc libpython2.7.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o
ar rc libpython2.7.a Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/_ssl.o  Modules/zlibmodule.o  Modules/xxsubtype.o
ranlib libpython2.7.a
if test libpython2.7.so.1.0 != libpython2.7.so; then \
                gcc -pthread -shared  -Wl,-hlibpython2.7.so.1.0 -o libpython2.7.so.1.0 Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o   Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o  Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/_ssl.o  Modules/zlibmodule.o  Modules/xxsubtype.o -L/lib -lssl -lcrypto  -L/usr/local/lib -lz   -lpthread -ldl  -lutil  -lm ; \
                ln -f libpython2.7.so.1.0 libpython2.7.so; \
        else \
                gcc -pthread -shared  -o libpython2.7.so Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o Objects/abstract.o Objects/boolobject.o Objects/bufferobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/capsule.o Objects/cellobject.o Objects/classobject.o Objects/cobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/intobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/formatter_string.o Python/dynload_shlib.o   Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o  Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/zipimport.o  Modules/symtablemodule.o  Modules/_ssl.o  Modules/zlibmodule.o  Modules/xxsubtype.o -L/lib -lssl -lcrypto  -L/usr/local/lib -lz   -lpthread -ldl  -lutil  -lm ; \
        fi
gcc -pthread  -Xlinker -export-dynamic -o python \
                        Modules/python.o \
                        -L. -lpython2.7 -lpthread -ldl  -lutil -L/lib -lssl -lcrypto  -L/usr/local/lib -lz   -lm
LD_LIBRARY_PATH=/home/bigdata/Python-2.7.9 ./python -E -S -m sysconfig --generate-posix-vars ;\
        if test $? -ne 0 ; then \
                echo "generate-posix-vars failed" ; \
                rm -f ./pybuilddir.txt ; \
                exit 1 ; \
        fi
running build
running build_ext
building dbm using gdbm
INFO: Can't locate Tcl/Tk libs and/or headers
building '_struct' extension
creating build/temp.linux-x86_64-2.7/home
creating build/temp.linux-x86_64-2.7/home/bigdata
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_struct.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_struct.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_struct.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_struct.so
building '_ctypes_test' extension
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/_ctypes_test.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/_ctypes_test.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/_ctypes_test.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_ctypes_test.so
building 'array' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/arraymodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/arraymodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/arraymodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/array.so
building 'cmath' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cmathmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cmathmodule.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_math.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_math.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cmathmodule.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_math.o -L/usr/local/lib -L. -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/cmath.so
building 'math' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/mathmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/mathmodule.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_math.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_math.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/mathmodule.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_math.o -L/usr/local/lib -L. -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/math.so
building 'strop' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/stropmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/stropmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/stropmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/strop.so
building 'time' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/timemodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/timemodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/timemodule.o -L/usr/local/lib -L. -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/time.so
building 'datetime' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/datetimemodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/datetimemodule.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/timemodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/timemodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/datetimemodule.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/timemodule.o -L/usr/local/lib -L. -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/datetime.so
building 'itertools' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/itertoolsmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/itertoolsmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/itertoolsmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/itertools.so
building 'future_builtins' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/future_builtins.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/future_builtins.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/future_builtins.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/future_builtins.so
building '_random' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_randommodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_randommodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_randommodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_random.so
building '_collections' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_collectionsmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_collectionsmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_collectionsmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_collections.so
building '_bisect' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_bisectmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_bisectmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_bisectmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_bisect.so
building '_heapq' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_heapqmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_heapqmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_heapqmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_heapq.so
building 'operator' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/operator.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/operator.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/operator.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/operator.so
building '_io' extension
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/bufferedio.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/bufferedio.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/bytesio.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/bytesio.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/fileio.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/fileio.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/iobase.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/iobase.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/_iomodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/_iomodule.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/stringio.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/stringio.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_io -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_io/textio.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/textio.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/bufferedio.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/bytesio.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/fileio.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/iobase.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/_iomodule.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/stringio.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_io/textio.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_io.so
building '_functools' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_functoolsmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_functoolsmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_functoolsmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_functools.so
building '_json' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_json.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_json.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_json.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_json.so
building '_testcapi' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_testcapimodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_testcapimodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_testcapimodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_testcapi.so
building '_hotshot' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_hotshot.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_hotshot.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_hotshot.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_hotshot.so
building '_lsprof' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_lsprof.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_lsprof.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/rotatingtree.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/rotatingtree.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_lsprof.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/rotatingtree.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_lsprof.so
building 'unicodedata' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/unicodedata.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/unicodedata.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/unicodedata.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/unicodedata.so
building '_locale' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_localemodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_localemodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_localemodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_locale.so
building 'fcntl' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/fcntlmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/fcntlmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/fcntlmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/fcntl.so
building 'grp' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/grpmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/grpmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/grpmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/grp.so
building 'spwd' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/spwdmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/spwdmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/spwdmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/spwd.so
building 'select' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/selectmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/selectmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/selectmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/select.so
building 'parser' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/parsermodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/parsermodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/parsermodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/parser.so
building 'cStringIO' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cStringIO.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cStringIO.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cStringIO.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/cStringIO.so
building 'cPickle' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cPickle.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cPickle.o
/home/bigdata/Python-2.7.9/Modules/cPickle.c: In function ‘read_cStringIO’:
/home/bigdata/Python-2.7.9/Modules/cPickle.c:617: warning: ‘start’ may be used uninitialized in this function
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cPickle.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/cPickle.so
building 'mmap' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/mmapmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/mmapmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/mmapmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/mmap.so
building 'syslog' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/syslogmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/syslogmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/syslogmodule.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/syslog.so
building 'audioop' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/audioop.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/audioop.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/audioop.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/audioop.so
building 'crypt' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cryptmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cryptmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cryptmodule.o -L/usr/local/lib -L. -lcrypt -lpython2.7 -o build/lib.linux-x86_64-2.7/crypt.so
building '_csv' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_csv.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_csv.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_csv.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_csv.so
building '_socket' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/socketmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/socketmodule.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/timemodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/timemodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/socketmodule.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/timemodule.o -L/usr/local/lib -L. -lm -lpython2.7 -o build/lib.linux-x86_64-2.7/_socket.so
building '_hashlib' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_hashopenssl.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_hashopenssl.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_hashopenssl.o -L/usr/local/lib -L. -lssl -lcrypto -lpython2.7 -o build/lib.linux-x86_64-2.7/_hashlib.so
building '_bsddb' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_bsddb.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_bsddb.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_bsddb.o -L/usr/lib64 -L/usr/local/lib -L. -Wl,-R/usr/lib64 -ldb-4.7 -lpython2.7 -o build/lib.linux-x86_64-2.7/_bsddb.so
building 'dbm' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_GDBM_NDBM_H -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/dbmmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/dbmmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/dbmmodule.o -L/usr/local/lib -L. -lgdbm -lpython2.7 -o build/lib.linux-x86_64-2.7/dbm.so
building 'gdbm' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/gdbmmodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/gdbmmodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/gdbmmodule.o -L/usr/local/lib -L. -lgdbm -lpython2.7 -o build/lib.linux-x86_64-2.7/gdbm.so
building 'termios' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/termios.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/termios.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/termios.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/termios.so
building 'resource' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/resource.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/resource.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/resource.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/resource.so
building 'nis' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/nismodule.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/nismodule.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/nismodule.o -L/usr/local/lib -L. -lnsl -lpython2.7 -o build/lib.linux-x86_64-2.7/nis.so
building 'binascii' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/binascii.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/binascii.o -DUSE_ZLIB_CRC32
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/binascii.o -L/usr/local/lib -L. -lz -lpython2.7 -o build/lib.linux-x86_64-2.7/binascii.so
building 'pyexpat' extension
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/home/bigdata/Python-2.7.9/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/pyexpat.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/pyexpat.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/home/bigdata/Python-2.7.9/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/expat/xmlparse.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat/xmlparse.o
In file included from /home/bigdata/Python-2.7.9/./Modules/expat/expat_config.h:8,
                 from /home/bigdata/Python-2.7.9/Modules/expat/xmlparse.c:22:
./pyconfig.h:1182:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:27,
                 from /home/bigdata/Python-2.7.9/Modules/expat/xmlparse.c:6:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/home/bigdata/Python-2.7.9/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/expat/xmlrole.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat/xmlrole.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/home/bigdata/Python-2.7.9/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/expat/xmltok.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat/xmltok.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/pyexpat.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat/xmlparse.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat/xmlrole.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/expat/xmltok.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/pyexpat.so
building '_elementtree' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/home/bigdata/Python-2.7.9/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_elementtree.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_elementtree.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_elementtree.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_elementtree.so
building '_multibytecodec' extension
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/multibytecodec.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/multibytecodec.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/multibytecodec.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_multibytecodec.so
building '_codecs_kr' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_kr.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_kr.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_kr.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_codecs_kr.so
building '_codecs_jp' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_jp.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_jp.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_jp.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_codecs_jp.so
building '_codecs_cn' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_cn.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_cn.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_cn.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_codecs_cn.so
building '_codecs_tw' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_tw.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_tw.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_tw.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_codecs_tw.so
building '_codecs_hk' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_hk.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_hk.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_hk.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_codecs_hk.so
building '_codecs_iso2022' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_iso2022.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_iso2022.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/cjkcodecs/_codecs_iso2022.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_codecs_iso2022.so
building '_multiprocessing' extension
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_multiprocessing -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_multiprocessing/multiprocessing.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing/multiprocessing.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_multiprocessing -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_multiprocessing/socket_connection.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing/socket_connection.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IModules/_multiprocessing -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_multiprocessing/semaphore.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing/semaphore.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing/multiprocessing.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing/socket_connection.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_multiprocessing/semaphore.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_multiprocessing.so
building 'linuxaudiodev' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/linuxaudiodev.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/linuxaudiodev.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/linuxaudiodev.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/linuxaudiodev.so
building 'ossaudiodev' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/ossaudiodev.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/ossaudiodev.o
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/ossaudiodev.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/ossaudiodev.so
creating build/temp.linux-x86_64-2.7/libffi
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gsed... sed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc -pthread
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 -pthread accepts -g... yes
checking for gcc -pthread option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -pthread... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking dependency style of gcc -pthread... gcc3
checking whether gcc -pthread and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -pthread... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -pthread object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -pthread -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -pthread supports -fno-rtti -fno-exceptions... no
checking for gcc -pthread option to produce PIC... -fPIC -DPIC
checking if gcc -pthread PIC flag -fPIC -DPIC works... yes
checking if gcc -pthread static flag -static works... no
checking if gcc -pthread supports -c -o file.o... yes
checking if gcc -pthread supports -c -o file.o... (cached) yes
checking whether the gcc -pthread linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking size of size_t... 8
checking for C compiler vendor... gnu
checking CFLAGS for maximum warnings... -Wall
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 size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of double... 8
checking size of long double... 16
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... yes
checking assembler supports pc related relocs... yes
checking assembler .ascii pseudo-op support... yes
checking assembler .string pseudo-op support... yes
checking for _ prefix in compiled symbols... no
checking toolchain supports unwind section type... yes
checking whether .eh_frame section should be read-only... yes
checking for __attribute__((visibility("hidden")))... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.py
config.status: creating fficonfig.h
config.status: linking /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffitarget.h to include/ffitarget.h
config.status: linking /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/include/ffi_common.h to include/ffi_common.h
config.status: executing buildir commands
config.status: skipping top_srcdir/Makefile - not created
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
building '_ctypes' extension
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src
creating build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/_ctypes.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/_ctypes.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/callbacks.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/callbacks.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/callproc.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/callproc.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/stgdict.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/stgdict.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/cfield.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/cfield.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/prep_cif.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/prep_cif.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/closures.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/closures.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffi64.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffi64.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/unix64.S -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/unix64.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffi.c -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffi.o -Wall -fexceptions
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-x86_64-2.7/libffi/include -Ibuild/temp.linux-x86_64-2.7/libffi -I/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/bigdata/Python-2.7.9/Include -I/home/bigdata/Python-2.7.9 -c /home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/sysv.S -o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/sysv.o -Wall -fexceptions
gcc -pthread -shared build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/_ctypes.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/callbacks.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/callproc.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/stgdict.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/cfield.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/prep_cif.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/closures.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffi64.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/unix64.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/ffi.o build/temp.linux-x86_64-2.7/home/bigdata/Python-2.7.9/Modules/_ctypes/libffi/src/x86/sysv.o -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-x86_64-2.7/_ctypes.so

Python build finished, but the necessary bits to build these modules were not found:
_curses            _curses_panel      _sqlite3
_tkinter           bsddb185           bz2
dl                 imageop            readline
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts
creating build/scripts-2.7
copying and adjusting /home/bigdata/Python-2.7.9/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /home/bigdata/Python-2.7.9/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /home/bigdata/Python-2.7.9/Tools/scripts/2to3 -> build/scripts-2.7
copying and adjusting /home/bigdata/Python-2.7.9/Lib/smtpd.py -> build/scripts-2.7
changing mode of build/scripts-2.7/pydoc from 644 to 755
changing mode of build/scripts-2.7/idle from 644 to 755
changing mode of build/scripts-2.7/2to3 from 644 to 755
changing mode of build/scripts-2.7/smtpd.py from 644 to 755
/usr/bin/install -c -m 644 ./Tools/gdb/libpython.py python-gdb.py
[root@orcl2 Python-2.7.9]#
make install

The new Python version 2.7.9 will be installed in /usr/local/bin.

[bigdata@orcl1 lib]$ which python
/usr/local/bin/python
Setting LD_LIBRARY_PATH

To use this version of Python, set the environment variable LD_LIBRARY_PATH to /usr/local/lib

export LD_LIBRARY_PATH=/usr/local/lib

If LD_LIBRARY_PATH is not set, the following error is thrown while invoking Python

[bigdata@orcl1 ~]$ python
python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

After setting LD_LIBRARY_PATH, start Python

[bigdata@orcl1 lib]$ python
Python 2.7.9 (default, Jul 30 2016, 02:11:10)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Comments