[PHP-users 5460] 「php-3.0.15-i18n-ja」make時にincludeのエラー

山本理史(KiBAN CO.,LTD.) php-users@php.gr.jp
Sat, 16 Feb 2002 14:30:16 +0900


山本と申します。
-------------------------
<サーバー環境>
■Redhat6.2J
■IBMHTTPServer1.3.12.5
■Mysql1-3.22.32
■php-3.0.15-i18n-ja
--------------------------

上記のサーバー環境で構築しようとして、
以下のようなエラーが出ます。
いろいろと調べまして、例えば、「Makefil」(以下参照)の
「INCLUDE」部分にIBMHTTPServerの「include」までの
PATHを加えたりして試行錯誤してますが、一向に改善の
気配が見られません。
何卒、アドバイスいただければと思います。

---------------------------------------------------
<エラーメッセージ>
[root@localhost php-3.0.15-i18n-ja]#make
gcc -g -O2  -O2   -I. -I.   -I           -I/usr/local/mysql/include/mysql
    -c language-parser.tab.c -o language-parser.tab.o
In file included from language-parser.y:52:
php.h:201: ap_config_auto.h: No such file or directory
php.h:205: ap_config.h: No such file or directory
php.h:215: ap_compat.h: No such file or directory
php.h:217: httpd.h: No such file or directory
php.h:218: http_main.h: No such file or directory
php.h:219: http_core.h: No such file or directory
php.h:220: http_request.h: No such file or directory
php.h:221: http_protocol.h: No such file or directory
php.h:222: http_config.h: No such file or directory
php.h:223: http_log.h: No such file or directory
make: *** [language-parser.tab.o] Error 1
----------------------------------------------------------

-------------------------------------------
<Makefileの一部分>
prefix = /usr/local
exec_prefix = ${prefix}
srcdir = .
bindir = ${exec_prefix}/bin

SHELL = /bin/sh
CC = gcc
LN_S = ln -s
AR = ar rc
BINNAME = libphp3.so
INSTALL_IT = $(APXS) -i -a -n php3 libphp3.so
INCLUDE
   -I                  -I/usr/local/mysql/include/mysql
PROF_CFLAGS =
CFLAGS_SHLIB =
LDFLAGS_SHLIB =
CPPFLAGS =

---------------------------------------------------