https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6736
Bug #: 6736
Summary: re2c path fail
Product: Spamassassin
Version: 3.3.2
Platform: All
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: sa-compile
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
When called via cron, using perl script sa-compile fails due to path ENV for
re2c when it is installed from source to _default_ location, being
/usr/local/bin
this is due to:
(at around lines 115)
unless (qx(re2c -V)) {
print "$0 requires re2c for proper operation.\n"
or die "error writing: $!";
exit 1;
}
I have corrected this by inserting $ENV{'PATH'} =
'/bin:/usr/bin:/usr/local/bin';
at the top of file.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.