Building CtCmd to work with cqperl on the UNIX system and Linux

After following the instructions for unpacking the kit, check to see if ratlperl is found using your PATH environment variable. If not, add the path:

setenv PATH /opt/rational/common/bin:$PATH

Build from the directory where you unpacked the kit:

ratlperl Makefile.PL

make

make test

make install

Note that by using ratlperl, make install bases the installation path off of the path to ratlperl. In this example, after running "make install", CtCmd is installed to /opt/rational/common/lib/perl5/site_perl/5.6.1/sun4-solaris-multi/ClearCase

This is acceptable when /opt is an exported drive that is accessible by all Rational ClearQuest on the UNIX system and Linux clients (such as /net/qsun176/opt).

You can verify the installation by invoking the example Perl script below using either ratlperl or cqperl. Exemple :

cqperl script_name;

Commentaires en retour