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">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
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"$>" />
12 <title>Status for Andrew DeFaria: July 22, 2007 - July 28, 2007 Archives</title>
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" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
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>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
35 <a href="http://defaria.com/blogs/Status/archives/week_2007_07_15.html">« 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 »</a>
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/">
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..."
53 dc:date="2007-07-27T14:35:37-06:00" />
58 <h2 class="date-header">July 27, 2007</h2>
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">
65 <li>Worked with Kirk on getting Clearquest working on ranlin02/03</li>
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>
71 | <a href="http://defaria.com/blogs/Status/archives/000656.html#trackback">TrackBacks (0)</a>
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/">
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 & CQ install image over to RAN. Tried running Clearquest. Was receiving error Learned that we have a copy of cq_setup.csh..."
89 dc:date="2007-07-25T18:46:41-06:00" />
94 <h2 class="date-header">July 25, 2007</h2>
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">
101 <li>Finished recoding RAN web using PHP, better HTML coding and CSS</li>
103 <li>Documented new PHP Web</li>
105 <li>Copied large CC & CQ install image over to RAN. Tried running Clearquest. Was receiving error</li>
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>
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>
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
118 href="http://www-1.ibm.com/support/docview.wss?uid=swg21202987&aid=1">ClearQuest
119 and Clearquest MultiSite Release Notes</a> I find:</p>
122 <h3>Linux symbolic links to Motif libraries</h3>
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>
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>
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>
132 <tt>XFree86-devel-*</tt><br>
134 <p>package be installed when installing the OS.</p>
137 <p>And, of course:</p>
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>:
144 <p>So can we get XFree86-devel-* installed?</p>
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>
148 <p>I've made a modification to /proj/muosran/config/cq_setup.csh as such:</p>
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.
156 #eval `/opt/rational/clearquest/sun5/bin/clearquest -dumpcsh`<br>eval `/opt/rational/clearquest/bin/clearquest -dumpcsh`
165 #echo "You can now run 'clearquest' to start Rational ClearQuest."
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>
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>
173 | <a href="http://defaria.com/blogs/Status/archives/000655.html#trackback">TrackBacks (0)</a>