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


#Servers
#Opensource
 View Only
  • 1.  Git client Installation on AIX 6.1

    Posted 09/26/17 12:11 PM

    Originally posted by: Satish447


    Hi Team,

     

    I want to install git client on AIX 6.1 platform. Git repository is running on linux server. Using my git client on AIX 6.1, I would like to clone the repo and work, check-in the code.

     

    Before this I have installed YUM package manager in my AIX 6.1 machine. I think we can install git client using yum. I am not sure which version of git client is compatible to install on AIX 6.1. Can you please help me on this?

     

    yum install <git package name ??>

     

    I tried to install the following way. But I face some errors:

     

    # yum install git-2.2.2-3.aix5.1.ppc.rpm
    AIX_Toolbox                                                                                                                           | 1.1 kB  00:01:59
    ftp://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for AIX_Toolbox: Damaged repomd.xml file
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: AIX_Toolbox. Please verify its path and try again

     

     

    Regards,

    Satish


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Git client Installation on AIX 6.1

    Posted 09/27/17 10:31 AM

    Originally posted by: sangameshm


    The latest available git on AIX Toolbox is 2.8.1-1.

    # yum list git
    Available Packages
    git.ppc                                    2.8.1-1                                    AIX_Toolbox

     

    Can you try

     

    "yum clean all"

    "yum install git"

     

    Always better to just give package name without any version while running yum install or yum update, which will pick latest available version.

     

    Thanks,

    Sangamesh


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: Git client Installation on AIX 6.1

    Posted 09/27/17 11:00 AM
      |   view attached

    Originally posted by: Satish447


    Hi Sangamesh,

    Thanks for info.
    I have tried with that option, but i get the following error. I use proxy for connecting with ftp://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml
    # yum clean all
    Cleaning repos: AIX_Toolbox AIX_Toolbox_61
    Cleaning up Everything
    root@zap:/tmp/yum
    # yum install git
    AIX_Toolbox                                                                                                                           | 1.1 kB  00:01:59
    ftp://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for AIX_Toolbox: Damaged repomd.xml file
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: AIX_Toolbox. Please verify its path and try again

     

    Attaching the yum.conf file for your reference.


    #AIXOpenSource
    #AIX-Open-Source-Software

    Attachment(s)

    conf
    yum.conf   763 B 1 version


  • 4.  Re: Git client Installation on AIX 6.1

    Posted 09/27/17 06:05 PM

    Originally posted by: Satish447


    Hi,

     

    I am able to successfully install git now. But when I try to use git clone i face some issue as below:

     

    # git init
    Reinitialized existing Git repository in /home/yarrusa/.git/
    root@zap:/home/yarrusa
    # git clone <xxxxxxxblablablaxxxxxxxxxxyarrusa@onestash.verizon.com/scm/swmesd/agcore_c.git" rel="nofollow">.git>
    Cloning into 'agcore_c'...
    exec(): 0509-036 Cannot load program git-remote-https because of the following errors:
            0509-130 Symbol resolution failed for /usr/lib/libcurl.a(libcurl.so.4) because:
            0509-136   Symbol ERR_remove_thread_state (number 151) is not exported from
                       dependent module /usr/lib/libcrypto.a(libcrypto.so).
            0509-136   Symbol SSL_CTX_set_next_proto_select_cb (number 258) is not exported from
                       dependent module /usr/lib/libssl.a(libssl.so).
            0509-136   Symbol SSL_CTX_set_srp_password (number 272) is not exported from
                       dependent module /usr/lib/libssl.a(libssl.so).
            0509-136   Symbol SSL_CTX_set_srp_username (number 273) is not exported from
                       dependent module /usr/lib/libssl.a(libssl.so).
            0509-026 System error: Error 0
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    The version of OpenSSL i have installed is OpenSSL 0.9.8y 5 Feb 2013.

    If I try to use the latest version of OpenSSL 1.0.2, I face SSL protocol error. Might be the mismatch between the OpenSSL used by Git Repo and the OpenSSL used by the git client.

    So Please suggest me on how to proceed on this...

    And one more question. Do we have the version of "OpenSSL 1.0.0-fips" filesets available for AIX 6.1 ?

     

    I have upgraded the openssl version to OpenSSL 1.0.2k  26 Jan 2017. I get different error for this - "Unknown SSL protocol error in connection to onestash.verizon.com:443"

     

    Cloning into 'agcore_c'...

    fatal: unable to access 'https://yarrusa@onestash.verizon.com/scm/swmesd/agcore_c.git/': Unknown SSL protocol error in connection to onestash.verizon.com:443
    root@zap:/home/yarrusa

     

     

    Please help me on this..

     

    Regards,

    Satish

     

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 5.  Re: Git client Installation on AIX 6.1

    Posted 09/29/17 11:39 AM

    Originally posted by: Satish447


    Installing latest version of OpenSSL, Curl, git fixed this problem.


    #AIXOpenSource
    #AIX-Open-Source-Software