[PHP-users 24913] Re: 4.3.10をインストールしたいのですが。

watanabe watanove @ nifty.ne.jp
2005年 3月 16日 (水) 11:13:45 JST


北尾さん

  渡辺です。

  ありがとうございます。

>--with-apxs2=/usr/sbin/apxs
>ではなく
>--with-apxs2filter=/usr/sbin/apxs
>でいかがでしょう。
>  
>
おぉ!! この部分のエラーが出なくなりました。
 (これのおかげでほぼ徹夜なのです。)

でも、また次のエラーが出てしまいます。
configureのオプションをとりあえず現在動いている
phpのphpinfo()で取り出して、最後にmbStringを追加
しようとしていまして(最後の2行を追加しただけですが。)
(一番下に全文を書きました。)

今度は
Please reinstall the BZip2 distributuion
とメッセージが出ます。
rpm -qa|grep bzipで、
bzip2-libs-1.0.2-8
bzip2-1.0.2-8
がインストールされているのを確認し
--with-bz2=/usr/bin/bzip2
とそのパスも指定しているのですが。

えい!と、このオプションを外すと
checking for db3 major version...
configure: error:Headerr Contains different version
それじゃ、
--with-db3 \
も外すと、

configure: error: libjpeg.(a|so) not found.
でも、rpm -qa|grep libjpegで
libjpeg-6b-26
と表示されますし、おかしいと思い
--with-jpeg-dirも消すと
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.

と、止めどなくエラーが出るのですが。
もともとphpinfo()で取り出したconfigureオプションに
付け足すというのが間違いなのでしょうか?

お忙しいとは思いますが、もう1度御意見を
頂きたいと思います。

./configure \
--host=i686-pc-linux-gnu \
--build=i686-pc-linux-gnu \
--target=i386-redhat-linux-gnu \
--program-prefix= \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/usr/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--cache-file=../config.cache \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/php.d \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--disable-rpath \
--enable-inline-optimization \
--with-bz2=/usr/bin/bzip2 \
--with-db3 \
--with-curl \
--with-dom=/usr \
--with-exec-dir=/usr/bin \
--with-freetype-dir=/usr \
--with-png-dir=/usr \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gdbm \
--with-gettext \
--with-ncurses \
--with-gmp \
--with-iconv \
--with-jpeg-dir=/usr/lib \
--with-openssl \
--with-png \
--with-pspell \
--with-regex=system \
--with-xml \
--with-expat-dir=/usr \
--with-zlib \
--with-layout=GNU \
--enable-bcmath \
--enable-exif \
--enable-ftp \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-discard-path \
--enable-track-vars \
--enable-trans-sid \
--enable-yp \
--enable-wddx \
--without-oci8 \
--with-pear=/usr/share/pear \
--with-imap=shared \
--with-imap-ssl \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,/usr \
--with-pgsql=shared \
--with-snmp=shared,/usr \
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-unixODBC=shared \
--enable-memory-limit \
--enable-bcmath \
--enable-shmop \
--enable-versioning \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-mcal \
--with-apxs2filter=/usr/sbin/apxs \
--enable-mbstring







PHP-users メーリングリストの案内