From owner-freebsd-questions@FreeBSD.ORG Sun Apr 13 18:23:17 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 AE2ED106566C for ; Sun, 13 Apr 2008 18:23:17 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: from po-out-1718.google.com (po-out-1718.google.com [72.14.252.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7DD388FC18 for ; Sun, 13 Apr 2008 18:23:17 +0000 (UTC) (envelope-from josephdsimmons@gmail.com) Received: by po-out-1718.google.com with SMTP id b23so2680776poe.3 for ; Sun, 13 Apr 2008 11:23:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=H8Ut3kyo7W/U0bgzWu04nG2bAL361AI/b3h9VwDsUac=; b=tmPJTKJEQXQ8RvAD4HAjzcitWWwwV2BurWA7T+7cA6NNfmoZHUZTBbUk5HoyrEEQg+pMIlT9My4p4T+mWzA1dXOmBARAxJ77nPv1CB5ROA5wHZ0aUI0IehqF5D39u+dJp1QukzJWMU6i5eRZ0Z6mfD7PzlPwQWwEP7ntPi+LtYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Eu8hLvbP2x3k49q4QCUcuwb0ty1PZqA5KFcASsP+xfAWBPQ64iyb0yNoHpSfg9qo1wpsMRAe1Nz4THtTWIHLH/bypntdVbFtpweKtn+ZOoNP/ef6gL3MgWjkFxGzSZApBIjLDmgBM/xuobi2NsTz+Cxjkt/2wdnAFrCnxtBTgS4= Received: by 10.140.207.16 with SMTP id e16mr2861305rvg.297.1208110997101; Sun, 13 Apr 2008 11:23:17 -0700 (PDT) Received: by 10.141.197.11 with HTTP; Sun, 13 Apr 2008 11:23:17 -0700 (PDT) Message-ID: <1ba9cd9a0804131123r52b2348au523908c59bddabd8@mail.gmail.com> Date: Sun, 13 Apr 2008 13:23:17 -0500 From: "Joseph Simmons" Cc: freebsd-questions@freebsd.org In-Reply-To: <200804122207.17953.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1ba9cd9a0804111713h53374c26j9ef138e616deb65f@mail.gmail.com> <200804122122.07061.fbsd.questions@rachie.is-a-geek.net> <1ba9cd9a0804121229n4078d19fhdc11054b3da2ad98@mail.gmail.com> <200804122207.17953.fbsd.questions@rachie.is-a-geek.net> 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: Sun, 13 Apr 2008 18:23:17 -0000 Updating the port tree worked with no problems. Thanks On Sat, Apr 12, 2008 at 3:07 PM, Mel wrote: > 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. >