I want to use the SVN::Client cpan module to check out code from a repository.
But how to install and use this module? The documentation is kind of no existing.
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
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=
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 :)