config issue?

Rob Livermore rlivermore at TWNS.COM
Tue Aug 26 18:17:26 IST 2003


/usr/local/bin is in the PATH environment.

I followed Julian Fields suggestion:
"If you delete the one in /usr/local, you want to *NOT* delete
/usr/bin/perl,
you want to delete /usr/local/bin/perl* and /usr/local/lib/perl*."

So /usr/local/bin/ does not have any perl files/directories.

-----Original Message-----
From: mikea [mailto:mikea at MIKEA.ATH.CX]
Sent: Tuesday, August 26, 2003 10:01 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: config issue?


On Tue, Aug 26, 2003 at 09:45:32AM -0700, Rob Livermore wrote:
> I realize this is a lot of hand-holding but after following your
directions
> and after reinstalling MS I attempted to reinstall SA by running:
>
> $perl Makefile.PL
>
> Immediately after running the command it reported the following issue:
> bash: /usr/local/bin/perl: No such file or directory
>
> Does the system need to be restarted after deleting the other versions of
> Perl in order for SA to run correctly?

Look in your PATH environment variable; if you're running as root,
it probably should include /usr/local/bin.

Here's an example from my MailScanner box:

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
:/usr/X11R6/bin:/root/bin

--
Mike Andrews
mikea at mikea.ath.cx
Tired old sysadmin since 1964



More information about the MailScanner mailing list