[ET Trac] #2811: Formaline Optionally use non-system Perl

Yosef Zlochower trac-noreply at einsteintoolkit.org
Mon Jul 22 09:53:49 CDT 2024


#2811: Formaline Optionally use non-system Perl

 Reporter: Yosef Zlochower
   Status: new
Milestone: 
  Version: 
     Type: proposal
 Priority: minor
Component: Cactus

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”

‌

```diff
diff --git a/Formaline/src/util/makeblob.pl b/Formaline/src/util/makeblob.pl
index e5bcafd..bcc2084 100755
--- a/Formaline/src/util/makeblob.pl
+++ b/Formaline/src/util/makeblob.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl -w
+#! /usr/bin/env -S  perl -w
 
 use diagnostics;
 use warnings;
```

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2811/formaline-optionally-use-non-system-perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20240722/d99e0e3a/attachment.htm>


More information about the Trac mailing list