Install Problems
| From: | Jesse Binam | Date: | Wed, 16 Aug 2000 05:19:36 +0000 |
| Subject: | Install Problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11919@lists.php.net to get a copy of this message | ||
Hello All,
This is my first post to the list and in all honesty I don't have time to
read the FAQ's so please excuse my if I am in the wrong here. I appreciate
your help as soon as possible.
Thanks in advance
Jess Binam
sirbinam@xmission.com
These are my exact commands to install:
tar xvf php*
cd php-4.0.1pl2
./configure --with-apxs --with-dbase
make
make install
everything up until the make works fine. After I run make I get this:
/usr/home/davepcd/src/php-4.0.1pl2/php_config.h:277: warning: this is the
locati
on of the previous definition
mod_php4.c: In function `php_apache_log_message':
mod_php4.c:287: `requset_rec' undeclared (first use in this function)
mod_php4.c:287: (Each undeclared identifier is reported only once
mod_php4.c:287: for each function it appears in.)
mod_php4.c:287: syntax error before `)'
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2/sapi/apache.
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2/sapi/apache.
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2/sapi.
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2.
%>
Then I run 'make install' and get this:
Making install in Zend
Making install in main
Making install in ext
Making install in db
Making install in dbase
Making install in mysql
Making install in libmysql
Making install in pcre
Making install in pcrelib
Making install in posix
Making install in session
Making install in standard
Making install in xml
Making install in expat
Making install in xmltok
Making install in xmlparse
Making install in sapi
Making install in apache
/bin/sh /usr/home/davepcd/src/php-4.0.1pl2/libtool --silent --mode=compile
gcc -
DHAVE_CONFIG_H -I. -I/usr/home/davepcd/src/php-4.0.1pl2/sapi/apache -I/usr/h
ome/
davepcd/src/php-4.0.1pl2 -I/usr/home/davepcd/src/php-4.0.1pl2/main -I/usr/lo
cal/
apache/1.2.6/include -I/usr/home/davepcd/src/php-4.0.1pl2/Zend -I/usr/home/d
avep
cd/src/php-4.0.1pl2 -I/usr/home/davepcd/src/php-4.0.1pl2/ext/mysql/libmysql
-I/u
sr/home/davepcd/src/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/home/davepcd/sr
c/ph
p-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c mod_php4.c
In file included from /usr/local/apache/1.2.6/include/httpd.h:59,
from mod_php4.c:33:
/usr/local/apache/1.2.6/include/conf.h:401: warning: `HAVE_SYS_RESOURCE_H'
redef
ined
/usr/home/davepcd/src/php-4.0.1pl2/php_config.h:568: warning: this is the
locati
on of the previous definition
/usr/local/apache/1.2.6/include/conf.h:406: warning: `HAVE_MMAP' redefined
/usr/home/davepcd/src/php-4.0.1pl2/php_config.h:277: warning: this is the
locati
on of the previous definition
mod_php4.c: In function `php_apache_log_message':
mod_php4.c:287: `requset_rec' undeclared (first use in this function)
mod_php4.c:287: (Each undeclared identifier is reported only once
mod_php4.c:287: for each function it appears in.)
mod_php4.c:287: syntax error before `)'
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2/sapi/apache.
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2/sapi/apache.
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2/sapi.
*** Error code 1
Stop in /usr/home/davepcd/src/php-4.0.1pl2.