From owner-freebsd-doc@FreeBSD.ORG Fri Nov 25 00:20:08 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 523B2106564A for ; Fri, 25 Nov 2011 00:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC428FC12 for ; Fri, 25 Nov 2011 00:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pAP0K8qC091776 for ; Fri, 25 Nov 2011 00:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pAP0K8gB091775; Fri, 25 Nov 2011 00:20:08 GMT (envelope-from gnats) Resent-Date: Fri, 25 Nov 2011 00:20:08 GMT Resent-Message-Id: <201111250020.pAP0K8gB091775@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, pirat sriyotha Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55B70106566B for ; Fri, 25 Nov 2011 00:16:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6388FC16 for ; Fri, 25 Nov 2011 00:16:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pAP0G2H0017807 for ; Fri, 25 Nov 2011 00:16:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pAP0G2kX017806; Fri, 25 Nov 2011 00:16:02 GMT (envelope-from nobody) Message-Id: <201111250016.pAP0G2kX017806@red.freebsd.org> Date: Fri, 25 Nov 2011 00:16:02 GMT From: pirat sriyotha To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/162862: DESTDIR environment variable setting is not correct for apache22 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 00:20:08 -0000 >Number: 162862 >Category: docs >Synopsis: DESTDIR environment variable setting is not correct for apache22 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 25 00:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: pirat sriyotha >Release: FreeBSD dell.jes.or.th 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #1: Sun May 29 15:21:52 ICT 2011 root@jotawski.tint.or.th:/usr/obj/usr/src/sys/JOTAWSKI amd64 >Organization: - >Environment: FreeBSD dell.jes.or.th 8.2-RELEASE-p0 FreeBSD 8.2-RELEASE-p0 #1: Sun May 29 15:21:52 ICT 2011 root@jotawski.tint.or.th:/usr/obj/usr/src/sys/JOTAWSKI amd64 >Description: in chapter 8 of FDP primer section 8.3 bullet 2 wrote that DESTDIR environment variable must be given in order to install into local servers and the value is /usr/local/www Nowaday, for apache2 web server, this value is quite far from real situation. The most appropriate value for apache2 should be /usr/local/www/apache22 as in # env DESTDIR=/usr/local/www/apache22 make install >How-To-Repeat: open your web browser and point to http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/the-website-install.html >Fix: change command line from # env DESTDIR=/usr/local/www make install to # env DESTDIR=/usr/local/www/apache22 make install a patch for chapter.sgml at books/fdp-primer/the-website is attached Patch attached with submission follows: Index: chapter.sgml =================================================================== RCS file: /home/motorc/Repository-motorc/doc/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.sgml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- chapter.sgml 15 Nov 2011 07:30:08 -0000 1.1 +++ chapter.sgml 24 Nov 2011 23:57:34 -0000 1.2 @@ -289,7 +289,7 @@ setting the DESTDIR variable to the name of the directory you want to install the files to. - &prompt.root; env DESTDIR=/usr/local/www make install + &prompt.root; env DESTDIR=/usr/local/www/apache22 make install >Release-Note: >Audit-Trail: >Unformatted: