2011年11月8日火曜日

python-2.7.2をローカルにインストール

まずはファイルのダウンロード
http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tar.xz

xzを解凍する。
自分の環境にはxzが入っていないため、前に作っておいたバイナリを使用。
[user@localhost src]$ ~/ar/opt/ar/posix/i686/usr/bin/xzcat -d ../var/mirror/python-2.7.2/Python-2.7.2.tar.xz | tar xv


作成されたディレクトリに入ってconfigureを実行
[user@localhost src]$ cd Python-2.7.2/
[user@localhost Python-2.7.2]$ ./configure --prefix=$LOCAL --exec-prefix=$LOCAL --enable-shared
〜省略〜
[user@localhost src]$ cd Python-2.7.2/
[user@localhost Python-2.7.2]$ ./configure --prefix=$LOCAL --exec-prefix=$LOCAL --enable-shared; make
〜省略〜
-i686-2.7/readline.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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cryptmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cryptmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cryptmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lcrypt -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_csv.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_csv.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_csv.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/socketmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/socketmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/socketmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-2.7/_socket.so
building '_ssl' 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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ssl.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ssl.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ssl.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lssl -lcrypto -lpython2.7 -o build/lib.linux-i686-2.7/_ssl.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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_hashopenssl.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_hashopenssl.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_hashopenssl.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lssl -lcrypto -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_bsddb.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_bsddb.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_bsddb.o -L/usr/lib -L/home/aadimstx/local/lib -L/usr/local/lib -L. -Wl,-R/usr/lib -ldb-4.3 -lpython2.7 -o build/lib.linux-i686-2.7/_bsddb.so
building '_sqlite3' extension
creating build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/cache.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/cache.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/connection.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/connection.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/cursor.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/cursor.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/microprotocols.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/microprotocols.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/module.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/module.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/prepare_protocol.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/prepare_protocol.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/row.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/row.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/statement.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/statement.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I/usr/include -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/util.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/util.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/cache.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/connection.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/cursor.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/microprotocols.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/module.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/prepare_protocol.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/row.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/statement.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_sqlite/util.o -L/usr/lib -L/home/aadimstx/local/lib -L/usr/local/lib -L. -Wl,-R/usr/lib -lsqlite3 -lpython2.7 -o build/lib.linux-i686-2.7/_sqlite3.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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/dbmmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/dbmmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/dbmmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lgdbm -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/gdbmmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/gdbmmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/gdbmmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lgdbm -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/termios.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/termios.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/termios.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/resource.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/resource.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/resource.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/nismodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/nismodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/nismodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lnsl -lpython2.7 -o build/lib.linux-i686-2.7/nis.so
building '_curses' 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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_cursesmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_cursesmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_cursesmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lncursesw -lpython2.7 -o build/lib.linux-i686-2.7/_curses.so
building '_curses_panel' 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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_curses_panel.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_curses_panel.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_curses_panel.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpanelw -lncursesw -lpython2.7 -o build/lib.linux-i686-2.7/_curses_panel.so
building 'zlib' 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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/zlibmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/zlibmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/zlibmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lz -lpython2.7 -o build/lib.linux-i686-2.7/zlib.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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/binascii.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/binascii.o -DUSE_ZLIB_CRC32
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/binascii.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lz -lpython2.7 -o build/lib.linux-i686-2.7/binascii.so
building 'bz2' 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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/bz2module.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/bz2module.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/bz2module.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lbz2 -lpython2.7 -o build/lib.linux-i686-2.7/bz2.so
building 'pyexpat' extension
creating build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/pyexpat.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmlparse.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmlparse.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/aadimstx/local/var/build/Python-2.7.2/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmlrole.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmltok.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmltok.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/pyexpat.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmlparse.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmlrole.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/expat/xmltok.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/./Modules/expat -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_elementtree.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_elementtree.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_elementtree.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-2.7/_elementtree.so
building '_multibytecodec' extension
creating build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/multibytecodec.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/multibytecodec.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/multibytecodec.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_kr.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_kr.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_kr.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_jp.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_jp.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_jp.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_cn.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_cn.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_cn.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_tw.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_tw.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_tw.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_hk.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_hk.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_hk.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_iso2022.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_iso2022.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/cjkcodecs/_codecs_iso2022.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-2.7/_codecs_iso2022.so
building 'dl' 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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/dlmodule.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/dlmodule.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/dlmodule.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-2.7/dl.so
building '_multiprocessing' extension
creating build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/multiprocessing.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/socket_connection.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/semaphore.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/semaphore.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/multiprocessing.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/socket_connection.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_multiprocessing/semaphore.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/linuxaudiodev.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/linuxaudiodev.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/linuxaudiodev.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-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/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/ossaudiodev.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/ossaudiodev.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/ossaudiodev.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-2.7/ossaudiodev.so
creating build/temp.linux-i686-2.7/libffi
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 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 dependency style of gcc -pthread... gcc3
checking whether gcc -pthread and cc understand -c and -o together... yes
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... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -pthread object... ok
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... yes
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) 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 whether to enable maintainer-specific portions of Makefiles... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of double... 8
checking size of long double... 12
checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... yes
checking assembler supports pc related relocs... yes
checking whether .eh_frame section should be read-only... yes
checking for __attribute__((visibility("hidden")))... yes
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/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/ffitarget.h to include/ffitarget.h
config.status: linking /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/include/ffi_common.h to include/ffi_common.h
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-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi
creating build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src
creating build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/_ctypes.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/_ctypes.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/callbacks.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/callbacks.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/callproc.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/callproc.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/stgdict.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/stgdict.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/cfield.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/cfield.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/prep_cif.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/prep_cif.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/closures.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/closures.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.o
/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c: In function ‘mmap_resize’:
/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c:3193: 警告: implicit declaration of function ‘mremap’
/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c: In function ‘sys_trim’:
/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.c:3612: 警告: ポインタと整数との比較を行なっています
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/ffi.c -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/ffi.o
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ibuild/temp.linux-i686-2.7/libffi/include -Ibuild/temp.linux-i686-2.7/libffi -I/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src -I. -IInclude -I./Include -I/usr/local/include -I/home/aadimstx/local/var/build/Python-2.7.2/Include -I/home/aadimstx/local/var/build/Python-2.7.2 -c /home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/sysv.S -o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/sysv.o
gcc -pthread -shared build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/_ctypes.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/callbacks.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/callproc.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/stgdict.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/cfield.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/prep_cif.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/closures.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/dlmalloc.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/ffi.o build/temp.linux-i686-2.7/home/aadimstx/local/var/build/Python-2.7.2/Modules/_ctypes/libffi/src/x86/sysv.o -L/home/aadimstx/local/lib -L/usr/local/lib -L. -lpython2.7 -o build/lib.linux-i686-2.7/_ctypes.so

Python build finished, but the necessary bits to build these modules were not found:
_tkinter           bsddb185           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/aadimstx/local/var/build/Python-2.7.2/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /home/aadimstx/local/var/build/Python-2.7.2/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /home/aadimstx/local/var/build/Python-2.7.2/Tools/scripts/2to3 -> build/scripts-2.7
copying and adjusting /home/aadimstx/local/var/build/Python-2.7.2/Lib/smtpd.py -> build/scripts-2.7
changing mode of build/scripts-2.7/pydoc from 664 to 775
changing mode of build/scripts-2.7/idle from 664 to 775
changing mode of build/scripts-2.7/2to3 from 664 to 775
changing mode of build/scripts-2.7/smtpd.py from 664 to 775
/usr/bin/install -c -m 644 ./Tools/gdb/libpython.py python-gdb.py
[aadimstx@localhost ~]$ 

そこそこうまく行ってしまった。
ビルドできなかったのは、
  • _tkinter
  • bsddb185
  • sunaudiodev
これは宿題かな。

いつもは、
  • readline
  • bzip2
のビルドも失敗する。
これは入っているライブラリのバージョンの違いで失敗する。
正しいバージョンを入れればok。

このバージョンの組み合わせも宿題。

とりあえずinstallしてしまう。
[aadimstx@localhost Python-2.7.2]$  make install
〜省略〜
Compiling /home/aadimstx/local/lib/python2.7/test/threaded_import_hangers.py ...
Compiling /home/aadimstx/local/lib/python2.7/test/time_hashlib.py ...
Listing /home/aadimstx/local/lib/python2.7/test/tracedmodules ...
Compiling /home/aadimstx/local/lib/python2.7/test/tracedmodules/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/test/tracedmodules/testmod.py ...
Compiling /home/aadimstx/local/lib/python2.7/test/warning_tests.py ...
Compiling /home/aadimstx/local/lib/python2.7/test/win_console_handler.py ...
Listing /home/aadimstx/local/lib/python2.7/test/xmltestdata ...
Compiling /home/aadimstx/local/lib/python2.7/test/xmltests.py ...
Compiling /home/aadimstx/local/lib/python2.7/textwrap.py ...
Compiling /home/aadimstx/local/lib/python2.7/this.py ...
Compiling /home/aadimstx/local/lib/python2.7/threading.py ...
Compiling /home/aadimstx/local/lib/python2.7/timeit.py ...
Compiling /home/aadimstx/local/lib/python2.7/toaiff.py ...
Compiling /home/aadimstx/local/lib/python2.7/token.py ...
Compiling /home/aadimstx/local/lib/python2.7/tokenize.py ...
Compiling /home/aadimstx/local/lib/python2.7/trace.py ...
Compiling /home/aadimstx/local/lib/python2.7/traceback.py ...
Compiling /home/aadimstx/local/lib/python2.7/tty.py ...
Compiling /home/aadimstx/local/lib/python2.7/types.py ...
Listing /home/aadimstx/local/lib/python2.7/unittest ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/__main__.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/case.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/loader.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/main.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/result.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/runner.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/signals.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/suite.py ...
Listing /home/aadimstx/local/lib/python2.7/unittest/test ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/dummy.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/support.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_assertions.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_break.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_case.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_discovery.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_functiontestcase.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_loader.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_program.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_result.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_runner.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_setups.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_skipping.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/test/test_suite.py ...
Compiling /home/aadimstx/local/lib/python2.7/unittest/util.py ...
Compiling /home/aadimstx/local/lib/python2.7/urllib.py ...
Compiling /home/aadimstx/local/lib/python2.7/urllib2.py ...
Compiling /home/aadimstx/local/lib/python2.7/urlparse.py ...
Compiling /home/aadimstx/local/lib/python2.7/user.py ...
Compiling /home/aadimstx/local/lib/python2.7/uu.py ...
Compiling /home/aadimstx/local/lib/python2.7/uuid.py ...
Compiling /home/aadimstx/local/lib/python2.7/warnings.py ...
Compiling /home/aadimstx/local/lib/python2.7/wave.py ...
Compiling /home/aadimstx/local/lib/python2.7/weakref.py ...
Compiling /home/aadimstx/local/lib/python2.7/webbrowser.py ...
Compiling /home/aadimstx/local/lib/python2.7/whichdb.py ...
Listing /home/aadimstx/local/lib/python2.7/wsgiref ...
Compiling /home/aadimstx/local/lib/python2.7/wsgiref/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/wsgiref/handlers.py ...
Compiling /home/aadimstx/local/lib/python2.7/wsgiref/headers.py ...
Compiling /home/aadimstx/local/lib/python2.7/wsgiref/simple_server.py ...
Compiling /home/aadimstx/local/lib/python2.7/wsgiref/util.py ...
Compiling /home/aadimstx/local/lib/python2.7/wsgiref/validate.py ...
Compiling /home/aadimstx/local/lib/python2.7/xdrlib.py ...
Listing /home/aadimstx/local/lib/python2.7/xml ...
Compiling /home/aadimstx/local/lib/python2.7/xml/__init__.py ...
Listing /home/aadimstx/local/lib/python2.7/xml/dom ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/NodeFilter.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/domreg.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/expatbuilder.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/minicompat.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/minidom.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/pulldom.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/dom/xmlbuilder.py ...
Listing /home/aadimstx/local/lib/python2.7/xml/etree ...
Compiling /home/aadimstx/local/lib/python2.7/xml/etree/ElementInclude.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/etree/ElementPath.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/etree/ElementTree.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/etree/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/etree/cElementTree.py ...
Listing /home/aadimstx/local/lib/python2.7/xml/parsers ...
Compiling /home/aadimstx/local/lib/python2.7/xml/parsers/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/parsers/expat.py ...
Listing /home/aadimstx/local/lib/python2.7/xml/sax ...
Compiling /home/aadimstx/local/lib/python2.7/xml/sax/__init__.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/sax/_exceptions.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/sax/expatreader.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/sax/handler.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/sax/saxutils.py ...
Compiling /home/aadimstx/local/lib/python2.7/xml/sax/xmlreader.py ...
Compiling /home/aadimstx/local/lib/python2.7/xmllib.py ...
Compiling /home/aadimstx/local/lib/python2.7/xmlrpclib.py ...
Compiling /home/aadimstx/local/lib/python2.7/zipfile.py ...
PYTHONPATH=/home/aadimstx/local/lib/python2.7  LD_LIBRARY_PATH=/home/aadimstx/local/var/build/Python-2.7.2: \
                ./python -Wi -t /home/aadimstx/local/lib/python2.7/compileall.py \
                -d /home/aadimstx/local/lib/python2.7/site-packages -f \
                -x badsyntax /home/aadimstx/local/lib/python2.7/site-packages
Listing /home/aadimstx/local/lib/python2.7/site-packages ...
PYTHONPATH=/home/aadimstx/local/lib/python2.7 LD_LIBRARY_PATH=/home/aadimstx/local/var/build/Python-2.7.2: \
                ./python -Wi -t -O /home/aadimstx/local/lib/python2.7/compileall.py \
                -d /home/aadimstx/local/lib/python2.7/site-packages -f \
                -x badsyntax /home/aadimstx/local/lib/python2.7/site-packages
Listing /home/aadimstx/local/lib/python2.7/site-packages ...
PYTHONPATH=/home/aadimstx/local/lib/python2.7 LD_LIBRARY_PATH=/home/aadimstx/local/var/build/Python-2.7.2: \
                ./python -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
Creating directory /home/aadimstx/local/include
Creating directory /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/Python-ast.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/Python.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/abstract.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/asdl.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/ast.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/bitset.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/boolobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/bufferobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/bytearrayobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/bytes_methods.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/bytesobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/cStringIO.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/cellobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/ceval.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/classobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/cobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/code.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/codecs.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/compile.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/complexobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/datetime.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/descrobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/dictobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/dtoa.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/enumobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/errcode.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/eval.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/fileobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/floatobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/frameobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/funcobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/genobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/graminit.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/grammar.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/import.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/intobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/intrcheck.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/iterobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/listobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/longintrepr.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/longobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/marshal.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/memoryobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/metagrammar.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/methodobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/modsupport.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/moduleobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/node.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/object.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/objimpl.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/opcode.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/osdefs.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/parsetok.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/patchlevel.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pgen.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pgenheaders.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/py_curses.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pyarena.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pycapsule.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pyctype.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pydebug.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pyerrors.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pyexpat.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pyfpe.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pygetopt.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pymacconfig.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pymactoolbox.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pymath.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pymem.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pyport.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pystate.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pystrcmp.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pystrtod.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pythonrun.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/pythread.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/rangeobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/setobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/sliceobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/stringobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/structmember.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/structseq.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/symtable.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/sysmodule.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/timefuncs.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/token.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/traceback.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/tupleobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/ucnhash.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/unicodeobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/warnings.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 ./Include/weakrefobject.h /home/aadimstx/local/include/python2.7
/usr/bin/install -c -m 644 pyconfig.h /home/aadimstx/local/include/python2.7/pyconfig.h
# Substitution happens here, as the completely-expanded BINDIR
# is not available in configure
sed -e "s,@EXENAME@,/home/aadimstx/local/bin/python2.7," < ./Misc/python-config.in >python-config
Creating directory /home/aadimstx/local/lib/python2.7/config
Creating directory /home/aadimstx/local/lib/pkgconfig
/usr/bin/install -c -m 644 Modules/config.c /home/aadimstx/local/lib/python2.7/config/config.c
/usr/bin/install -c -m 644 Modules/python.o /home/aadimstx/local/lib/python2.7/config/python.o
/usr/bin/install -c -m 644 ./Modules/config.c.in /home/aadimstx/local/lib/python2.7/config/config.c.in
/usr/bin/install -c -m 644 Makefile /home/aadimstx/local/lib/python2.7/config/Makefile
/usr/bin/install -c -m 644 Modules/Setup /home/aadimstx/local/lib/python2.7/config/Setup
/usr/bin/install -c -m 644 Modules/Setup.local /home/aadimstx/local/lib/python2.7/config/Setup.local
/usr/bin/install -c -m 644 Modules/Setup.config /home/aadimstx/local/lib/python2.7/config/Setup.config
/usr/bin/install -c -m 644 Misc/python.pc /home/aadimstx/local/lib/pkgconfig/python-2.7.pc
/usr/bin/install -c ./Modules/makesetup /home/aadimstx/local/lib/python2.7/config/makesetup
/usr/bin/install -c ./install-sh /home/aadimstx/local/lib/python2.7/config/install-sh
/usr/bin/install -c python-config /home/aadimstx/local/bin/python2.7-config
rm python-config
LD_LIBRARY_PATH=/home/aadimstx/local/var/build/Python-2.7.2: ./python -E ./setup.py install \
                --prefix=/home/aadimstx/local \
                --install-scripts=/home/aadimstx/local/bin \
                --install-platlib=/home/aadimstx/local/lib/python2.7/lib-dynload \
                --root=/
running install
running build
running build_ext
building dbm using gdbm
INFO: Can't locate Tcl/Tk libs and/or headers

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

running build_scripts
running install_lib
creating /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/termios.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_struct.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/spwd.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_sqlite3.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_hashlib.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_socket.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/syslog.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/strop.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/math.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/operator.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_elementtree.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/linuxaudiodev.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_hotshot.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_functools.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/crypt.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_json.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_bisect.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_codecs_tw.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_ssl.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_codecs_jp.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_random.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/time.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/pyexpat.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/readline.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/parser.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_testcapi.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_curses_panel.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_ctypes.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/fcntl.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_multibytecodec.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_heapq.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/array.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_csv.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/mmap.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_codecs_cn.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/zlib.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/cStringIO.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_bsddb.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_io.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_lsprof.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/future_builtins.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_collections.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/binascii.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/nis.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/imageop.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/ossaudiodev.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/dbm.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/datetime.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_codecs_kr.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_multiprocessing.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_locale.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/unicodedata.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/select.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_codecs_iso2022.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/itertools.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/gdbm.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_codecs_hk.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/resource.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/dl.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/cmath.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/bz2.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/grp.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_ctypes_test.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/audioop.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/_curses.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
copying build/lib.linux-i686-2.7/cPickle.so -> /home/aadimstx/local/lib/python2.7/lib-dynload
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/termios.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_struct.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/spwd.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_sqlite3.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_hashlib.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_socket.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/syslog.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/strop.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/math.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/operator.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_elementtree.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/linuxaudiodev.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_hotshot.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_functools.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/crypt.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_json.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_bisect.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_codecs_tw.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_ssl.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_codecs_jp.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_random.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/time.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/pyexpat.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/readline.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/parser.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_testcapi.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_curses_panel.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_ctypes.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/fcntl.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_multibytecodec.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_heapq.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/array.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_csv.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/mmap.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_codecs_cn.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/zlib.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/cStringIO.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_bsddb.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_io.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_lsprof.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/future_builtins.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_collections.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/binascii.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/nis.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/imageop.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/ossaudiodev.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/dbm.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/datetime.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_codecs_kr.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_multiprocessing.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_locale.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/unicodedata.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/select.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_codecs_iso2022.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/itertools.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/gdbm.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_codecs_hk.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/resource.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/dl.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/cmath.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/bz2.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/grp.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_ctypes_test.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/audioop.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/_curses.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/cPickle.so to 755
changing mode of /home/aadimstx/local/lib/python2.7/lib-dynload/ to 755
running install_scripts
copying build/scripts-2.7/smtpd.py -> /home/aadimstx/local/bin
copying build/scripts-2.7/2to3 -> /home/aadimstx/local/bin
copying build/scripts-2.7/pydoc -> /home/aadimstx/local/bin
copying build/scripts-2.7/idle -> /home/aadimstx/local/bin
changing mode of /home/aadimstx/local/bin/smtpd.py to 775
changing mode of /home/aadimstx/local/bin/2to3 to 775
changing mode of /home/aadimstx/local/bin/pydoc to 775
changing mode of /home/aadimstx/local/bin/idle to 775
running install_egg_info
Writing /home/aadimstx/local/lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info
if test -f /home/aadimstx/local/bin/python -o -h /home/aadimstx/local/bin/python; \
        then rm -f /home/aadimstx/local/bin/python; \
        else true; \
        fi
(cd /home/aadimstx/local/bin; ln python2.7 python)
rm -f /home/aadimstx/local/bin/python-config
(cd /home/aadimstx/local/bin; ln -s python2.7-config python-config)
test -d /home/aadimstx/local/lib/pkgconfig || /usr/bin/install -c -d -m 755 /home/aadimstx/local/lib/pkgconfig
rm -f /home/aadimstx/local/lib/pkgconfig/python.pc
(cd /home/aadimstx/local/lib/pkgconfig; ln -s python-2.7.pc python.pc)
Creating directory /home/aadimstx/local/share/man
Creating directory /home/aadimstx/local/share/man/man1
/usr/bin/install -c -m 644 ./Misc/python.man \
                /home/aadimstx/local/share/man/man1/python2.7.1
[aadimstx@localhost Python-2.7.2]$ 

LD_LIBRARY_PATHの使い方に関しては、ちょっと問題ありかも。
http://nhh.mo-blog.jp/ttt/2007/12/unixos_ld_libra_63dd.html
環境をいろいろ操作したいけどroot権限がない場合などのローカルな環境構築方法は他にもあるのかもしれない。

0 件のコメント:

コメントを投稿