<html>#2811: Formaline Optionally use non-system Perl
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Yosef Zlochower</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>proposal</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>During the last stage of the build process, makeblob.pl, under Formaline/src/utils/ is run. The build fails if /usr/bin/perl is missing or doesn’t have the necessary modules included. I got around this issue by compiling my own version of perl and replacing “#! /usr/bin/perl -w” with “#! /usr/bin/env -S  perl -w”</p>
<p>‌</p>
<div class="codehilite language-diff"><pre><span></span><code><span class="gh">diff --git a/Formaline/src/util/makeblob.pl b/Formaline/src/util/makeblob.pl</span>
<span class="gh">index e5bcafd..bcc2084 100755</span>
<span class="gd">--- a/Formaline/src/util/makeblob.pl</span>
<span class="gi">+++ b/Formaline/src/util/makeblob.pl</span>
<span class="gu">@@ -1,4 +1,4 @@</span>
<span class="gd">-#! /usr/bin/perl -w</span>
<span class="gi">+#! /usr/bin/env -S  perl -w</span>

 use diagnostics;
 use warnings;
</code></pre></div>

<p>‌</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2811/formaline-optionally-use-non-system-perl'>https://bitbucket.org/einsteintoolkit/tickets/issues/2811/formaline-optionally-use-non-system-perl</a></p>
</html>