Hi all, I have a problem with compiling PHP 4.0.5 as Apache static module
with mysql backend on Solaris 2.7 on SUN SPARC.

I compiled apache 1.3.6 with PHP 4.0.2 as Apache static module with mysql on
the same system before, and I did not have any problem.  I downloaded PHP
4.0.5, and untar another apache 1.3.6 to start from the flesh install this
time as follows:

5.  cd apache_1.3.6
6.  ./configure --prefix=/usr/local/apache
7.  cd ../php-4.0.5
8.  ./configure --with-mysql --with-apache=../apache_1.3.6
--enable-track-vars
9.  make
10. make install-su
11. cd ../apache_1.3.6
12. ./configure --activate-module=src/modules/php4/libphp4.a
13. make

Here is the error on make:

<=== src/modules/standard
===> src/modules/php4
make[4]: *** No rule to make target `all'.  Stop.
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/web/kits3/apache_1.3.6/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/web/kits3/apache_1.3.6'
make: *** [build] Error 2

According to my investigation, I have no files generated under the following
directories:

/kits3/php-4.0.5/libs
/kits3/apache_1.3.6/src/modules/php4

There is no files generated under src/modules/php4, so "make" was failing,
but I did not see ant errors when I compiled PHP.

When I checked successful PHP 4.0.2 compilation directly tree from last
compilation, I saw files like:


ls -l /kits/php-4.0.2/libs
total 16130
-rw-r--r--   1 kk staff    8247132 Sep  6  2000 libphp4.a
-rw-r--r--   1 kk staff            781 Sep  6  2000 libphp4.la


ls -l /kits/apache_1.3.6/src/modules/php4
total 32210
-rw-r--r--   1 kk staff       3693 Sep  6  2000 Makefile
-rw-r--r--   1 kk staff        252 Sep  6  2000 Makefile.libdir
-rw-r--r--   1 kk  staff       2228 Sep  6  2000 Makefile.tmpl
-rw-r--r--   1 kk  staff    8247132 Sep  6  2000 libmodphp4.a
-rw-r--r--   1 kk  staff    8167592 Jun 22 12:17 libphp4.a
-rw-r--r--   1 kk  staff        427 Sep  6  2000 libphp4.module
-rw-r--r--   1 kk  staff      22411 Sep  6  2000 mod_php4.c
-rw-r--r--   1 kk  staff         12 Sep  6  2000 mod_php4.exp
-rw-r--r--   1 kk  staff       1714 Sep  6  2000 mod_php4.h
-rw-r--r--   1 kk  staff          0 Sep  6  2000 mod_php4.lo
-rw-r--r--   1 kk  staff      14660 Jun 22 12:17 mod_php4.o


What is causing this problem?   Can anyone help?

Thanks.

Ken



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to