From owner-freebsd-questions@FreeBSD.ORG Sat Apr 12 20:07:21 2008 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 31A201065670 for ; Sat, 12 Apr 2008 20:07:21 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D88FB8FC1A for ; Sat, 12 Apr 2008 20:07:20 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 1E3C31CC91; Sat, 12 Apr 2008 12:07:20 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sat, 12 Apr 2008 22:07:17 +0200 User-Agent: KMail/1.9.7 References: <1ba9cd9a0804111713h53374c26j9ef138e616deb65f@mail.gmail.com> <200804122122.07061.fbsd.questions@rachie.is-a-geek.net> <1ba9cd9a0804121229n4078d19fhdc11054b3da2ad98@mail.gmail.com> In-Reply-To: <1ba9cd9a0804121229n4078d19fhdc11054b3da2ad98@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804122207.17953.fbsd.questions@rachie.is-a-geek.net> Cc: Joseph Simmons Subject: Re: PHP5 install error on FreeBSD 7.0 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: Sat, 12 Apr 2008 20:07:21 -0000 On Saturday 12 April 2008 21:29:18 Joseph Simmons wrote: > cougar# pwd > /usr/ports/www/apache22/work/httpd-2.2.6 > cougar# make -n install-htdocs > echo Installing HTML documents ; > /usr/ports/www/apache22/work/httpd-2.2.6/build/mkdir.sh > /usr/local/www/apache22/data ; test -d > /usr/ports/www/apache22/work/httpd-2.2.6/docs/docroot && (cd > /usr/ports/www/apache22/work/httpd-2.2.6/docs/docroot && cp -rp > index.html ) && ( [ ! -f /usr/local/www/apache22/data/index.html ] && > cp -p /index.html /usr/local/www/apache22/data/index.html) Apparently they fixed that in 2.2.8, because my version ends in ||true which makes any failure not fatal. Part of the problem is that htdocsdir is not set, so cp -p /index.html fails, even though config.log shows the value, it's not translated to the Makefile. Hmm, the quick fix would be to run: cd /usr/ports/www/apache22/work/httpd-2.2.6 && make -k install The longer but probably better fix is to update your ports tree, using csup or portsnap. In that case the handbook is your friend: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html One reason it is the better fix, is that 2.2.8 fixes a few security issues: http://www.apache.org/dist/httpd/CHANGES_2.2.8 -- Mel Problem with today's modular software: they start with the modules and never get to the software part.