<div dir="ltr">Thank you Michael.<div><br></div><div>I did your advice, and now I have the attached screenshot Warnings & Errors.</div><div><br></div><div>Should I change any other variables? or...</div><div><br></div><div>Thank you so much.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Apr 8, 2025 at 2:32 AM Michael Neumann <<a href="mailto:mneumann@ntecs.de">mneumann@ntecs.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Apr 07, 2025 at 06:10:59PM -0700, Sayed Mohammad Badiezadegan wrote:<br>
> Hi everybody,<br>
> <br>
> I tried to install Julia on my DragonflyBSD, which was installed by the<br>
> DragonflyBSD 2025-04-07 snapshot.<br>
> <br>
> I installed GCC13, GIT, OpenBLAS, and SuiteSparse, but I still got this<br>
> error when I run the following:<br>
> <br>
> *root@:/julia # gmake -j 4/bin/sh: {python|python3|python2} not found: not<br>
> found/bin/sh: {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
<br>
Do you have python installed? <br>
<br>
<a href="https://github.com/JuliaLang/julia/blob/ec424d47ff8414a3666dce40d5977aabb509da0f/Make.inc#L167" rel="noreferrer" target="_blank">https://github.com/JuliaLang/julia/blob/ec424d47ff8414a3666dce40d5977aabb509da0f/Make.inc#L167</a><br>
<br>
Try "which python" on your system. Or "which python3". This should help:<br>
<br>
        sudo pkg ins python3<br>
<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not found/bin/sh:<br>
> {python|python3|python2} not found: not foundgmake: not: No such file or<br>
> directory/bin/sh: not: not found/julia/Make.inc:1375: normalize_triplet.py<br>
> appears to be non-functional (used python interpreter "not found"), so<br>
> BinaryBuilder disabled/bin/sh: not: not found/julia/Make.inc:1445: ***<br>
> "Attempting to build OpenBLAS or SuiteSparse without a functioning fortran<br>
> compiler!".  Stop.root@:/julia #*<br>
<br>
Also, quite often, on Linux systems "/bin/sh" is actually bash. Try<br>
setting environment variable "export SHELL=/usr/local/bin/bash" before<br>
running gmake, and of course install bash (sudo pkg ins bash).<br>
<br>
Also try looking for files starting with "#!/bin/sh" so called shebang.<br>
If those scripts expect "bash" you need to change it to "#!/usr/local/bin/bash".<br>
<br>
Hope this helps to make more progress.<br>
<br>
Regards,<br>
<br>
  Michael<br>
<br>
> <br>
> What should I do? Thank you.<br>
<br>
-- <br>
Michael Neumann<br>
NTECS Consulting<br>
<a href="http://www.ntecs.de" rel="noreferrer" target="_blank">www.ntecs.de</a><br>
</blockquote></div>