Re: [PHP4BETA] Problems Compiling with Apache 1.3.12
| From: | Rasmus Lerdorf | Date: | Sun, 12 Mar 2000 23:18:12 +0000 |
| Subject: | Re: [PHP4BETA] Problems Compiling with Apache 1.3.12 | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12029@lists.php.net to get a copy of this message | ||
On Sun, 12 Mar 2000, Hunter Hillegas wrote:
> I checked the archives and didn't see this...
>
> I am compiling PHP4 with Apache 1.3.12. Here's my configure:
>
> PHP4:
> ./configure --with-mysql --with-apache=../apache_1.3.12 --enable-track-vars
>
> Apache:
> ./configure --activate-module=src/modules/php4/libphp4.a
>
>
> When Apache tries to build, it dies here:
>
> ...
> rm -f libstandard.a
> ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o
> mod_status.o mod_include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o
> mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o
> mod_setenvif.o
> ranlib libstandard.a
> <=== 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 `/usr/local/src/apache_1.3.12/src'
> make[1]: *** [build-std] Error 2
> make[1]: Leaving directory `/usr/local/src/apache_1.3.12'
> make: *** [build] Error 2
>
> Any ideas? I'm not on the list, so please respond privately.
Did you do a 'make install' from the PHP directory? I'd suggest using an
absolute path instead of a relative path in your --with-apache switch
-Rasmus