From owner-freebsd-ports@FreeBSD.ORG Fri Mar 24 09:18:10 2006 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF7916A422 for ; Fri, 24 Mar 2006 09:18:10 +0000 (UTC) (envelope-from lawrance@FreeBSD.org) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6E2143D45 for ; Fri, 24 Mar 2006 09:18:09 +0000 (GMT) (envelope-from lawrance@FreeBSD.org) Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (Postfix) with ESMTP id 32269527F84; Fri, 24 Mar 2006 20:17:29 +1100 (EST) Received: from [192.168.0.7] (ppp28A9.dyn.pacific.net.au [61.8.40.169]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id k2O9HO7T011412; Fri, 24 Mar 2006 20:17:27 +1100 In-Reply-To: <0EF5CD301A7EA4ABAE895ACD@utd59514.utdallas.edu> References: <0EF5CD301A7EA4ABAE895ACD@utd59514.utdallas.edu> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Fri, 24 Mar 2006 20:17:23 +1100 To: Paul Schmehl X-Mailer: Apple Mail (2.746.2) Cc: freebsd-ports@FreeBSD.org Subject: Re: Startup at boot problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Mar 2006 09:18:10 -0000 On 24/03/2006, at 6:10 AM, Paul Schmehl wrote: > I'm working on a new port that uses tcl scripting rather than > compiled binaries. The startup script works fine except at boot. > During the boot, I get this error message: > "exec: tclsh8.4: not found" > > The script has the following in the "header" section: > # PROVIDE: sensor_agent > # REQUIRE: LOGIN tclsh8.4 > # BEFORE: LOGIN > # KEYWORD: FreeBSD shutdown > > Is there some other word I can use in REQUIRE that will allow > tclsh8.4 to be found? I think you've misunderstood what REQUIRE is meant to do (it's not for specifying dependencies like a port does with *_DEPENDS). See the man page for rcorder.