From owner-freebsd-questions Sat Feb 15 8: 7:43 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D13137B401 for ; Sat, 15 Feb 2003 08:07:41 -0800 (PST) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2946D43F3F for ; Sat, 15 Feb 2003 08:07:40 -0800 (PST) (envelope-from rebehn@ant.uni-bremen.de) Received: from taipeh.ant.uni-bremen.de ([134.102.176.3] helo=ant.uni-bremen.de ident=rebehn) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.10) id 18k4qp-0001rB-00; Sat, 15 Feb 2003 16:07:39 +0000 Message-ID: <3E4E65CB.9080908@ant.uni-bremen.de> Date: Sat, 15 Feb 2003 17:07:39 +0100 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Per olof Ljungmark Cc: freebsd-questions@freebsd.org Subject: Re: gs not found, scripts failing References: <3E4E141D.9000302@intersonic.se> In-Reply-To: <3E4E141D.9000302@intersonic.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Per olof Ljungmark wrote: > I'm having problems with scripts involvivng Ghostscript on FreeBSD > (4.6-4.7). > Specifically, I am implementing a Hylafax solution and most of it works > but there a two areas that fail: > 1. Running the SambaFax (http://www.purpel3.com/sambafax/) utility that > extracts a fax number from a postscript file > > 2. Using the "faxrcvd" script that comes with Hylafax converting > incoming faxes to pdf's. > > In both cases the scripts seems to fail when tiff2ps, ps2pdf etc. are > being executed. > > Running the scripts manually from the shell works. seems like /usr/local/bin (this is where gs lives) is not in the PATH when your scripts are executed. Try to set the PATH env variable in the script, i.e. PATH=/usr/bin:/usr/local/bin export PATH (Syntax is for Bourne shell) HTH Heinrich > > The only trace I hae so far from the logs is when (1.) is executed, > cupsd reports "gs: not found". > > How do I go about debugging this? I am in no way a programmer although I > understand parts of what the scripts are doing. > > Grateful for any advice, > Per olof > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - E-mail: mailto:rebehn@ant.uni-bremen.de Phone : +49/421/218-4664 Fax : -3341 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message