I have some builds of fc14 (but on 64bit platform) and the layout is very similar to yours - however I'm not sure how /some/ of the directories got into @INC

I have a combination of the fc14 repo installations with a bunch of CPAN stuff, it appears the CPAN stuff all went into the /usr/local/ directories.

Here are the directories found in @INC which do not exist on disk:
/usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl
I think this may be b/c 64bit is a hybrid system so maybe they include (what would be the standard) 32bit directories in @INC in the global RPM build..

My @INC
@INC: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl
My perl is:
rpm -q perl perl-5.12.2-140.fc14.x86_64

I'm not sure if this is a problem, but someone more experienced in these matters may know better... might be a good question for the Fedora forums

update: Those 5.10.0 directories must be stubs of some kind - I'm not sure how to verify that the modules in the standard distribution were in fact built against the 5.12.2 source code. My distro does include perl5122delta so looking at module versions in there might be one way to start verifying..

also, the 5.10.0 dirs in @INC are found in the config_args strings of the perl build as -Dotherlibdirs


In reply to Re: wrong @INC by hsinclai
in thread wrong @INC by jimw54321

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.