Date: Sat, 15 Feb 2003 17:07:39 +0100 From: Heinrich Rebehn <rebehn@ant.uni-bremen.de> To: Per olof Ljungmark <peo@intersonic.se> Cc: freebsd-questions@freebsd.org Subject: Re: gs not found, scripts failing Message-ID: <3E4E65CB.9080908@ant.uni-bremen.de> In-Reply-To: <3E4E141D.9000302@intersonic.se> References: <3E4E141D.9000302@intersonic.se>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E4E65CB.9080908>