dpatel has asked for the wisdom of the Perl Monks concerning the following question:
I am working on automation of clearcase, in which- my perl scripts should automatically set a view, start the view, set the label and version according to user's choice and retrive the source codes and copy it to remote location. but when I try to run command in my perl scripts:
system ("/usr/atria/bin/cleartool setview <view_name>");
and it doesn't come out of the program until i enter exit. and then rest of the program gets executed. I can see that this is occuring due to the cleartool command which spawns a subshell.
So i tried using cleartool::CtCmd and other clearcse perl modules. but the problem is now that I am working on linux server and i don't have permission to install new perl modules. so i install my new version of perl locally and i tried installing perl modules locally. i am able to install some modules successfully and also able to work with them. but I am not able to install clearcase-perl moduels and even if i'm successful in installing them locally, my program is not able to use the locally installed modules. i even add local modules directory path to @INC array. but it's still not working. I can see my installed modules in the same directoy. what may be wrong here?
and the modules i am not able to install i.e. ClearCase::CtCmd, what may be the issue? i even set all the environment variable values,but i think i am still misssing something. please help me. I can not proceed with my further work without solving this issue.
or show me the other way where i can set clearcase view automatically and copy the source code to remote location or some local directory.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem while installing the perl modules for clearcase
by marto (Cardinal) on Mar 11, 2010 at 09:35 UTC | |
by dpatel (Novice) on Mar 12, 2010 at 02:56 UTC | |
by marto (Cardinal) on Mar 12, 2010 at 08:02 UTC | |
|
Re: problem while installing the perl modules for clearcase
by cdarke (Prior) on Mar 11, 2010 at 10:36 UTC |