All perl packages which are provided by your distribution should put their perl modules in one of the vendor_perl directories (excluding, of course, the perl package itself and any direct components thereof, which should put things in the core directories.)
The easiest manner one could make it not work in this fashion would be to utilize a mod_perl package from someone other than the distribution vendor which places its files elsewhere. Perl silently ignores any @INC directories which do not exist. So long as the files it is looking for are in a directory which does exist and is included in @INC, you should be good. Presence of mind check: do you need a mod_perl-dev package or something like that? I'm pretty sure you would if you were running Ubuntu, as the normal Ubuntu mentality is to move things only needed to compile other things and are not specifically compiling tools themselves into -dev packages. Ed On Tue, 6 Oct 2009, Soltan Safavi wrote: > Hi Gerald > > I believe mod_perl is installed correctly. > Here I have the content of the @INC > > /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi > /usr/local/lib/perl5/site_perl/5.10.0 > /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.10.0/i386-linux-thread-multi > /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl > . > but paths with site_perl are missing on my system. > Could this be the source of the problem? > > Thank you > > Soltan > > > > Gerald Richter wrote: >> Hi, >> >> Apache::src is part of mod_perl 1, since you use mod_perl 2, it seems that >> mod_perl 2 is not detected by Makefile.PL. Maybe it is not fully/correctly >> installed? >> >> Gerald >> >> >> >> >>> -----Original Message----- >>> From: Soltan Safavi [mailto:sol...@mycopa.com] >>> Sent: Wednesday, September 30, 2009 11:11 PM >>> To: embperl@perl.apache.org >>> Subject: Compiling Embperl >>> >>> Hi >>> >>> I am trying to build Embperl 2.2.0 on Fedora 10 and I get the >>> error "Can't locate Apache/src.pm in @INC" >>> I am using: >>> httpd-2.2.10 >>> mod_perl-2.0.4 >>> perl-5.10.0 >>> >>> I appreciate your help >>> >>> Soltan >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org >>> For additional commands, e-mail: embperl-h...@perl.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org > For additional commands, e-mail: embperl-h...@perl.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org For additional commands, e-mail: embperl-h...@perl.apache.org