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: If you use ratlperl, make install bases the installation path off of the path to ratlperl. In this example, running make install installs CtCmd to the /opt/rational/common/lib/perl5/site_perl/5.6.1/sun4-solaris-multi/ClearCase directory. This configuration is acceptable when /opt is an exported drive that is accessible to all Rational® ClearQuest® users on the UNIX system and Linux clients, such as /net/solarishost/opt.

To verify the installation, run this example Perl script using either ratlperl or cqperl:

cqperl script_name;

Feedback