Date: Wed, 28 Jul 2010 07:53:35 +0200 From: Zbigniew Szalbot <zszalbot@gmail.com> To: Kurt Buff <kurt.buff@gmail.com> Cc: =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= <freebsd-questions@pp.dyndns.biz>, freebsd-questions@freebsd.org Subject: Re: Upgrading Apache fails - Solved Message-ID: <AANLkTinX=wexuLpjE%2BQbfM37Q2Yvj4HTcWC5XL6v9CYn@mail.gmail.com> In-Reply-To: <AANLkTik2ndHU7wmuNSL8kSAV4ZwtBhc=Ja39vxLiHHhf@mail.gmail.com> References: <AANLkTik2ndHU7wmuNSL8kSAV4ZwtBhc=Ja39vxLiHHhf@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Thank you!
--
Zbigniew Szalbot
www.slowo.pl
www.fairtrade.net.pl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinX=wexuLpjE%2BQbfM37Q2Yvj4HTcWC5XL6v9CYn>
