[PHP-users 590] PHP4.0.6 install(cobalt Raq3)help

Terumi Chida php-users@php.gr.jp
Fri, 06 Jul 2001 09:49:10 +0900


千田と申します。

Cobalt RaQ3 server(Linux version 2.2.16C24_III)にphp4.0.6をインストール
しようとしていますが、
make installでつまづいてしまっています。どなたかおわかりの方おりましたら
ご教授お願いします。

>元ファイル
php-4.0.6.tar.gz
php4_mbregex-1.2.tar.gz
はあらかじめ/home/site/home/users/admin/installディレクトリにあります。
>手順
cd /home/site/home/users/admin/install/
tar xvfz php-4.0.6.tar.gz
cd php-4.0.6
cd ext
tar xvfz /home/site/home/web/users/admin/install php4_mbreges-1.2.tar.gz

cd ..
rm configure
./buildconf
./configure --enable-mbstring --enable-mbregex --with-pgsql
--with-apxs=/usr/sbin/apxs --enable-trans-sid --enable-track-vars
make
ここまではうまくいきます。
make installを行うと次のようなメッセージがでます。(エラーの部分のみ抜粋)

==========================================================
Making install in .
make[1]: Entering directory
`/home/sites/home/users/admin/install/php-4.0.6'
/home/sites/home/users/admin/install/php-4.0.6/build/shtool mkdir -p
"/usr/lib/a
pache" && /usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache" -i -a -n php4
libs/libp
hp4.so
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "ja_JP.SJIS",
        LC_ALL = "ja_JP",
        LANG = "ja_JP"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
apxs:Warning: /usr/bin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: No shared object support for Apache
apxs:Warning: available under your platform. Make sure
apxs:Warning: the Apache module mod_so is compiled into
apxs:Warning: your server binary `/usr/bin/httpd'.
apsx:Warning: Continuing anyway...
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
       apxs -q <query> ...
       apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
               [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
               <files> ...
       apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory
`/home/sites/home/users/admin/install/php-4.0.6'
make: *** [install-recursive] Error 1
[root@www php-4.0.6]#
===============================================================
このapxのworninngの対処の仕方どしたらいいでしょうか?
>
サーバ上でwhereis apxsとやると
[root@www php-4.0.6]# whereis apxs
apxs: /usr/sbin/apxs
と帰ってきます。
>httpdをfindすると
[root@www php-4.0.6]# find / -name httpd
/var/log/httpd
/var/lock/subsys/httpd
/home/httpd
/home/log/httpd
/etc/rc.d/init.d/httpd
/etc/pam.d/httpd
/etc/httpd
find: /proc/6/fd: Permission denied
/usr/local/frontpage/version4.0/apache-fp/httpd
/usr/sbin/httpd
/usr/httpd
と帰ってきます。

以上宜しくお願いします。