[PHP-users 34315] 「pecl install pecl_http」のインストールについて
MITSUYA MAEDA
mitsuya.maeda @ gmail.com
2009年 2月 25日 (水) 11:41:34 JST
前田と申します。
お世話になります。
この度、下記のサーバ環境にて「pecl install
pecl_http」を試みているのですが、OSのバージョンアップとともに下記の実行エラーが表示されるようになりました。
実行結果を参照いただきますと、どうも「configure」の段階でエラーが発生しているようです。
※以下の「"user"」は全てユーザディレクトリの名前を表しております。
/home/"user"/tmp/pear/temp/pecl_http/configure
--with-http-curl-requests --with-http-zlib-compression
--with-http-magic-mime=no --with-http-shared-deps
私としては、OSのバージョンアップに伴って何らかのライブラリー等の更新が抜けているのではないかと考えているところもあるのですが、ベースとなる「php-5.2.8」のインストールは正常に終了しているようです。
そのため、アドバイスをお願いいたします。
サーバ環境
----------------------------------------
ホスト名:www117b.sakura.ne.jp
IPアドレス:省略
OSバージョン:FreeBSD 7.1-RELEASE-p3 i386
プラン:PRO
CPU:Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
メモリー容量:3.25GB
Apacheバージョン:Apache/1.3.41 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.8e
----------------------------------------
PHPインストール状況:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
./configure --prefix=/home/"user"/usr/local
--enable-force-cgi-redirect --enable-mbstring=all --enable-mbregex
--enable-cli --enable-calendar --enable-zend-multibyte
--enable-fastcgi --enable-ftp --disable-short-tags
--with-config-file-path=/home/"user"/usr/local/lib --with-mysql
--with-openssl --with-zlib --with-zlib-dir=/usr --with-gd
--with-png-dir=/usr/local --with-jpeg-dir=/usr/local
--with-freetype-dir=/usr/local --with-ttf --with-curl
--with-pear=/home/"user"/usr/local/lib/php
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
実行結果
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Script started on Wed Feb 25 11:12:11 2009
%pecl install pecl_http
WARNING: channel "pecl.php.net" has updated its protocols, use
"channel-update pecl.php.net" to update
downloading pecl_http-1.7.0b1.tgz ...
Starting to download pecl_http-1.7.0b1.tgz (174,619 bytes)
....................done: 174,619 bytes
71 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning:
AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_static_works,
...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
aclocal.m4:3535: AC_LIBTOOL_LINKER_OPTION is expanded from...
aclocal.m4:5473: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:5472: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:2952: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:2932: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:2895: AC_PROG_LIBTOOL is expanded from...
configure.in:144: the top level
configure.in:144: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works,
...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3490: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:7600: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
configure.in:144: warning:
AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious
cache-id, must contain _cv_ to be cached
aclocal.m4:5586: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:5585: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:4621: _LT_AC_TAGCONFIG is expanded from...
1. whether to enable cURL HTTP requests; specify libcurl directory : yes
1-1, 'all', 'abort', or Enter to continue:
1. whether to enable support for gzencoded/deflated message bodies;
specify zlib directory : yes
1-1, 'all', 'abort', or Enter to continue:
1. whether to enable response content type guessing; specify libmagic
directory : no
1-1, 'all', 'abort', or Enter to continue:
1. whether to depend on extensions which have been built shared : yes
1-1, 'all', 'abort', or Enter to continue:
building in /var/tmp/pear-build-"user"/pecl_http-1.7.0b1
running: /home/"user"/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 grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run
C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/home/"user"/tmp/pear/temp/pecl_http/configure
--with-http-curl-requests --with-http-zlib-compression
--with-http-magic-mime=no --with-http-shared-deps' failed
%^Dexit
Script done on Wed Feb 25 11:12:42 2009
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
システム環境
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /home/"user"/usr/local/bin
PEAR documentation directory doc_dir
/home/"user"/usr/local/lib/php/doc
PHP extension directory ext_dir
/home/"user"/usr/local/lib/php/extensions/no-debug-non-zts-20060613
PEAR directory php_dir /home/"user"/usr/local/lib/php
PEAR Installer cache directory cache_dir /home/"user"/tmp/pear/cache
PEAR configuration file cfg_dir
/home/"user"/usr/local/lib/php/cfg
directory
PEAR data directory data_dir
/home/"user"/usr/local/lib/php/data
PEAR Installer download download_dir /home/"user"/tmp/pear/download
directory
PHP CLI/CGI binary php_bin /home/"user"/usr/local/bin/php
php.ini location php_ini <not set>
PEAR Installer temp directory temp_dir /home/"user"/tmp/pear/temp
PEAR test directory test_dir
/home/"user"/usr/local/lib/php/test
PEAR www files directory www_dir
/home/"user"/usr/local/lib/php/htdocs
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/local/bin/gpg
Signature Key Directory sig_keydir
/home/"user"/usr/local/etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /home/"user"/.pearrc
System Configuration File Filename
/home/"user"/usr/local/etc/pear.conf
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
--
MITSUYA MAEDA <mitsuya.maeda @ gmail.com>
[PR]
http://www.plala.or.jp/ インターネットはぷらら
http://www.sur-get.co.jp/ 合宿免許
PHP-users メーリングリストの案内