Posts

Showing posts from April, 2016

Install Perl DBD::Oracle Module

1. Download DBD Oracle module from http://www.cpan.org/authors/id/P/PY/PYTHIAN/ 2. export LD_LIBRARY_PATH= 3. export ORACLE_HOME= 4. /usr/local/bin/perl Makefile.PL 5. make 6. make install 7.To check perl module /usr/local/bin/perl -MDBD::Oracle or instmodsh

Perl Source Based Installation

Perl Source Based Installation Sometimes we get request to install Perl’s new version along with default OS Perl version (which was installed by RPM). In this case we need to install Perl by building it from the source code as below:- 1.      Download required Perl version from below link. http://www.cpan.org/src/ 2.      Follow below steps to perform installation : [root]# cd /tmp tar -xzf perl-5.10.1.tar.gz       [root]# cd perl-5.10.1 [root]#./Configure -des -Dprefix=/usr/local/perl5.10  <-- desired path will be    here [root]# make [root]# make test [root]# make install 3.      After installation we can see new Perl location as below :- [root ]# whereis perl perl: /usr/bin/perl  /usr/local/bin/perl  /usr/local/perl5.10   Now ask user to use new Perl path in their scripts/work instead of default Perl path which is /usr/bin...

P4PYTHON installation guide with known issues and solution

P4PYTHON installation guide with known issues and solution:- Follow below steps to install p4python :- 1.        Download Packages Download the Perforce C++ API from ftp://ftp.perforce.com/perforce/r13.1/bin.linux26x86_64/p4api.tgz Download the P4Python source code from ftp://ftp.perforce.com/perforce/r13.1/bin.tools/p4python.tgz 2.        Extract the P4Python API archive into a new, empty directory. [root@AJ-RHEL ~]# cd /p4server/plugins/ [root@AJ-RHEL plugins]# ll total 1360 -rw-r----- 1 root  root  1311050 Mar 30 14:36 p4api.tgz -rw-r----- 1 root  root    68950 Mar 30 14:36 p4python.tgz [root@AJ-RHEL plugins]# tar -xf p4api.tgz;tar -xf p4python.tgz drwxr-xr-x 5 20666 20666    4096 Apr 24  2014 p4api-2013.1.821990 drwxrwxrwx 3 root  root     4096 Mar 30 14:38 p4python-2013.1.642831 3. ...