AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Subversion (SVN) for AIX 5.1

  • 1.  Subversion (SVN) for AIX 5.1

    Posted Thu June 28, 2012 01:12 PM

    Originally posted by: phil.v


    Hi,

    I have to install subversion on AIX 5.1.

    Is there some binaries ready to install ? Or do I need to compile sources on AIX ?

    Any help welcomed

    Thanks !
    #AIX-Forum


  • 2.  Re: Subversion (SVN) for AIX 5.1

    Posted Thu July 26, 2012 04:23 AM

    Originally posted by: phil.v


    Hello,

    Nobody ? no tips ?
    #AIX-Forum


  • 3.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 07:23 AM

    Originally posted by: phil.v


    Hi,

    I install subversion: subversion-1.6.17-1
    and when starting svn command I get this error message:

    exec(): 0509-036 Cannot load program svn because of the following errors:
    0509-022 Cannot load module /usr/lib/libaprutil-1.so.
    0509-150 Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
    0509-152 Member libiconv.so.2 is not found in archive
    0509-022 Cannot load module svn.
    0509-150 Dependent module /usr/lib/libaprutil-1.so could not be loaded.
    0509-022 Cannot load module .

    Here is /usr/lib/libiconv.a:
    -r--r--r-- 1 bin bin 389311 Sep 09 2010 libiconv.a

    Help appreciated
    Thanks
    #AIX-Forum


  • 4.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 08:04 AM

    Originally posted by: phil.v


    Here is the ldd output on libaprutil-1.so:

    xxx:root:/2rename/install_svn/packages # ldd /usr/lib/libaprutil-1.so
    /usr/lib/libaprutil-1.so needs:
    /usr/lib/libexpat.a(libexpat.so.1)
    /usr/lib/libiconv.a(libiconv.so.2)
    ar: 0707-109 Member name libiconv.so.2 does not exist.
    dump: /tmp/tmpdir987354/extract/libiconv.so.2: 0654-106 Cannot open the specified file.
    /usr/lib/libapr-1.so
    /usr/lib/libc.a(shr.o)
    /usr/lib/libpthread.a(shr_xpg5.o)
    /unix
    /usr/lib/libcrypt.a(shr.o)
    /usr/lib/libpthreads.a(shr_comm.o)
    xxx:root:/2rename/install_svn/packages # whoami
    root
    wsdscer92d8:root:/2rename/install_svn/packages #
    #AIX-Forum


  • 5.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 10:10 AM

    Originally posted by: flodstrom


    Did you build svn yourself?

    Have you tried a pre-built version of svn? If not then I would advice you to try the following one.

    http://www.perzl.org/aix/index.php?n=Main.ListOfPackages

    It still have way to much stacked dependencies, but may in the end save you from a lot of trouble and time compared to building it yourself.
    #AIX-Forum


  • 6.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 10:50 AM

    Originally posted by: phil.v


    Hi,

    thanks for your anwser. No I get it from Bull as binairies (http://www.bullfreeware.com/recherche.php). Few days ago I tried with Perlz binaries. But I failed getting all dependencies resolved.
    Something strange happens. I found somewhere on the net, someone said use: "unset LIBPATH" from bash and I succeed starting SVN.

    But each time I reconnect I need to enter this command. If I dont unset ...., I still get the error message.

    Have you any ideas about that ?
    #AIX-Forum


  • 7.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 11:05 AM

    Originally posted by: phil.v


    I think I have a LIBPATH problem under KSH and in BASH. I will look at my profile
    #AIX-Forum


  • 8.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 12:04 PM

    Originally posted by: flodstrom


    Well you can eventually get svn to work by using the Perzl RPM distribution, but as I think you have noticed svn is truly horrible when it comes to installing (and worse if compiling from scratch). If I recall correctly I think you have to install a major part of the whole RPM distribution in order to get a clean install of the svn RPM. A lot of patience is needed!

    In AIX you should normally avoid setting/defining any LIBPATH variables.

    It does indeed look like you have it set in your login profile somewhere, did you find it? Standard AIX login scripts don't define the LIBPATH variable.
    #AIX-Forum


  • 9.  Re: Subversion (SVN) for AIX 5.1

    Posted Tue September 25, 2012 01:20 PM

    Originally posted by: phil.v


    Hi,

    thanks for your help. I tried lot of rpm from Peltz but all failed due to dependencies which awfull to retrieve.

    Bash is needed by SVN, so I think I need to set bash profile for the svn administrator.

    Again thanks for your help.
    #AIX-Forum


  • 10.  Re: Subversion (SVN) for AIX 5.1

    Posted Wed September 26, 2012 04:42 AM

    Originally posted by: phil.v


    > flodstrom wrote:
    > Well you can eventually get svn to work by using the Perzl RPM distribution, but as I think you have noticed svn is truly horrible when it comes to installing (and worse if compiling from scratch). If I recall correctly I think you have to install a major part of the whole RPM distribution in order to get a clean install of the svn RPM. A lot of patience is needed!
    >
    > In AIX you should normally avoid setting/defining any LIBPATH variables.
    >
    > It does indeed look like you have it set in your login profile somewhere, did you find it? Standard AIX login scripts don't define the LIBPATH variable.

    I did what you said, I put unset LIBPATH at the end of my .kshrc file.
    #AIX-Forum


  • 11.  Re: Subversion (SVN) for AIX 5.1

    Posted Wed September 26, 2012 10:27 AM

    Originally posted by: jklotz


    OnAIX 5.3, I used svnkit, a java svn client, in order not to have to get into a compilation process on AIX, which is often painful :

    http://svnkit.com/download.php

    Uncompress in a folder, put it in your path; if I remember correctly, you must have too a JAVA_HOME correctly defined. Just a suggestion, I was happy with that product, but I haven't been using it for a while :)
    #AIX-Forum


  • 12.  Re: Subversion (SVN) for AIX 5.1

    Posted Wed September 26, 2012 04:04 PM

    Originally posted by: phil.v


    Thanks for your post, but I was only interested in the server part of subversion
    #AIX-Forum