<!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 bgcolor="#ffffff" text="#000000">
Follow-up to my note below: Attached is a better spec file
(cctbx_r2.spec) for building cctbx RPMs, where I've cleaned the build
procedure by using cctbx_sources/libtbx/configure.py in a
post-processing step, rather than the weird hack of building in the
system-wide /usr/local space; see the ChangeLog and spec file for more.
Many thanks to Ralf for helpful advice.<br>
<br>
enjoy,<br>
cam<br>
<br>
<br>
=== Cameron Mura wrote (on 07/27/2009 06:47 PM): ===
<blockquote cite="mid:4A6E2E8B.2030809@virginia.edu" type="cite">Hi
all,
  <br>
  <br>
In case it's of interest, I've attached a spec file that works for
building a cctbx RPM on Fedora 10 (nothing really F10-specific, so may
work on other distros/releases too).
  <br>
  <br>
Please note that it works by playing the dangerous (and extremely ugly)
game of moving the RPM build into the system-wide tree, so it builds
"in situ" in /usr/local/cctbx instead of in the RPM default locale
(/my/rpm/BUILDROOT/usr/local/cctbx).&nbsp; On the same note, the patch which
is referenced in the spec file ('cctbx_bundle_StrucBio.patch') is just
a small snippet that edits the head of 'cctbx_install_script.csh' to
explicitly control the build path (i.e., override $cwd by explicitly
setting something like 'set
install_root="/usr/local/cctbx/2009_02_15_2320"', or wherever you'd
like cctbx to live...).&nbsp; Probably a much cleaner procedure would be to
use the libtbx/configure.py approach in a post-processing step; let me
know if anyone pkg's an RPM that way. :-)
  <br>
  <br>
Enjoy,
  <br>
Cam
  <br>
  <br>
  <pre wrap=""><pre wrap="">
<hr size="4" width="90%">
_______________________________________________
cctbxbb mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a>
<a class="moz-txt-link-freetext" href="http://www.phenix-online.org/mailman/listinfo/cctbxbb">http://www.phenix-online.org/mailman/listinfo/cctbxbb</a></pre></pre>
</blockquote>
<br>
</body>
</html>