Reg---PHP Installation error
| From: | senthilvellan | Date: | Thu, 06 Sep 2001 11:52:57 +0000 |
| Subject: | Reg---PHP Installation error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66197@lists.php.net to get a copy of this message | ||
Hello Techies,
I have installed php-4.05 and php4.06 under linux7.1(Red hat).Kernel(
2.4.2-2).
The installed lists are:
1.jdk1.2.2
2.jsdk2.0
3)mysql3.23.38
I got the following error while configuring php in both versions(4.05 and 4.06).The configure
options is
./configure --with-servlet=/usr/local/JSDK2.0/ --enable-ftp --with-java=/usr/local/jdk1.2.2
--with-mysql=/usr/local/ --enable-sockets --enable-sysvsem --enable-sysvshm
--with-apache=/usr/local/apache_1.3.17
Error
mkdir: cannot create directory `/usr/local/lib/php/extensions/no-debug-zts-20001
222': Not a directory
make[1]: Leaving directory `/usr/local/php-4.0.6'
Making install in pear
make[1]: Entering directory `/usr/local/php-4.0.6/pear'
make[2]: Entering directory `/usr/local/php-4.0.6/pear'
mkdir: `/usr/local/lib/php' exists but is not a directory
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory `/usr/local/php-4.0.6/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/php-4.0.6/pear'
make: *** [install-recursive] Error 1
While running make install-su also we got the same error.
Here i noted that the error is ,it tries to create php directory where php file exists.So manually i
change it to php1
after changing php to php1 i got the following error.
--------------------------------------------------------------------------------
Error
make[1]: Leaving directory `/usr/local/php-4.0.6'
Making install in pear
make[1]: Entering directory `/usr/local/php-4.0.6/pear'
Makefile:9: /build/rules.mk: No such file or directory
make[1]: *** No rule to make target `/build/rules.mk'. Stop.
make[1]: Leaving directory `/usr/local/php-4.0.6/pear'
make: *** [install-recursive] Error 1
Whether iam missing anything.Any help is appreciate.
Thanks in advance,
Senthilvellan.