On Sat, 28 Jul 2007 at 04:54 -0400, [EMAIL PROTECTED] confabulated:

Catalin Miclaus wrote:

I have SA 3.2.1 and FreeBSD 6.2.

I?m trying to run sa-compile by using a weekly cron job but I have this error:

Can't exec "re2c": No such file or directory at /usr/local/bin/sa-compile line 278, <$fh> line 2944.

command failed! at /usr/local/bin/sa-compile line 279, <$fh> line 2944.

If I run same script from CLI is working fine.

Add the path to re2c to your cron environment's PATH variable.

I noticed the same error. After adding /usr/local/bin to the path in the crontab for root (i.e.: PATH=/usr/local/bin at the top) all errors were resolved. The other error that showed up here was gpg couldn't be found. Thanks for the tip!

-------
  _|_
 (_| |

Reply via email to