PHP 4.0 Bug #5088: make fails on configuration-parser.c
| From: | g dot hopper at computer dot org | Date: | Fri, 16 Jun 2000 16:52:04 +0000 |
| Subject: | PHP 4.0 Bug #5088: make fails on configuration-parser.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21541@lists.php.net to get a copy of this message | ||
From: g.hopper@computer.org
Operating system: solaris 2.7
PHP version: 4.0.0 Release
PHP Bug Type: Installation problem
Bug description: make fails on configuration-parser.c
./configure --with-apache=../apache_1.3.12 --enable-track-vars
make
make fails with "permission denied" when it hits configuration-parser.c and
configuration-scanner.c. The quick solution is to substitute './' for every occurance of
'/home/zeev/php4/php-4.0.0//' in both of these files. (I count 45 occurances with wc -l)
The reason make said "permission denied" is that my system is set up to automount under
the /home directory, and /home/zeev does not exist.
Here is the message from make:
make[1]: Entering directory `/tmp/php-4.0.0'
gcc -DHAVE_CONFIG_H -I. -I/tmp/php-4.0.0/ -I/tmp/php-4.0.0 -I/tmp/php-4.0.0/Zend -I/tmp/php-4.0.0
-I/tmp/php-4.0.0/ext/mysql/libmysql -I/tmp/php-4.0.0/ext/xml/expat/xmltok
-I/tmp/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -O2 -Wall -c main.c &&
touch main.lo
gcc -DHAVE_CONFIG_H -I. -I/tmp/php-4.0.0/ -I/tmp/php-4.0.0 -I/tmp/php-4.0.0/Zend -I/tmp/php-4.0.0
-I/tmp/php-4.0.0/ext/mysql/libmysql -I/tmp/php-4.0.0/ext/xml/expat/xmltok
-I/tmp/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -O2 -Wall -c internal_functions.c
&& touch internal_functions.lo
gcc -DHAVE_CONFIG_H -I. -I/tmp/php-4.0.0/ -I/tmp/php-4.0.0 -I/tmp/php-4.0.0/Zend -I/tmp/php-4.0.0
-I/tmp/php-4.0.0/ext/mysql/libmysql -I/tmp/php-4.0.0/ext/xml/expat/xmltok
-I/tmp/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -O2 -Wall -c snprintf.c &&
touch snprintf.lo
gcc -DHAVE_CONFIG_H -I. -I/tmp/php-4.0.0/ -I/tmp/php-4.0.0 -I/tmp/php-4.0.0/Zend -I/tmp/php-4.0.0
-I/tmp/php-4.0.0/ext/mysql/libmysql -I/tmp/php-4.0.0/ext/xml/expat/xmltok
-I/tmp/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -O2 -Wall -c php_sprintf.c
&& touch php_sprintf.lo
gcc -DHAVE_CONFIG_H -I. -I/tmp/php-4.0.0/ -I/tmp/php-4.0.0 -I/tmp/php-4.0.0/Zend -I/tmp/php-4.0.0
-I/tmp/php-4.0.0/ext/mysql/libmysql -I/tmp/php-4.0.0/ext/xml/expat/xmltok
-I/tmp/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=21 -g -O2 -Wall -c configuration-parser.c
&& touch configuration-parser.lo
/home/zeev/php4/php-4.0.0//configuration-parser.y:25: php.h: Permission denied
/home/zeev/php4/php-4.0.0//configuration-parser.y:26: php_globals.h: Permission denied
/home/zeev/php4/php-4.0.0//configuration-parser.y:27: php_ini.h: Permission denied
/home/zeev/php4/php-4.0.0//configuration-parser.y:28: ext/standard/dl.h: Permission denied
/home/zeev/php4/php-4.0.0//configuration-parser.y:29: ext/standard/file.h: Permission denied
/home/zeev/php4/php-4.0.0//configuration-parser.y:30: ext/standard/php_browscap.h: Permission denied
/home/zeev/php4/php-4.0.0//configuration-parser.y:31: zend_extensions.h: Permission denied
make[1]: *** [configuration-parser.lo] Error 1
make[1]: Leaving directory `/tmp/php-4.0.0'
make: *** [all-recursive] Error 1