On Wed, Feb 20, 2013 at 08:02:45AM +0000, Martin wrote: > Been through a similar problem in the recent past. The problem is the path to > Business::Hours is not in the @INC path as in my case > > try to find it on the system using find / -iname "hours.pm" > > I bet it will be at this location since you have Business::Hours 0.10 > > /root/.cpan/build/Business-Hours-0.10-UqgfYQ/lib/Business/Hours.pm
This is the build location for the cpan command line client > now copy it to this location /usr/share/perl5/Business > > do > cat /root/perl5/lib/perl5/Business/Hours.pm >> > /usr/share/perl5/Business/Hours.pm > > once you are done try restart your apache. any other modules turn out missing > use those steps. This really isn't the right way to install perl modules and will break badly when you get to more complicated perl modules. The right solution is finding out why it was built but not installed (or installed to the wrong locations). As I mentioned in my reply, running cpan i Business::Hours Will tell you exactly where cpan thinks the module is installed. I was waiting for that information from the original requestor. -kevin
pgpjI1qyOOEpp.pgp
Description: PGP signature
_______________________________________________ Rtir mailing list [email protected] http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir
