Hello Richard, On Fri, Oct 16, 2009 at 11:16:01AM +0100, beamends wrote: > On Fri, 2009-10-16 at 10:56 +0100, Pete Houston wrote: > > On Fri, Oct 16, 2009 at 10:36:30AM +0100, beamends wrote: > > > [Fri Oct 16 09:05:06 2009] [error] [client 127.0.0.1] Can't locate > > > MIME/Lite.pm in @INC (@INC > > > contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at LedgerSMB/Mailer.pm line 39. > > > > This is the fatal error. It seems that either you don't have MIME::Lite > > installed, or it isn't where perl expects it to be. > > > > So, > > > > 1. Is it installed? Try "locate MIME/Lite.pm". If not found, install it. > > > > 2. If it is installed, you need to find out why the place it is > > installed is not in @INC. Let us know where it is installed and we can > > maybe suggest what to do. > > > > HTH, > > > > Pete > > Hi Pete, > locate returns: > > ..hidden..:~$ locate MIME/Lite.pm > /usr/local/lib/perl5/site_perl/5.10.0/MIME/Lite.pm > > so I guess it is installed but not in the list (I think) - I'm afraid > the PATH stuff confuses the hell out of me! I do not know how you've managed to get to this point, but you have 2 options: 1. The fix is probably to uninstall and then reinstall MIME::Lite. When re-installing it should go in the right place. 2. The workaround is to add the location /usr/local/lib/perl5/site_perl/5.10.0 to @INC. This can be done using the environment variable PERL5LIB which you can set in your Apache configuration. Something like (untested): SetEnv PERL5LIB /usr/local/lib/perl5/site_perl/5.10.0 in your httpd.conf (or sql-ledger.conf) in the Apache tree. Good luck, Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107
Attachment:
pgpXgyrvCVVHA.pgp
Description: PGP signature