<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Richard,<br>
<br>
There is a third option:<br>
<br>
3. After following your checkout procedure, redefine HALLD_HOME to
point to the sim-recon directory. Explicitly:<br>
<br>
setenv HALLD_HOME_SAVE $HALLD_HOME<br>
setenv HALLD_HOME HALLD_HOME_SAVE/sim-recon<br>
<br>
which is a bit baroque. The recommended procedure is to use a different
checkout procedure than the one you describe:<br>
<br>
3a. Identify a directory that you want to have contain sim-recon, let's
call it $FOO.<br>
<br>
setenv HALLD_HOME $FOO/sim-recon<br>
cd $FOO<br>
svn checkout <a class="moz-txt-link-freetext" href="https://halldsvn.jlab.org/repos/trunk/sim-recon">https://halldsvn.jlab.org/repos/trunk/sim-recon</a><br>
cd sim-recon/src<br>
make<br>
<br>
i. e., have the checkout create the sim-recon directory (by checking
out trunk/sim-recon and not trunk/sim-recon/src) and have HALLD_HOME
point to it.<br>
<br>
Unfortunately, the only place where this is documented explicitly is in
a mail message to the list:
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/pipermail/halld-offline/2010-March/000200.html">https://mailman.jlab.org/pipermail/halld-offline/2010-March/000200.html</a><br>
<br>
-- Mark<br>
<br>
On 04/21/2010 05:49 PM, Richard Jones wrote:
<blockquote cite="mid:4BCF72E9.9050601@uconn.edu" type="cite">Dear Mark,<br>
<br>
In trying to move over to the new structure of the Gluex software tree,
I encountered the following issue. First, I created a new directory
called $(HALLD_HOME)/sim-recon. Then I cd'ed into sim-recon and did a
fresh checkout of the trunk from subversion into the directory
$(HALLD_HOME)/sim-recon/src. After this, I did cd src, followed by
make. This fails in HDGeant.<br>
<br>
The reason for this is that in HDGeant/Makefile.bms there is the
assumption that $(HALLD_HOME)/src is the absolute path to the
sim-recon/src directory. I see a couple of ways forward.<br>
<ol>
<li>go through a modify all instances of $(HALLD_HOME)/src to
become
$(HALLD_HOME)/sim-recon/src in the makefiles. You might then also
consider whether $(HALLD_HOME)/lib and $(HALLD_HOME)/bin should also
descend into the sim-recon folder or not.</li>
<li>invent a new environment variable called SIM_RECON_HOME and
then
use $(SIM_RECON_HOME)/src in place of $(HALLD_HOME)/src in the
makefiles. This is more consistent with other cases, such as
$(JANA_HOME).</li>
</ol>
For the time being, I have implemented option 1 above (src only). I
have only modified my local copy, and have not checked my changes into
the trunk.<br>
<br>
-Richard J.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Halld-offline mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/halld-offline">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></pre>
</blockquote>
<br>
</body>
</html>