Re: failed build with apache 2.0.39 and default install of php 4.2.2
| From: | Ryan Creasey | Date: | Fri, 09 Aug 2002 03:42:50 +0000 |
| Subject: | Re: failed build with apache 2.0.39 and default install of php 4.2.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8061@lists.php.net to get a copy of this message | ||
Well, each time I fail and rebuild I'm cleaning up the previous install...
don't worry about that. As for the configure commands, it's simply using
the default --with-mysql --with-zlib, and the WITH_APACHE2 flag to the port,
it adds --with-apxs2.
This is a combination of a FreeBSD ports problem and a configuration problem...
I've already mailed the port maintainer, but I thought I'd try my hand
here... I really don't know why this is happening the way it is; I was able
to install apache-2.0.36 and php-4.2.1 just fine, under the same environment
(In fact, this had taught me to do 'make builds' and preserving the installed
version before I install the upgrade).
Any ideas for those who are familiar with this method?
- Ryan C. Creasey
Network Engineer
p11creative
Bob Lockie wrote:
> On Thu, 8 Aug 2002 15:51:05 -0700, Ryan C. Creasey wrote:
>=20
> >I'm running fbsd 4.6, with a new port tree. I've installed apache-2.0.39
> >via ports and it runs just fine. However, after trying to install the
> >mod_php4 port, using only the mysql and zlib options (well, and the
> >WITH_APACHE2 var defined as well), it runs into an error here:
> >
> >Configuring SAPI modules
> >checking for AOLserver support... no
> >checking for Apache 1.x module support via DSO through APXS... no
> >checking for Apache 1.x module support... no
> >checking for mod_charset compatibility option... no
> >checking for Apache 2.0 module support via DSO through APXS... configure:
> >error: ZTS currently requires working POSIX threads. We were unable to
> >verify that your system supports Pthreads.
> >
> >And as the config.log suggests:
> >configure:3548: checking for AOLserver support
> >configure:3624: checking for Apache 1.x module support via DSO through A=
PXS
> >configure:3756: checking for Apache 1.x module support
> >configure:3943: checking for mod_charset compatibility option
> >configure:4013: checking for Apache 2.0 module support via DSO through A=
PXS
> >
> >I'm a long time user of the fbsd ports and php alike. I've reinstalled
> >ports and apache several times, all yielding the same results. Any
> >suggestions?
>=20
> What is your configure command for PHP?=0B
> Run 'make clean' and 'rm config.cache' before you recompile.
> Make sure you use --with-apxs2 for Apache2.
>=20
>=20
>=20
----- End forwarded message -----