PEAR::HTTP_OAuthをインストールする
PHPでOAuthに対応したTwitter API を利用するために、PEAR::HTTP_OAuthをインストールしたみました。
依存関係をまとめてインストール
まず、いろいろ依存パッケージがありそうなので「–alldeps」オプションをつけてインストールコマンドを実行します。
# pear install --alldeps HTTP_OAuth Failed to download pear/HTTP_OAuth within preferred state "stable", latest release is version 0.1.18, stability "alpha", use "channel://pear.php.net/HTTP_OAuth-0.1.18" to install install failed
「HTTP_OAuthは安定版のパッケージじゃないから、アルファ版としてインストールするように」と怒られました。 一応これをやっとかないと最新バージョン分からないんですよね。
では、厳密にバージョン指定してアルファ版をインストールします。
# pear install --alldeps channel://pear.php.net/HTTP_OAuth-0.1.18 Failed to download pear/HTTP_Request2 within preferred state "stable", latest release is version 0.5.2, stability "alpha", use "channel://pear.php.net/HTTP_Request2-0.5.2" to install pear/HTTP_OAuth requires package "pear/HTTP_Request2" (version >= 0.4.0) downloading pecl_http-1.7.0.tgz ... Starting to download pecl_http-1.7.0.tgz (173,979 bytes) .............................done: 173,979 bytes 71 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 whether to enable cURL HTTP requests; specify libcurl directory [yes] :
どうやら「http_pecl」パッケージが先に必要とのことで、http_peclパッケージのビルド&インストールを行なうようです。 プロンプトに従って全てEnterキーで進めます。
whether to enable support for gzencoded/deflated message bodies; specify zlib directory [yes] : whether to enable response content type guessing; specify libmagic directory [no] : whether to depend on extensions which have been built shared [yes] :
ここからはドバーッと「http_pecl」のコンパイル&ビルド&インストールが始まりますので、ジッと待ちます。
building in /var/tmp/pear-build-root/pecl_http-1.7.0 running: /tmp/pear/temp/pecl_http/configure --with-http-curl-requests --with-http-zlib-compression --with-http-magic-mime=no --with-http-shared-deps checking for egrep... grep -E checking for a sed that does not truncate output... //bin/sed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext checking for PHP extension directory... /usr/lib/php/modules checking for PHP installed headers prefix... /usr/include/php checking for re2c... no configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable extended HTTP support... yes, shared checking whether to depend on extensions which have been built shared... yes checking whether to enable cURL HTTP request support... yes checking whether to enable libevent support fur cURL... yes checking whether to enable zlib encodings support... yes checking whether to enable response content type guessing... no checking for egrep... (cached) grep -E checking for a sed that does not truncate output... (cached) //bin/sed checking how to run the C preprocessor... gcc -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 netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for unistd.h... (cached) yes checking for gethostname... yes checking for getdomainname... yes checking for getservbyport... yes checking for getservbyname... yes checking for zlib.h... found in /usr checking for zlib version >= 1.2.0.4... 1.2.3 checking for curl/curl.h... found in /usr checking for curl-config... found: /usr/bin/curl-config checking for curl version >= 7.12.3... 7.15.5 checking for SSL support in libcurl... yes checking for openssl support in libcurl... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking for gnutls support in libcurl... no checking for bundled SSL CA info... /etc/pki/tls/certs/ca-bundle.crt checking for curl_share_strerror in -lcurl... yes checking for curl_multi_strerror in -lcurl... yes checking for curl_easy_strerror in -lcurl... yes checking for curl_easy_reset in -lcurl... yes checking for curl_formget in -lcurl... yes checking for curl_multi_setopt in -lcurl... yes checking for curl_multi_timeout in -lcurl... yes checking for ext/event support... no checking for event.h... not found configure: WARNING: continuing without libevent support checking for ext/hash support... yes checking for php_hash.h... /usr/include/php/ext/hash checking for ext/iconv support... yes checking for ext/session support... yes checking whether to add a dependency on ext/hash... yes checking whether to add a dependency on ext/iconv... yes checking whether to add a dependency on ext/session... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc 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... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/missing.c -o missing.lo mkdir .libs gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/missing.c -fPIC -DPIC -o .libs/missing.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http.c -o http.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http.c -fPIC -DPIC -o .libs/http.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_functions.c -o http_functions.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_functions.c -fPIC -DPIC -o .libs/http_functions.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/phpstr/phpstr.c -o phpstr/phpstr.lo mkdir phpstr/.libs gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/phpstr/phpstr.c -fPIC -DPIC -o phpstr/.libs/phpstr.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_util_object.c -o http_util_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_util_object.c -fPIC -DPIC -o .libs/http_util_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_message_object.c -o http_message_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_message_object.c -fPIC -DPIC -o .libs/http_message_object.o /tmp/pear/temp/pecl_http/http_message_object.c: In function 'http_message_object_add_prophandler': /tmp/pear/temp/pecl_http/http_message_object.c:226: warning: passing argument 2 of '_zend_hash_add_or_update' discards qualifiers from pointer target type /tmp/pear/temp/pecl_http/http_message_object.c: In function 'http_message_object_get_prophandler': /tmp/pear/temp/pecl_http/http_message_object.c:229: warning: passing argument 2 of 'zend_hash_find' discards qualifiers from pointer target type /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_object.c -o http_request_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_object.c -fPIC -DPIC -o .libs/http_request_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_pool_api.c -o http_request_pool_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_pool_api.c -fPIC -DPIC -o .libs/http_request_pool_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_response_object.c -o http_response_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_response_object.c -fPIC -DPIC -o .libs/http_response_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_exception_object.c -o http_exception_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_exception_object.c -fPIC -DPIC -o .libs/http_exception_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_requestpool_object.c -o http_requestpool_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_requestpool_object.c -fPIC -DPIC -o .libs/http_requestpool_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_api.c -o http_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_api.c -fPIC -DPIC -o .libs/http_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_cache_api.c -o http_cache_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_cache_api.c -fPIC -DPIC -o .libs/http_cache_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_api.c -o http_request_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_api.c -fPIC -DPIC -o .libs/http_request_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_info.c -o http_request_info.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_info.c -fPIC -DPIC -o .libs/http_request_info.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_date_api.c -o http_date_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_date_api.c -fPIC -DPIC -o .libs/http_date_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_headers_api.c -o http_headers_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_headers_api.c -fPIC -DPIC -o .libs/http_headers_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_message_api.c -o http_message_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_message_api.c -fPIC -DPIC -o .libs/http_message_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_send_api.c -o http_send_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_send_api.c -fPIC -DPIC -o .libs/http_send_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_url_api.c -o http_url_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_url_api.c -fPIC -DPIC -o .libs/http_url_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_info_api.c -o http_info_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_info_api.c -fPIC -DPIC -o .libs/http_info_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_method_api.c -o http_request_method_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_method_api.c -fPIC -DPIC -o .libs/http_request_method_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_encoding_api.c -o http_encoding_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_encoding_api.c -fPIC -DPIC -o .libs/http_encoding_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_filter_api.c -o http_filter_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_filter_api.c -fPIC -DPIC -o .libs/http_filter_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_body_api.c -o http_request_body_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_body_api.c -fPIC -DPIC -o .libs/http_request_body_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_querystring_object.c -o http_querystring_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_querystring_object.c -fPIC -DPIC -o .libs/http_querystring_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_deflatestream_object.c -o http_deflatestream_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_deflatestream_object.c -fPIC -DPIC -o .libs/http_deflatestream_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_inflatestream_object.c -o http_inflatestream_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_inflatestream_object.c -fPIC -DPIC -o .libs/http_inflatestream_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_cookie_api.c -o http_cookie_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_cookie_api.c -fPIC -DPIC -o .libs/http_cookie_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_querystring_api.c -o http_querystring_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_querystring_api.c -fPIC -DPIC -o .libs/http_querystring_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_datashare_api.c -o http_request_datashare_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_request_datashare_api.c -fPIC -DPIC -o .libs/http_request_datashare_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_requestdatashare_object.c -o http_requestdatashare_object.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_requestdatashare_object.c -fPIC -DPIC -o .libs/http_requestdatashare_object.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=compile gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_persistent_handle_api.c -o http_persistent_handle_api.lo gcc -I. -I/tmp/pear/temp/pecl_http -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/pecl_http/http_persistent_handle_api.c -fPIC -DPIC -o .libs/http_persistent_handle_api.o /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=link gcc -DPHP_ATOM_INC -I/var/tmp/pear-build-root/pecl_http-1.7.0/include -I/var/tmp/pear-build-root/pecl_http-1.7.0/main -I/tmp/pear/temp/pecl_http -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -o http.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-root/pecl_http-1.7.0/modules missing.lo http.lo http_functions.lo phpstr/phpstr.lo http_util_object.lo http_message_object.lo http_request_object.lo http_request_pool_api.lo http_response_object.lo http_exception_object.lo http_requestpool_object.lo http_api.lo http_cache_api.lo http_request_api.lo http_request_info.lo http_date_api.lo http_headers_api.lo http_message_api.lo http_send_api.lo http_url_api.lo http_info_api.lo http_request_method_api.lo http_encoding_api.lo http_filter_api.lo http_request_body_api.lo http_querystring_object.lo htt p_deflatestream_object.lo http_inflatestream_object.lo http_cookie_api.lo http_querystring_api.lo http_request_datashare_api.lo http_requestdatashare_object.lo http_persistent_handle_api.lo -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -lcurl -lz -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz gcc -shared .libs/missing.o .libs/http.o .libs/http_functions.o phpstr/.libs/phpstr.o .libs/http_util_object.o .libs/http_message_object.o .libs/http_request_object.o .libs/http_request_pool_api.o .libs/http_response_object.o .libs/http_exception_object.o .libs/http_requestpool_object.o .libs/http_api.o .libs/http_cache_api.o .libs/http_request_api.o .libs/http_request_info.o .libs/http_date_api.o .libs/http_headers_api.o .libs/http_message_api.o .libs/http_send_api.o .libs/http_url_api.o .libs/http_info_api.o .libs/http_request_method_api.o .libs/http_encoding_api.o .libs/http_filter_api.o .libs/http_request_body_api.o .libs/http_querystring_object.o .libs/http_deflatestream_object.o .libs/http_inflatestream_object.o .libs/http_cookie_api.o .libs/http_querystring_api.o .libs/http_request_datashare_api.o .libs/http_requestdatashare_object.o .libs/http_persistent_handle_api.o -L/usr/kerberos/lib -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -Wl,-rpath -Wl,/usr/kerberos/lib -Wl,-soname -Wl,http.so -o .libs/http.so creating http.la (cd .libs && rm -f http.la && ln -s ../http.la http.la) /bin/sh /var/tmp/pear-build-root/pecl_http-1.7.0/libtool --mode=install cp ./http.la /var/tmp/pear-build-root/pecl_http-1.7.0/modules cp ./.libs/http.so /var/tmp/pear-build-root/pecl_http-1.7.0/modules/http.so cp ./.libs/http.lai /var/tmp/pear-build-root/pecl_http-1.7.0/modules/http.la PATH="$PATH:/sbin" ldconfig -n /var/tmp/pear-build-root/pecl_http-1.7.0/modules ---------------------------------------------------------------------- Libraries have been installed in: /var/tmp/pear-build-root/pecl_http-1.7.0/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. (It is safe to ignore warnings about tempnam and tmpnam). running: make INSTALL_ROOT="/var/tmp/pear-build-root/install-pecl_http-1.7.0" install Installing shared extensions: /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/lib/php/modules/ Installing header files: /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ running: find "/var/tmp/pear-build-root/install-pecl_http-1.7.0" | xargs ls -dils 44269606 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0 44269790 4 drwxr-xr-x 4 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr 44269794 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include 44269795 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php 44269796 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext 44269797 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http 44269813 8 -rw-r--r-- 1 root root 5608 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/missing.h 44269801 12 -rw-r--r-- 1 root root 11882 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_api.h 44269802 8 -rw-r--r-- 1 root root 5840 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_cache_api.h 44269824 8 -rw-r--r-- 1 root root 4297 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_cookie_api.h 44269803 4 -rw-r--r-- 1 root root 1276 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_date_api.h 44269822 4 -rw-r--r-- 1 root root 2334 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_deflatestream_object.h 44269811 12 -rw-r--r-- 1 root root 9058 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_encoding_api.h 44269815 4 -rw-r--r-- 1 root root 2173 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_exception_object.h 44269800 8 -rw-r--r-- 1 root root 6648 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http.h 44269804 8 -rw-r--r-- 1 root root 4356 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_headers_api.h 44269823 4 -rw-r--r-- 1 root root 2334 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_inflatestream_object.h 44269805 4 -rw-r--r-- 1 root root 2750 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_info_api.h 44269806 8 -rw-r--r-- 1 root root 5364 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_message_api.h 44269816 8 -rw-r--r-- 1 root root 4353 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_message_object.h 44269828 4 -rw-r--r-- 1 root root 3405 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_persistent_handle_api.h 44269825 4 -rw-r--r-- 1 root root 1549 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_querystring_api.h 44269821 4 -rw-r--r-- 1 root root 2982 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_querystring_object.h 44269807 8 -rw-r--r-- 1 root root 4744 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_request_api.h 44269814 4 -rw-r--r-- 1 root root 2759 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_request_body_api.h 44269826 4 -rw-r--r-- 1 root root 3639 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_request_datashare_api.h 44269827 4 -rw-r--r-- 1 root root 2332 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_requestdatashare_object.h 44269808 4 -rw-r--r-- 1 root root 2914 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_request_method_api.h 44269817 8 -rw-r--r-- 1 root root 4745 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_request_object.h 44269818 4 -rw-r--r-- 1 root root 2401 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_requestpool_object.h 44269819 4 -rw-r--r-- 1 root root 2312 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_response_object.h 44269809 8 -rw-r--r-- 1 root root 5107 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_send_api.h 44269799 16 -rw-r--r-- 1 root root 12824 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_std_defs.h 44269810 8 -rw-r--r-- 1 root root 5722 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_url_api.h 44269820 4 -rw-r--r-- 1 root root 1131 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/php_http_util_object.h 44269798 4 drwxr-xr-x 2 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/phpstr 44269812 8 -rw-r--r-- 1 root root 7283 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/include/php/ext/http/phpstr/phpstr.h 44269791 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/lib 44269792 4 drwxr-xr-x 3 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/lib/php 44269793 4 drwxr-xr-x 2 root root 4096 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/lib/php/modules 44269789 1228 -rwxr-xr-x 1 root root 1250191 Sep 4 12:26 /var/tmp/pear-build-root/install-pecl_http-1.7.0/usr/lib/php/modules/http.so Build process completed successfully Installing '/usr/include/php/ext/http/php_http_requestpool_object.h' Installing '/usr/include/php/ext/http/php_http_send_api.h' Installing '/usr/include/php/ext/http/php_http_request_object.h' Installing '/usr/include/php/ext/http/php_http_cache_api.h' Installing '/usr/include/php/ext/http/php_http_request_method_api.h' Installing '/usr/include/php/ext/http/php_http_exception_object.h' Installing '/usr/include/php/ext/http/php_http_response_object.h' Installing '/usr/include/php/ext/http/php_http.h' Installing '/usr/include/php/ext/http/php_http_querystring_api.h' Installing '/usr/include/php/ext/http/php_http_request_api.h' Installing '/usr/include/php/ext/http/missing.h' Installing '/usr/include/php/ext/http/php_http_querystring_object.h' Installing '/usr/include/php/ext/http/php_http_requestdatashare_object.h' Installing '/usr/include/php/ext/http/php_http_persistent_handle_api.h' Installing '/usr/include/php/ext/http/php_http_request_body_api.h' Installing '/usr/include/php/ext/http/php_http_info_api.h' Installing '/usr/include/php/ext/http/php_http_message_object.h' Installing '/usr/include/php/ext/http/php_http_headers_api.h' Installing '/usr/include/php/ext/http/phpstr/phpstr.h' Installing '/usr/include/php/ext/http/php_http_deflatestream_object.h' Installing '/usr/include/php/ext/http/php_http_cookie_api.h' Installing '/usr/include/php/ext/http/php_http_encoding_api.h' Installing '/usr/include/php/ext/http/php_http_date_api.h' Installing '/usr/include/php/ext/http/php_http_request_datashare_api.h' Installing '/usr/include/php/ext/http/php_http_url_api.h' Installing '/usr/include/php/ext/http/php_http_std_defs.h' Installing '/usr/include/php/ext/http/php_http_api.h' Installing '/usr/include/php/ext/http/php_http_message_api.h' Installing '/usr/include/php/ext/http/php_http_inflatestream_object.h' Installing '/usr/include/php/ext/http/php_http_util_object.h' Installing '/usr/lib/php/modules/http.so'
やっと終わったようです。
install ok: channel://pecl.php.net/pecl_http-1.7.0 configuration option "php_ini" is not set to php.ini location You should add "extension=http.so" to php.ini
「php.ini」に「extension=http.so」を追加しましょう。
# vi /etc/php.ini
;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension ; ; For example: ; ; extension=msql.so ; ; Note that it should be the name of the module only; no directory information ; needs to go here. Specify the location of the extension with the ; extension_dir directive above. extension=http.so ←これ
その後、Apacheをリロード。
# /etc/init.d/httpd reload Reloading httpd: [ OK ]
また、最初に警告が出ていた依存パッケージである「HTTP_Request2」もアルファ版、「HTTP_Request2」が依存している「Net_URL2」もアルファ版ということで、先にNet_URL2をインストールします。
# pear install --alldeps channel://pear.php.net/Net_URL2-0.3.1 downloading Net_URL2-0.3.1.tgz ... Starting to download Net_URL2-0.3.1.tgz (8,488 bytes) .....done: 8,488 bytes install ok: channel://pear.php.net/Net_URL2-0.3.1
つづいてHTTP_Request2をインストール。
# pear install --alldeps channel://pear.php.net/HTTP_Request2-0.5.2 pear/HTTP_Request2 can optionally use PHP extension "fileinfo" downloading HTTP_Request2-0.5.2.tgz ... Starting to download HTTP_Request2-0.5.2.tgz (58,159 bytes) ..............done: 58,159 bytes install ok: channel://pear.php.net/HTTP_Request2-0.5.2
そして、最後に「HTTP_OAuth」をインストール。
# pear install --alldeps channel://pear.php.net/HTTP_OAuth-0.1.18 downloading HTTP_OAuth-0.1.18.tgz ... Starting to download HTTP_OAuth-0.1.18.tgz (51,237 bytes) .............done: 51,237 bytes install ok: channel://pear.php.net/HTTP_OAuth-0.1.18
これで完了!
2010-09-04