Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2007_07_22.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
11
12    <title>Status for Andrew DeFaria: July 22, 2007 - July 28, 2007 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/week_2007_07_15.html" title="July 15, 2007 - July 21, 2007" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2007_07_29.html" title="July 29, 2007 - August  4, 2007" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/week_2007_07_15.html">&laquo; July 15, 2007 - July 21, 2007</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2007_07_29.html">July 29, 2007 - August  4, 2007 &raquo;</a>
38                      </p>
39                      
40                      
41                      <!--
42 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
43          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
44          xmlns:dc="http://purl.org/dc/elements/1.1/">
45 <rdf:Description
46     rdf:about="http://defaria.com/blogs/Status/archives/week_2007_07_22.html#entry-000656"
47     trackback:ping="http://defaria.com/mt/mt-tb.cgi/43"
48     dc:title="Clearquest on Linux"
49     dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_07_22.html#entry-000656"
50     dc:subject="General Dynamics"
51     dc:description=" Worked with Kirk on getting Clearquest working on ranlin02/03..."
52     dc:creator=""
53     dc:date="2007-07-27T14:35:37-06:00" />
54 </rdf:RDF>
55 -->
56
57
58                      <h2 class="date-header">July 27, 2007</h2>
59                      <a id="a000656"></a>
60                      <div class="entry" id="entry-656">
61                         <h3 class="entry-header">Clearquest on Linux</h3>
62                         <div class="entry-content">
63                            <div class="entry-body">
64                               <ul>
65   <li>Worked with Kirk on getting Clearquest working on ranlin02/03</li>
66 </ul>
67                               
68                               <p class="entry-footer">
69                                  <span class="post-footers">Posted by  at  2:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000656.html">Permalink</a>
70                                  
71                                  | <a href="http://defaria.com/blogs/Status/archives/000656.html#trackback">TrackBacks (0)</a>
72                               </p>
73                            </div>
74                         </div>
75                      </div>
76                      
77                      <!--
78 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
79          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
80          xmlns:dc="http://purl.org/dc/elements/1.1/">
81 <rdf:Description
82     rdf:about="http://defaria.com/blogs/Status/archives/week_2007_07_22.html#entry-000655"
83     trackback:ping="http://defaria.com/mt/mt-tb.cgi/42"
84     dc:title="PHP Web/Clearquest install/cq_setup.csh"
85     dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_07_22.html#entry-000655"
86     dc:subject="General Dynamics"
87     dc:description=" Finished recoding RAN web using PHP, better HTML coding and CSS Documented new PHP Web Copied large CC &amp; CQ install image over to RAN. Tried running Clearquest. Was receiving error Learned that we have a copy of cq_setup.csh..."
88     dc:creator=""
89     dc:date="2007-07-25T18:46:41-06:00" />
90 </rdf:RDF>
91 -->
92
93
94                      <h2 class="date-header">July 25, 2007</h2>
95                      <a id="a000655"></a>
96                      <div class="entry" id="entry-655">
97                         <h3 class="entry-header">PHP Web/Clearquest install/cq_setup.csh</h3>
98                         <div class="entry-content">
99                            <div class="entry-body">
100                               <ul>
101   <li>Finished recoding RAN web using PHP, better HTML coding and CSS</li>
102
103   <li>Documented new PHP Web</li>
104
105   <li>Copied large CC & CQ install image over to RAN. Tried running Clearquest. Was receiving error</li>
106
107   <li>Learned that we have a copy of cq_setup.csh that is sourced by the csh startup scripts. But it uses a Sun version. This obviously causes problems for Linux machines</li>
108 </ul>
109                               
110                               <p>I downloaded the Rational 2003.06.00 release tarball that Carlos provided me and installed it on ranlin02. I have the following problem when trying to run Clearquest I get the following error:</p>
111
112 <div class=code><pre>
113 <font  color="#3333ff"><b>Ranlin02:</b></font><u>/opt/rational/clearquest/bin/clearquest</u>
114 /opt/rational/clearquest/rhat_x86/bin/clearquest_main: error while loading shared libraries: libXmu.so: cannot open shared object file: No such file or directory
115 </pre></div>
116
117 <p>Looking at the <a
118  href="http://www-1.ibm.com/support/docview.wss?uid=swg21202987&amp;aid=1">ClearQuest
119 and Clearquest MultiSite Release Notes</a> I find:</p>
120
121 <blockquote>
122   <h3>Linux symbolic links to Motif libraries</h3>
123
124   <p>ClearQuest uses the Motif libraries native to the machine, and these libraries need to include the proper symbolic links. If the symbolic links are not established, the following error occurs when invoking</p>
125
126   <tt>ClearQuest:/opt/rational/clearquest/rhat_x86/bin/clearquest_main:
127 error while loading shared libraries: libXmu.so: cannot open shared
128 object file: No such file or directory</tt> <br>
129
130   <p>The error complains about the first of several libraries it cannot find. To insure that the symlinks are created, it is necessary that the</p>
131
132   <tt>XFree86-devel-*</tt><br>
133
134   <p>package be installed when installing the OS.</p>
135 </blockquote>
136
137 <p>And, of course:</p>
138
139 <div class=code><pre>
140 <font color="#3333ff"><b>Ranlin02:</b></font><u>rpm -qa | grep XFree86-devel</u>
141 <font color="#3333ff"><b>Ranlin02</b></font>:
142 </pre></div>
143
144 <p>So can we get XFree86-devel-* installed?</p>
145
146 <p>On a different but related note, we generally support only Sun and only csh (and it's derivatives - tcsh). We have a serious of csh style start up scripts (which I've largely replicated/converted for bash...) one of which sources /prj/muosran/config/cq_setup.csh. That is merely a copy of a /opt/rational/clearquest/bin/cq_setup.csh. Contained therein is a reference to sun5 which is bad because this source of /prj/muosran/config/cq_setup.csh is global and thus sourced by users of Linux machines. Naturally Linux user will not be finding any sun5 executables nor executing them.</p>
147
148 <p>I've made a modification to /proj/muosran/config/cq_setup.csh as such:</p>
149
150 <div class=code><pre>
151 #!/bin/csh -f<br><br>#  Andrew@DeFaria.com 07-25-2007: By specifying sun5 we tie
152 # ourselves to an architecture. There is no need to do this.
153 # Call the clearquest in /opt/rational/clearquest/bin and let
154 # it figure out our architecture.
155
156 #eval `/opt/rational/clearquest/sun5/bin/clearquest -dumpcsh`<br>eval `/opt/rational/clearquest/bin/clearquest -dumpcsh`
157
158 set var = $status
159 if ($var != 0) then
160     unset var
161     exit(2)
162 endif
163 unset var
164
165 #echo "You can now run 'clearquest' to start Rational ClearQuest."
166 </pre></div>
167
168 <p>Still all of this seem pretty arbitrary. What is the above script doing but checking that clearquest can simply be run? Why set an environment variable (var) only to test it and then ultimately unset it?!? Seems like really odd and unnecessary code from IBM/Rational.</p>
169                               
170                               <p class="entry-footer">
171                                  <span class="post-footers">Posted by  at  6:46 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000655.html">Permalink</a>
172                                  
173                                  | <a href="http://defaria.com/blogs/Status/archives/000655.html#trackback">TrackBacks (0)</a>
174                               </p>
175                            </div>
176                         </div>
177                      </div>
178                      
179                   </div>
180                </div>
181             </div>
182          </div>
183       </div>
184    </div>
185 </body>
186 </html>