On Thu, Aug 08, 2002 at 08:23:52PM -0700, i18n wrote:
> This is really critical - site barely functioning so I hope someone can help ASAP
> I recently upgraded my machine from rh 7.2 to 7.3 via the online update. Pretty sure I didn't install an upgraded apache because, well, you know...
> I hadn't loked at the site for a coupe of weeeks and now I notice a problem - maybe perl got upgraded and now a lot of modules are no longer in the @INC path:
> [root@... perl5]# perl -V
> <cruft snipped>
> [root@... perl5]# rpm -qa|grep perl-5
> [root@... perl5]# locate DB.pm|grep Slash
> Note that @INC points to /usr/lib/perl5 everywhere, but some required modules are under /usr/local/lib/perl5
> How can I fix this? do I have to identify and hand move all the modules? Could I identify (not fun) the modules and make link to them from /usr/lib/perl5? Is there a way to force perl to add the /usr/local/lib/perl5 modules into @INC? If so, should I add them at the beginning or the end of the list?
> Thanks - this is really critical as I mentioned!
See the 'use lib' statement in perl. You can probably get yourself
up and running by adding that to only a handful of slash files.
You might also want to dig around RH site. I can't believe that
you are the only person whacked by their removing /usr/local/ from
@INC. There might be another perl package. It might even be
easiest just to build your own perl.
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> Slashcode-general mailing list
Christopher F. Miller, Publisher cfm@...
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
Content/site management, online commerce, internet integration, Debian linux