From owner-freebsd-questions@FreeBSD.ORG Mon Nov 10 20:36:46 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 C97E6106596C for ; Mon, 10 Nov 2008 20:36:46 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from blade2-ext.obspm.fr (blade2-ext.obspm.fr [145.238.186.8]) by mx1.freebsd.org (Postfix) with ESMTP id 618C88FC24 for ; Mon, 10 Nov 2008 20:36:45 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by blade2-ext.obspm.fr (8.13.8/8.13.8/SIO Observatoire de Paris - 15/11/07) with ESMTP id mAAKahIb020109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 10 Nov 2008 21:36:44 +0100 Date: Mon, 10 Nov 2008 21:36:43 +0100 From: Albert Shih To: Jerry McAllister Message-ID: <20081110203643.GH27646@obspm.fr> References: <20081110110805.GK1302@obspm.fr> <20081110161002.GA81960@gizmo.acns.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081110161002.GA81960@gizmo.acns.msu.edu> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (blade2-ext.obspm.fr [145.238.186.20]); Mon, 10 Nov 2008 21:36:44 +0100 (CET) X-Virus-Scanned: ClamAV 0.94/8600/Mon Nov 10 20:40:23 2008 on blade2-ext.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: PATH problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2008 20:36:46 -0000 Le 10/11/2008 à 11:10:02-0500, Jerry McAllister a écrit > On Mon, Nov 10, 2008 at 12:08:05PM +0100, Albert Shih wrote: > > > Hi all > > > > Whenever you use some command or address some file in a script or within a > program, you should use the full path - starting with '/' so instead of > lcalling it 'd' in the script or program, call it '/usr/local/bin/dot' > > You can also explicitly add /usr/local/bin to your path and/or your > script's path. Something like > > set path=$path:/usr/local/bin > or set path=/bin:/usr/bin:/usr/local/bin:/usr/local/lib/perl5/site_perl/5.8.8/GraphViz.pm > > or whatever you want the path to be. > > The syntax may vary some between different shells. OK. But....I don't write any problem. Maybe my question is not very clear.... The p5 package work in shell, because the PATH is in the shell. But when I use the application throught the web it's not working. But I don't known how to tell apache ? mod_perl ? the PATH. And I don't want to change the perl package because that's mean on every update I must make that little modification (event I don't known where to make that modification). That's mean the day I'm in vacation the web application can be broken if my collegue make a update. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26 Heure local/Local time: Lun 10 nov 2008 21:30:25 CET