The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems adding POSIX Perl module

Discussion in 'General Discussion' started by petem, Apr 27, 2016.

  1. petem

    petem Registered

    Joined:
    Mar 4, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    When trying to add the POSIX Perl module in cPanel we get the following and the module does not get installed:-
    Code:
    Testing connection speed...(using fast method)...Done Ping:1000.0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(62781.88 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to cpan.cpantesters.org using pureperl...(58100.93 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to ftp.litnet.lt using pureperl...(14102.11 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to mirror.is.co.za using pureperl...(3333.62 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to ftp.stu.edu.tw using pureperl...(2188.62 bytes/s)...Done Five usable mirrors located Ping:1000.0 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(9337.88 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to 69.73.140.17 using pureperl...(9061.71 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to 67.159.2.2 using pureperl...(9015.50 bytes/s)...Done Three usable fallback mirrors located Fetching The Comprehensive Perl Archive Network - www.cpan.org (connected:0).......(request attempt 1/12)...Resolving mirror.leaseweb.com...(resolve attempt 1/65)......connecting to 5.79.108.33...@5.79.108.33......connected......receiving...100%......request success......Done Mirror Check passed for mirror.leaseweb.com (/index.html) Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Tue Apr 26 17:05:29 2016) Tuned C compiler not available because it is not enabled....Done CPAN fallback is disabled since /var/cpanel/conserve_memory exists, and cpanm is available. Method: Using Perl Expect, Installer: cpanm --perl is deprecated since it's known to be fragile in figuring out dependencies. Run `/scripts/cpan_sandbox/x86_64/perl -S cpanm` instead. cpanm (App::cpanminus) 1.7039 on perl 5.010001 built for x86_64-linux-thread-multi Work directory is /home/buyingqbicco/.cpanm/work/1461748001.225754 You have make /usr/bin/make Falling back to HTTP::Tiny 0.056 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://gnu.org/licenses/gpl.html>" rel="nofollow">http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip You have Cpanel::HttpRequest 2.1 Testing connection speed...(using fast method)...Done Ping:1000.0 (ticks) Testing connection speed to mirror.leaseweb.com using pureperl...(cached .. 62781.88 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to cpan.cpantesters.org using pureperl...(cached .. 58100.93 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to ftp.litnet.lt using pureperl...(cached .. 14102.11 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to mirror.is.co.za using pureperl...(cached .. 3333.62 bytes/s)...Done Ping:1000.0 (ticks) Testing connection speed to ftp.stu.edu.tw using pureperl...(cached .. 2188.62 bytes/s)...Done Five usable mirrors located Ping:1000.0 (ticks) Testing connection speed to 67.159.2.2 using pureperl...(using cached speed)...Done Ping:1000.0 (ticks) Testing connection speed to 67.205.110.4 using pureperl...(using cached speed)...Done Ping:1000.0 (ticks) Testing connection speed to 69.73.140.17 using pureperl...(using cached speed)...Done Three usable fallback mirrors located Fetching The Comprehensive Perl Archive Network - www.cpan.org (connected:0).......(request attempt 1/12)...Resolving mirror.leaseweb.com...(resolve attempt 1/65)......connecting to 5.79.108.33...@5.79.108.33......connected......receiving...100%......request success......Done Mirror Check passed for mirror.leaseweb.com (/index.html) Searching on cpanmetadb ... Fetching http://cpanmetadb.cpanel.net/v1.0/package/POSIX (connected:0).......(request attempt 1/12)...Resolving cpanmetadb.cpanel.net...(resolve attempt 1/65)......searching for mirrors (mirror search attempt 1/3)...Testing connection speed for cpanmetadb.cpanel.net (5 servers)...(using fast method).........Done Ping:0.0673801898956299 (seconds) Testing connection speed to 208.74.125.51 using pureperl...(30897.50 bytes/s)...Done Ping:0.070946216583252 (seconds) Testing connection speed to 208.74.125.50 using pureperl...(31694.00 bytes/s)...Done Ping:0.109307050704956 (seconds) Testing connection speed to 208.74.124.133 using pureperl...(19415.47 bytes/s)...Done Ping:0.109384059906006 (seconds) Testing connection speed to 208.74.124.131 using pureperl...(19006.76 bytes/s)...Done Ping:0.110224962234497 (seconds) Testing connection speed to 208.74.124.130 using pureperl...(20095.19 bytes/s)...Done ...5 usable mirrors located. (less then expected)......mirror search success......connecting to 208.74.125.50...@208.74.125.50......connected......receiving...100%......request success......Done Searching POSIX on cpanmetadb (http://cpanmetadb.cpanel.net/v1.0/package/POSIX) ... Fetching http://cpanmetadb.cpanel.net/v1.0/package/POSIX (connected:1).......(request attempt 1/12)...@208.74.125.50......connected......receiving...100%......request success......Done Source: fastest CPAN mirror ... skipping S/SH/SHAY/perl-5.22.1.tar.bz2
    
    Anyone have an idea why this does not complete?

    Thanks

    Pete
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,786
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's by design that we intentionally disallow installing core perl modules such as POSIX (modules that form the core of perl). Internal case CPANEL-4485 ensures the installation failure reason is provided:

    Fixed case CPANEL-4485: Perlinstaller: indicate why installing core module fails.

    The resolution has not yet been published outside of the "Edge" build tier, but you can monitor the version 56 change log to know when the resolution is published:

    56 Change Log - Documentation - cPanel Documentation

    Thank you.
     
  3. petem

    petem Registered

    Joined:
    Mar 4, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    So how do we install this module, or is it installed by default? My Perl knowledge is not very good.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,786
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, it's already installed by default:

    Code:
    # corelist POSIX
    
    POSIX was first released with perl 5
    Thank you.
     
Loading...

Share This Page