There are several approaches. To avoid having to use this lib manually all the time you could just symlink/copy/move the vendor_perl dirs trees into the same place in site_perl tree which by default will be at /usr/local/lib/perl5/site_perl/5.x.x/. That is the quickest fix.

As you know you have the option to specify additional dirs to add to @INC during the configuration stage pre-compile. You could just run configure again and recompile, that is next quickest.

The slowest way is probably what you want. As you appear reluctant to just run the configure again and add the required dirs what you could do is rename config.sh and Policy.sh files with a .old extension. Then rerun the configure (you are not going to run make at this stage) but you may as well try to do a similar job to the first time. Finally do a diff between the new and old config.sh files. It should be obvious exactly what changes to make to your original config.sh. Once you have editited that to your satisfaction rename it to config.sh, make && make test && make install.

cheers

tachyon


In reply to Re: Changing Perl installation to include vendor_perl path by tachyon
in thread Changing Perl installation to include vendor_perl path by RonatArtifact

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.