From owner-freebsd-questions@FreeBSD.ORG Wed Jul 28 06:56:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B7391065677 for ; Wed, 28 Jul 2010 06:56:52 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6598FC2A for ; Wed, 28 Jul 2010 06:56:49 +0000 (UTC) Received: from [212.54.42.143] (helo=smtp12.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Oe0ZM-00023F-8I for freebsd-questions@freebsd.org; Wed, 28 Jul 2010 08:56:48 +0200 Received: from [84.25.59.18] (helo=ra.egypt.nl) by smtp12.tb.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1Oe0Z3-0002zx-H1 for freebsd-questions@freebsd.org; Wed, 28 Jul 2010 08:56:29 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id D62FE39887 for ; Wed, 28 Jul 2010 08:56:28 +0200 (CEST) Message-ID: <4C4FD49B.3070201@boosten.org> Date: Wed, 28 Jul 2010 08:56:27 +0200 From: Peter Boosten User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1Oe0Z3-0002zx-H1 X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.5, vereist 5, BAYES_50 0.00, CM_META_TB_NOARR 0.50, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Subject: Re: Upgrading Apache fails - Solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 06:56:52 -0000 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