Julia language on DragonflyBSD
Michael Neumann
mneumann at ntecs.de
Tue Apr 8 02:32:49 PDT 2025
On Mon, Apr 07, 2025 at 06:10:59PM -0700, Sayed Mohammad Badiezadegan wrote:
> Hi everybody,
>
> I tried to install Julia on my DragonflyBSD, which was installed by the
> DragonflyBSD 2025-04-07 snapshot.
>
> I installed GCC13, GIT, OpenBLAS, and SuiteSparse, but I still got this
> error when I run the following:
>
> *root@:/julia # gmake -j 4/bin/sh: {python|python3|python2} not found: not
> found/bin/sh: {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
Do you have python installed?
https://github.com/JuliaLang/julia/blob/ec424d47ff8414a3666dce40d5977aabb509da0f/Make.inc#L167
Try "which python" on your system. Or "which python3". This should help:
sudo pkg ins python3
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not found/bin/sh:
> {python|python3|python2} not found: not foundgmake: not: No such file or
> directory/bin/sh: not: not found/julia/Make.inc:1375: normalize_triplet.py
> appears to be non-functional (used python interpreter "not found"), so
> BinaryBuilder disabled/bin/sh: not: not found/julia/Make.inc:1445: ***
> "Attempting to build OpenBLAS or SuiteSparse without a functioning fortran
> compiler!". Stop.root@:/julia #*
Also, quite often, on Linux systems "/bin/sh" is actually bash. Try
setting environment variable "export SHELL=/usr/local/bin/bash" before
running gmake, and of course install bash (sudo pkg ins bash).
Also try looking for files starting with "#!/bin/sh" so called shebang.
If those scripts expect "bash" you need to change it to "#!/usr/local/bin/bash".
Hope this helps to make more progress.
Regards,
Michael
>
> What should I do? Thank you.
--
Michael Neumann
NTECS Consulting
www.ntecs.de
More information about the Users
mailing list