Date: Wed, 28 Jul 2010 08:56:27 +0200 From: Peter Boosten <peter@boosten.org> To: freebsd-questions@freebsd.org Subject: Re: Upgrading Apache fails - Solved Message-ID: <4C4FD49B.3070201@boosten.org> In-Reply-To: <AANLkTinX=wexuLpjE%2BQbfM37Q2Yvj4HTcWC5XL6v9CYn@mail.gmail.com> References: <AANLkTik2ndHU7wmuNSL8kSAV4ZwtBhc=Ja39vxLiHHhf@mail.gmail.com> <AANLkTinX=wexuLpjE%2BQbfM37Q2Yvj4HTcWC5XL6v9CYn@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 28-7-2010 7:53, Zbigniew Szalbot wrote: > Hello, > >> I had to pkg_delete both apache22 and apr1, pkgdb -F, then reinstall >> apache22, but all is well now. > > I followed the original suggestions from UPDATING > > 1. pkg_delete -f apache-2.\* > 2. portupgrade -f -o devel/apr1 devel/apr > 3. portinstall www/apache22 > > However, I get the following then: > > checking for APR... configure: error: the --with-apr parameter is > incorrect. It must specify an install prefix, a build directory, or an > apr-config file. > ===> Script "configure" failed unexpectedly. > Please report the problem to apache@FreeBSD.org [maintainer] and attach the > "/usr/ports/www/apache22/work/httpd-2.2.16/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/apache22. > *** Error code 1 > > Stop in /usr/ports/www/apache22. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portinstall20100728-30282-trybeq-0 env make > ** Fix the problem and try again. > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! www/apache22 (configure error) > > When I check pkg_info -Ix apr, I get: > > pkg_info -Ix apr > apr-ipv6-devrandom-gdbm-db42-mysql50-1.4.2.1.3.9_1 Apache Portability Library > xf86dgaproto-2.0.3 XFree86-DGA extension headers > xineramaproto-1.1.2 Xinerama extension headers > > Do you think I should delete the apr port before attempting to install > apache again? > It has been a while back, but IIRC I had to 'make config' in the apr port to enable ldap (because I'm using that) to be able to recompile apr/apache. Peter -- http://www.boosten.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C4FD49B.3070201>