If I configure a build of openca-base as,

        ./configure ... --with-build-dir=$OPENCA_BUILD_DIR
--with-module-prefix=$OPENCA_MODULE_DIR ...

perl modules are installed under,

        $OPENCA_BUILD_DIR/OPENCA_MODULE_DIR/perl5/OpenCA/BLAH.pm

notice the prefixing of an ADDITIONAL ".../perl5/..." to the module's path.

If, instead, I install an OpenCA module via 'cpanp', e.g.

        module_info OpenCA::TRIStateCGI
                Can't create Module::Info object for module 
'OpenCA::TRIStateCGI' at
/usr/bin/module_info line 96.
        cpanp -i OpenCA::TRIStateCGI
                module_info OpenCA::TRIStateCGI

it's installed @,

        Name:        OpenCA::TRIStateCGI
        Version:     1.5.5
        Directory:   /usr/lib/perl5/site_perl/5.10.0
        File:        /usr/lib/perl5/site_perl/5.10.0/OpenCA/TRIStateCGI.pm
        Core module: no

where my installed perl has,

        perl -V | grep "@INC" -A10
          @INC:
            /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi
            /usr/lib/perl5/5.10.0
            /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
-->         /usr/lib/perl5/site_perl/5.10.0
            /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
            /usr/lib/perl5/vendor_perl/5.10.0
            /usr/lib/perl5/vendor_perl
            .

If I'm going to install the perl-modules via the openca-base build &
install, shouldn't the modules be installed under "
/usr/lib/perl5/site_perl/5.10.0/OpenCA/", like the cpan install would
do?

How do I define the "--with-module-prefix" to do that, and NOT get
that *extra* ".../perl5/..." in the path?

Thanks,

BenDJ

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to