Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2003 13:57:56 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        Plamen Stoev <ps@ro-ni.net>
Cc:        dirk@freebsd.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports - mod_php4 pr
Message-ID:  <3E71D1D4.5020108@liwing.de>
References:  <20030314092641.GA8414@ns.shumen.spnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Plamen Stoev wrote:
[...]

> checking for Apache 2.0 module support via DSO through APXS... apxs:Error: Invalid query string `MPM_NAME'
> configure: error: You have enabled Apache 2 support while your server is Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)
> ===>  Script "configure" failed unexpectedly.
>       Please report the problem to dirk@FreeBSD.org [maintainer] and attach
>       the "/usr/ports/www/mod_php4/work/php-4.3.1/config.log" including the
>       output of the failure of your make command. Also, it might be a good
>       idea to provide an overview of all packages installed on your system
>       (e.g. an `ls /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/www/mod_php4.
> *** Error code 1
> 
> Stop in /usr/ports/www/mod_php4.
> 
> #
> 
> Fix:
> 
> --- Makefile.orig    Fri Mar  7 08:12:44 2003
> +++ Makefile       Fri Mar 14 11:09:16 2003
> @@ -46,7 +46,7 @@
>  .endif
> 
>  .if defined(WITH_APACHE2)
> -CONFIGURE_ARGS=        --with-apxs2=${PREFIX}/sbin/apxs \
> +CONFIGURE_ARGS=        --with-apxs2=${PREFIX}/sbin/apxs2 \
>                 --with-tsrm-pth
>  PLIST_SUB=     MOD_DIR=libexec/apache2
>  .else
> 

# pkg_info -W /usr/local/sbin/apxs
/usr/local/sbin/apxs was installed by package apache-2.0.44
# pkg_info -W /usr/local/sbin/apxs2
pkg_info: /usr/local/sbin/apxs2: file cannot be found
#

It seems your apache 2 installation either is wrong or you made another 
mistake.

So long,
Jens


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E71D1D4.5020108>