>>>>> On Mon, 29 Jul 2002 13:43:13 +0400, "Ruslan V. Sulakov" <[EMAIL PROTECTED]> said:
RVS> My @INC contains WRONG directories!!! Help! RVS> How can I change @INC in perl for installing of Apache::SubProcess and other RVS> modules? RVS> At this time I cannot install any Apache::* related modules, because of bad RVS> @INC RVS> Platform: FreeBSD RVS> I have Apache::* modules installed in: RVS> /usr/local/lib/perl5/site_perl/5.6.1/mach/Apache/ RVS> But I cannot install needed modules: RVS> oasis2# tar -zxf Apache-SubProcess-0.03.tar.gz RVS> oasis2# cd Apache-SubProcess-0.03 RVS> oasis2# perl Makefile.PL RVS> Can't locate Apache/src.pm in @INC (@INC contains: ../lib RVS> /usr/libdata/perl/5.00503/mach / RVS> usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd RVS> /usr/local/lib/ RVS> perl5/site_perl/5.005 .) at Makefile.PL line 4. RVS> BEGIN failed--compilation aborted at Makefile.PL line 4. RVS> oasis2# Looks like your sys admin had installed perl from core and from ports and as result you have two perl installation on systems. Perl from core (5.00503) likely to have is binary in /usr/bin/perl and perl from ports (5.6.1) in /usr/local/bin/perl. If your PATH doesn't have /usr/local/bin or it comes after /usr/bin than 'perl Makefile.PL' uses perl from core. Try either changing your PATH or using full path to perl (i.e. /usr/local/bin/perl Makefile.PL). -- Ilya Martynov (http://martynov.org/)