perl 安装 SVN::Access

cpan Alien::SVN

cpan SVN::Access


安装svn 库:
 1002  rpm -qa | grep subversion-perl
 1003  yum install subversion-perl
 1004  cpan SVN::Access
 1005  perldoc history


Perl bindings to the Subversion libraries

Follow following steps to install Alien-SVN module on you system:

1) Download the latest Alien-SVN module from CPAN http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/Alien-SVN-v1.6.12.1.tar.gz

2) Untar the file using taz-zxf <Package_name>

3) cd Alien-SVN-v1.6.12.1

4) The Apache Portable Runtime is required by the Alien-SVN. To download APR and APR-Util run time run the following commands while inside Alien-SVN-v1.6.12.1 directory

svn co http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x apr
svn co  http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x apr-util

5) Now run perl Build.PL which is inside Alien-SVN-v1.6.12.1 directory

6) It will ask for some options

7) It will ask whether you would like to pass some arguments to configure. Give arguments as follows

--with-apr=<path_where_you_chechek_out_apr>
--with-apr-util=<path_where_you_chechek_out_apr-util>

8) After successfully running Build.PL, run ./Build Alien-SVN-v1.6.12.1 directory.

9) After running ./Build, successfully, open native directory which is located as Alien-SVN-v1.6.12.1/src/subversion/subversion/bindings/swig/perl/native

10) Run following commands: perl Makefile.PL make make install

11) This will install Alien-SVN on your system :)

安装 subversion-perl :

原文地址:https://www.cnblogs.com/hzcya1995/p/13349771.html