AIX

AIX

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

 View Only
Expand all | Collapse all

Subversion Install on AIX 7

  • 1.  Subversion Install on AIX 7

    Posted Thu November 03, 2016 09:43 AM

    Originally posted by: deesk


    Had a question if anyone has had any any experience installing the Subverison client on AIX 7. If so can you please possibly document the steps or some type of quick method to get this running. I have ran into many issues with the  install, RPM dependencies and other crazy things. Wondering if IBM has any quick way of getting this going?

     

    Thanks for any help



  • 2.  Re: Subversion Install on AIX 7

    Posted Thu November 03, 2016 01:14 PM

    Originally posted by: Bryan B


    I haven't installed SVN on AIX, but I just got GIT installed on AIX 7.  Take a look at my thread and see in the directions if there is anything that will help you resolve the dependences.

    https://www.ibm.com/developerworks/community/forums/html/topic?id=b50b11a4-4724-40ca-82a4-9e8d69877c21&ps=



  • 3.  Re: Subversion Install on AIX 7

    Posted Wed November 09, 2016 11:20 AM

    Originally posted by: sanket


    Hi,

    subversion and all its dependencies are present on AIX Toolbox.

    For ease we are also providing YUM to install open source packages from AIX toolbox.

    You can refer for my previous post for YUM installation on AIX

    https://www.ibm.com/developerworks/community/forums/html/topic?id=7b40a6b0-35cc-4deb-87fe-72824fbd3170&ps=25

    and then just

    # yum install subversion

    You can also install subversion without yum but then you will have to download all dependencies manually.

     

    Thanks

    Sanket



  • 4.  Re: Subversion Install on AIX 7

    Posted Tue December 13, 2016 05:45 AM

    Originally posted by: andys++


    Following the above instructions has allowed me to install subversion on AIX6.1, for which many thanks.  The instructions say "Download and install the rpms from yum_bundle_v1.tar", so first time around I simply extracted the contents of the tar file, and then ran "rpm --install *" .. and got a number of errors, mainly about the lack of libssl and libcrypto.  Installing the rpms via geninstall  (or rather smitty) worked fine. 

    Wish I'd known about yum working a long time ago .. I think that more should be made of this on the "AIX Toolbox for Linux Applications" webpages, since it makes installing those tools far more simple.

    However, subversion appears to have been compiled without serf support for http/https, so you cannot use either of these protocols with svn.  Any chance of subversion being compiled with support for these protocols ?

     

    Many thanks

    Andy
     



  • 5.  Re: Subversion Install on AIX 7

    Posted Wed December 14, 2016 06:37 AM

    Originally posted by: sanket


    Hi Andy,

    Good to hear that it worked for you.

    Yes the current subversion is without serf. We need to first port serf for AIX and then rebuild subversion with that support.

    We will add that into our todo list.

    Between the "AIX Toolbox for Linux Application" webpage has been updated with YUM support.

    On download tab the first thing it talks about YUM.

     

    Thanks

    Sanket



  • 6.  Re: Subversion Install on AIX 7

    Posted Wed December 14, 2016 06:51 AM

    Originally posted by: andys++


    That sounds great !

    If I might add another request ..  could you compile the AIX Toolbox for Linux Applications to support large files - or rather large inodes.  Most particularly subversion and git .. truss shows that both error in getdirent():

    getdirent(3, 0x200FFAC8, 4096)                  Err#127 EOVERFLOW

     

     

    Regards

    Andy



  • 7.  Re: Subversion Install on AIX 7

    Posted Wed December 14, 2016 06:58 AM

    Originally posted by: sanket


    Yes we realized this issue and we started compiling packages in 64bit (where large file support comes by default) or with large file in 32bit binaries.

     

    Thanks

    Sanket



  • 8.  Re: Subversion Install on AIX 7

    Posted Wed December 14, 2016 08:18 AM

    Originally posted by: andys++


    That is good to hear .. I await 64 bit subversion and git :-)

    One other suggestion/request (or perhaps I just can't see the info) .. would it be possible to include a "last updated" date somewhere in the Toolbox webpages, so we can tell whether updated packages are available .. perhaps it's too much to include the last built date for each package, but how about a date next to the link to the readme ?

     

    Regards

    Andy
     



  • 9.  Re: Subversion Install on AIX 7

    Posted Wed December 14, 2016 08:25 AM

    Originally posted by: sanket


    You can view webpage in date mode

    http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html#downloads

    But this webpage is not always in sync with our actual repository. I has some delay in update compare to our repository.

    You can always look at the repository for latest updates.

    https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/

     

    Thanks

    Sanket



  • 10.  Re: Subversion Install on AIX 7

    Posted Wed December 14, 2016 08:34 AM

    Originally posted by: andys++


    Thanks for those links .. obvious once you know where to look.

    For the 32 bit binaries I think that may not be not sufficient just to specify -D_LARGE_FILES, since this option doesn't appear to affect directory routines .. it's more a question of using opendir64() (and associated functions) rather than opendir() ..

     

    Thanks and Regards

    Andy

     



  • 11.  Re: Subversion Install on AIX 7

    Posted Wed May 31, 2017 08:16 AM

    Originally posted by: AnuRaja


    When will subversion with serf (webDAV)  be ready? 



  • 12.  Re: Subversion Install on AIX 7

    Posted Thu June 01, 2017 11:36 AM

    Originally posted by: sangameshm


    We are able to build the package and waiting for the legal approval for distributing it on AIX Toolbox.

    Hopefully it will be done soon.

     

    Thanks,

    Sangamesh



  • 13.  Re: Subversion Install on AIX 7

    Posted Fri June 09, 2017 04:59 PM

    Originally posted by: AnuRaja


    I tried to install it from www.perzl.org. I was able to install SVN with Serf.

    But SVN module(mod_dav_svn.so) for httpd is not loading, Any Idea ?

    Error: 

    /opt/freeware/sbin/apachectl -t
    httpd: Syntax error on line 522 of /opt/freeware/etc/httpd/conf/httpd.conf: Syntax error on line 5 of /opt/freeware/etc/httpd/conf/extra/httpd-subversion.conf: Cannot 

    load /opt/freeware/lib/httpd/modules/mod_dav_svn.so into server: rtld: 0712-001 Symbol dav_xml_get_cdata was referenced\n      from module 

    /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n\t    of the symbol was not found.\nrtld: 0712-001 Symbol dav_get_locktoken_list was 

    referenced\n      from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n\t    of the symbol was not found.\nrtld: 0712-001 Symbol 

    dav_xmlns_add was referenced\n      from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n\t    of the symbol was not found.\nrtld: 

    0712-001 Symbol dav_register_provider was referenced\n      from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n\t    of the symbol 

    was not found.\nrtld: 0712-001 Symbol dav_get_liveprop_info was referenced\n      from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime 

    definition\n\t    of the symbol was not found.\nrtld: 0712-001 Symbol dav_do_find_liveprop was referenced\n      from module 

    /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n\t    of the symbol was not found.\nrtld: 0712-001 Symbol dav_hook_gather_propsets was 

    referenced\n      from module /opt/freeware/lib/httpd/modules/mod_dav_svn.so(), but a runtime definition\n\t    of the symbol was not found.\nAdditional errors occurred 

    but are not reported. 

     

     



  • 14.  Re: Subversion Install on AIX 7

    Posted Mon June 12, 2017 07:49 AM

    Originally posted by: AyappanP


    We generally won't support issues encountered with rpms taken from sites other than AIX toolbox. Anyway in this case, you have to make sure this module "mod_dav.so" is loaded. (check the http.conf file).



  • 15.  Re: Subversion Install on AIX 7

    Posted Tue June 13, 2017 01:11 AM

    Originally posted by: AnuRaja


    Thanks for your reply, 

    First I tried AIX tool box's subversion,

    As it has no support for http/https repository (serf), i tried it from other sites. 

     

    Thank you. 

     



  • 16.  Re: Subversion Install on AIX 7

    Posted Wed July 05, 2017 07:46 AM

    Originally posted by: AnuRaja


    Now I tried it from AIX Tool box,  SVN and HTTP are working ....after installing mod_dav_svn, I am getting below error.    

     

    httpd: Syntax error on line 535 of /opt/freeware/etc/httpd/conf/httpd.conf: Syntax error on line 5 of /opt/freeware/etc/httpd/conf/extra/httpd-subversion.conf: Cannot load /opt/freeware/lib/httpd/modules/mod_dav_svn.so into server: Could not load module /opt/freeware/lib/httpd/modules/mod_dav_svn.so.\nSystem error: No such file or directory

     



  • 17.  Re: Subversion Install on AIX 7

    Posted Wed July 05, 2017 09:04 AM

    Originally posted by: AyappanP


    I just checked the contents of mad_dav_svn rpm. It seems like a packaging issue. The mod_dav_svn.so file is in /opt/freeware/libexec directory. So you may need to edit the httpd-subversion conf to point to this location Or you can copy the .so file to /opt/freeware/lib/httpd/modules. 



  • 18.  Re: Subversion Install on AIX 7

    Posted Wed July 05, 2017 10:27 AM

    Originally posted by: AnuRaja


    Ayappan, 

    Thanks a lot....it was in /opt/freeware/libexec.. now it works......

     



  • 19.  Re: Subversion Install on AIX 7

    Posted Tue July 11, 2017 11:40 AM

    Originally posted by: Eric Covener


    Similar question, what about https support in the subversion client?



  • 20.  Re: Subversion Install on AIX 7

    Posted Sat August 05, 2017 08:31 AM

    Originally posted by: SriNarayan


    Do you have any updates on the availability of the svn client with http and https support?

    Thanks.

    -Sri



  • 21.  Re: Subversion Install on AIX 7

    Posted Fri January 05, 2018 02:27 AM

    Originally posted by: RaviramS


    Please check this link : Installation and configuration of Apache Subversion on IBM AIX 7.1 with LDAP and SSL

    https://www.ibm.com/developerworks/aix/library/au-aix-install-config-apache-subversions/

    Hope this helps with installation and configuration both.



  • 22.  Re: Subversion Install on AIX 7

    Posted Wed January 31, 2018 04:53 AM

    Originally posted by: andys++


    Thanks for this.  However, is there any news about the (as of 2017-06-01) forthcoming new subversion rpm containing support for large inodes, http and https ?  Is it still awaiting IBM legal approval ?

    FWIW I'm interested in AIx as an svn client, not as an svn server ..

     

    Ta

    Andy

     



  • 23.  Re: Subversion Install on AIX 7

    Posted Tue July 24, 2018 08:33 AM

    Originally posted by: Charlie Braun


    Are there any updates on this ?

    When I try to install Subversion 1.9.4 - 1.9.7 I get he following error:

    # rpm -ivh subversion-1.9.4-1.aix6.1.ppc.rpm

    subversion                  ##################################################

     # rpm -ivh subversion-tools-1.9.4-1.aix6.1.ppc.rpm

    subversion-tools            ##################################################

    mkdir: 0653-358 Cannot create /opt/RPM_inst_root/var/opt/freeware/tmp/perl-root.

    /opt/RPM_inst_root/var/opt/freeware/tmp/perl-root: Do not specify an existing file.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_dir() returned an unexpected result.

    rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.

    The Directory /opt/RPM_inst_root/var/opt/freeware/tmp/perl-root didn't exist before the Installation.

     

    When I install Subversion 1.9.3-1 the installation is working but I'm missing the scheme for http. I only need the Client, not the Server - do I then still need httpd and mod_dav_svn ?

     

    In the link https://www.ibm.com/developerworks/aix/library/au-aix-install-config-apache-subversions/ the last picture doesn't show that http is supported, is this correct ?



  • 24.  Re: Subversion Install on AIX 7

    Posted Tue July 24, 2018 11:13 AM

    Originally posted by: AyappanP


    The error messages are due to some issues with symbolic links. We will try to fix these in the future releases. But the rpm installation would have succeeded.

    There is nothing much to get panicked here. You can use the latest subversion and ignore these errors during installation.

    If you need only the client, then there is no need to install mod_dav_svn. Httpd is still required since the svn command depends on apr library which is getting shipped through httpd rpm.

    You can use AIX Opensource forum for these kind of queries. 

    https://www.ibm.com/developerworks/community/forums/html/forum?id=2eb0f36d-9534-471b-8b27-c21e6c5b9b2b



  • 25.  Re: Subversion Install on AIX 7

    Posted Wed July 25, 2018 04:10 AM

    Originally posted by: Charlie Braun


    Seems that the Subversion client is working without subversion-tools. So subversion 1.9.7 can be installed without errors and there http support is included. (httpd is a prerequisite)