From owner-freebsd-questions@FreeBSD.ORG Tue May 18 09:41:49 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 EC4A1106566B for ; Tue, 18 May 2010 09:41:49 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF148FC1D for ; Tue, 18 May 2010 09:41:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OEJJ5-0001z0-Cp for freebsd-questions@freebsd.org; Tue, 18 May 2010 11:41:47 +0200 Received: from pool-70-21-10-109.res.east.verizon.net ([70.21.10.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2010 11:41:47 +0200 Received: from nightrecon by pool-70-21-10-109.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2010 11:41:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org connect(): No such file or directory From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 18 May 2010 05:41:29 -0400 Lines: 60 Message-ID: References: <4BF26F40.25770.3B84C35@d.forsyth.ru.ac.za> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-10-109.res.east.verizon.net Subject: Re: building apr1 fails 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: Tue, 18 May 2010 09:41:50 -0000 DA Forsyth wrote: > Hiya all > > Going round in circles here tryign to update apache 2.0 to 2.2 > I have read UPDATING and it says to uninstall apache before updating > apr. Yes - the presence of 2.0 conflicts with 2.2 so it is necessary to remove first. > However, apr will not build, giving > > ===> Building for apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1 > cd /usr/ports/devel/apr1/work/apr-1.4.2; /usr/bin/env SHELL=/bin/sh > NO_LINT=YES ACLOCAL=/usr/local/bin/aclocal-1.9 > AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=19 > AUTOCONF=/usr/local/bin/autoconf-2.62 > AUTOHEADER=/usr/local/bin/autoheader-2.62 [snip] > /usr/ports/devel/apr1/work/apr-1.4.2/libtool: Xpasswd/apr_getpass.lo: > not found > libtool: compile: cannot determine name of library object from `': > not found > *** Error code 1 > > Stop in /usr/ports/devel/apr1/work/apr-1.4.2. > *** Error code 1 > > Stop in /usr/ports/devel/apr1/work/apr-1.4.2. > *** Error code 1 > > Stop in /usr/ports/devel/apr1. > *** Error code 1 > > Stop in /usr/ports/devel/apr1. > ====================================== > > I've tried a bunch of stuff, including rebuilding libtool22, > upgrading to python26 and a few other things I cannot recall now. > I have seen before reports concerning problems with building Apache utilizing the devel/apr port (the recommended default). Since the variables controlling the Apache version have changed over time you should look at your make.conf and ensure there is no left over cruft of the WITH_APACHE=xx or USE_APACHE=xx variety. In the beginning of the move towards 2.0 and the subsequent introduction of 2.2 it was necessary to set these, but that is no longer true. When you do 'make config' for the Apache build, deselect the 'APR_FROM_PORTS "Use devel/apr (recommended)"' option. It is "ON" by default and is the recommended selection. It has some kind of problem and this error has been reported on these lists before. I just updated Apache to 2.2.15_5 yesterday and it builds fine when the above mentioned option is turned off. -Mike