in reply to Re^4: How to add path to @INC
in thread How to add path to @INC

CJFIELDS/BioPerl-1.6.924.tar.gz
: writemakefile NO '/usr/local/bin/perl Build.PL --installdirs site' returned status 2


This looks like an issue with Module::Build.
Apparently your version of Module::Build cannot handle the --installdirs site arguments.
Perhaps your version of Module::Build is too old or too new.

If you need additional information about that I think you should take it up with the BioPerl folk (or maybe someone else will update this thread with better information).

Sorry - I can't even look properly at Module::Build issues.
Such is my loathing of that module that any attempt to diagnose problems with it just leaves me wanting to throw a brick through the console, and I'm not prepared to waste a perfectly good brick over Module::Build.

If Module::Build gets in the way of allowing a module to install, then I just go without that module.
Thankully, so far, this policy has not meant that I've had to do without a module that I really want.

Cheers,
Rob

Replies are listed 'Best First'.
Re^6: How to add path to @INC
by TSN (Acolyte) on May 22, 2016 at 04:49 UTC
    Thanks a lot Rob

    you have been a good helper!

    Cheers,

    TSN

Re^6: How to add path to @INC
by TSN (Acolyte) on May 22, 2016 at 21:36 UTC
    Hi Rob!

    Now I have a new problem with the module GD

    When I try install de module GD::Text I have this:

     Can't load '/usr/local/lib/perl5/site_perl/5.24.0/x86_64-linux/auto/GD/GD.so' for module GD: /usr/local/lib/perl5/site_perl/5.24.0/x86_64-linux/auto/GD/GD.so: undefined symbol: PL_thr_key at /usr/local/lib/perl5/5.24.0/x86_64-linux/DynaLoader.pm line 193. When I try  cpan install GD

    GD is up to date (2.56)

    I really need to fix this to run a software!

    Can you help me once more?

    Cheers

    TSN

      you're mixing incompatible perls, a GD compiled against a threaded perl, being run from a non-threaded perl, it won't work, can't mix threaded/non threaded, can't mix versions (ex 5.22 and 5.24.1) you need to recompile/reinstall GD with the version of perl you're trying to run
        Thanks,

        How can I see the versions of perl that I have? When I type perl -v ---- This is perl 5, version 24, subversion 0 (v5.24.0) built for x86_64-linux!

        Indeed when I type perldoc perllocal to see all modules GD doesn't appear!

        Best,

        TSN