Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Perl/CPAN installation directory incorrect

    Posted Sun January 13, 2019 02:56 PM

    Originally posted by: texjim


    Modules installed with CPAN cannot not be found by Perl.

    The Perl 5.28 package appears to have an incorrect installation directory prefix configured in the CPAN build process.  

    Modules are being stored in: /var/opt/freeware/tmp/perl-root/opt/freeware/.....

    Perl  INC is: /opt/freeware/......

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Perl/CPAN installation directory incorrect

    Posted Tue January 15, 2019 03:36 AM

    Originally posted by: AyappanP


    Thanks for reporting the issue. We will fix it in the next release.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: Perl/CPAN installation directory incorrect

    Posted Fri April 19, 2019 12:38 AM

    Originally posted by: james.franznick


    Every perl rpm from IBM has this issue since 5.22, 5.8.2 is ok. You can work around it by doing this

     

    # mkdir -p /var/opt/freeware/tmp/perl-root
    # ln -sf /opt /var/opt/freeware/tmp/perl-root/opt

     

     

     

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: Perl/CPAN installation directory incorrect

    Posted Fri April 19, 2019 01:28 AM

    Originally posted by: sangameshm


    Thanks again for checking the perl versions affected.

    As noted we will fix this in our next update.

     

    Thanks,

    Sangamesh

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 5.  Re: Perl/CPAN installation directory incorrect

    Posted Thu April 25, 2019 03:49 PM

    Originally posted by: james.franznick


    Please provide a build that works with gcc

    Also, with the xlc build please don't hard code the xlc path, the latest xlc compiler is in /opt/IBM/xlC/13.1.3/bin/

    -Dcc=/usr/vac/bin/xlc_r

    -A define:ld=/usr/vac/bin/xlc_r

      Compiler:
        cc='/usr/vac/bin/xlc_r -q32 -D_LARGE_FILES -q32'

     Linker and Libraries:
        ld='/usr/vac/bin/xlc_r -q32'

     

     -Dinstallprefix=/var/opt/freeware/tmp/perl-root/opt/freeware

     

     

    Dynamic Linking:
        dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-brtl -bdynamic -bE:/var/opt/freeware/tmp/perl-root/opt/freeware/lib/perl5/5.22.0/ppc-aix-thread-multi/CORE/perl.exp'

     

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 6.  Re: Perl/CPAN installation directory incorrect

    Posted Thu April 25, 2019 09:38 PM

    Originally posted by: Ravikanth.sh


    Hi James, We are working on this issue we will upload fixed version as soon as possible.


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 7.  RE: Re: Perl/CPAN installation directory incorrect

    Posted Wed August 05, 2020 09:59 PM
    Hello
    We have an AIX Support customer who requests  status on this issue .  Is there any news? Thanks!

    ------------------------------
    Jan Harris
    ------------------------------



  • 8.  RE: Re: Perl/CPAN installation directory incorrect

    Posted Thu August 06, 2020 03:22 AM

    Hi,

    This issue has been fixed from perl 5.28.1-2 onwards. You can try the latest perl 5.30.2 which is built using gcc.



    ------------------------------
    RESHMA KUMAR
    ------------------------------



  • 9.  RE: Re: Perl/CPAN installation directory incorrect

    Posted Thu August 06, 2020 08:03 AM
    Thank you for the quick response, Reshma!!

    ------------------------------
    Jan Harris
    ------------------------------