AFNI installation problem (Mac M1 pro Sonoma 14.5)

How can I solve this problems...

I used the codes below

cd
curl -O https://raw.githubusercontent.com/afni/afni/master/src/other_builds/OS_notes.macos_12_ARM_a_admin_pt1.zsh
curl -O https://raw.githubusercontent.com/afni/afni/master/src/other_builds/OS_notes.macos_12_ARM_a_admin_pt2.zsh
curl -O https://raw.githubusercontent.com/afni/afni/master/src/other_builds/OS_notes.macos_12_ARM_b_user.tcsh

zsh OS_notes.macos_12_ARM_a_admin_pt1.zsh

zsh OS_notes.macos_12_ARM_a_admin_pt2.zsh

tcsh OS_notes.macos_12_ARM_b_user.tcsh

curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-arm64.sh
bash Miniconda3-latest-MacOSX-arm64.sh -b

~/miniconda3/bin/conda init bash tcsh zsh

curl -O https://afni.nimh.nih.gov/pub/dist/tgz/macos_10.12_local.tgz

curl -O https://afni.nimh.nih.gov/pub/dist/tgz/afni_src.tgz

And the result is..

-------------------------------- general ---------------------------------
architecture:         64bit 
cpu type:             arm
system:               Darwin
release:              23.5.0
version:              Darwin Kernel Version 23.5.0: Wed May  1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000
distribution:         14.5
number of CPUs:       8
apparent login shell: tcsh
** have both .cshrc and .tcshrc, with former not applied
   (consider adding 'source $HOME/.cshrc' to $HOME/.tcshrc)
shell RC file:        .tcshrc (exists)

--------------------- AFNI and related program tests ---------------------
which afni           :
                     : 
AFNI_version.txt     : AFNI_24.1.22, anyos_text, Jun 21 2024, local
which python         : /Users/lynn/miniconda3/bin/python
python version       : 3.12.4
which R              : /usr/local/bin/R
R version            : R version 4.3.1 (aarch64-apple-darwin20)

instances of various programs found in PATH:
    afni    : 0 
    R       : 1   (/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/bin/R)
    python  : 1   (/Users/lynn/miniconda3/bin/python3.12)
    python2 : 0 
    python3 : 3 
      /Users/lynn/miniconda3/bin/python3.12
      /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
      /usr/bin/python3

** have python3 but not python2

testing ability to start various programs...
    afni                 : FAILURE
        /bin/sh: afni: command not found
    suma                 : FAILURE
        /bin/sh: suma: command not found
    3dSkullStrip         : FAILURE
        /bin/sh: 3dSkullStrip: command not found
    3dAllineate          : FAILURE
        /bin/sh: 3dAllineate: command not found
    3dRSFC               : FAILURE
        /bin/sh: 3dRSFC: command not found
    SurfMesh             : FAILURE
        /bin/sh: SurfMesh: command not found
    3dClustSim           : FAILURE
        /bin/sh: 3dClustSim: command not found
    uber_subject.py      : FAILURE
        /bin/sh: uber_subject.py: command not found
    3dMVM                : FAILURE
        /bin/sh: 3dMVM: command not found

have failures, testing programs under implied /Users/lynn/abin...
    afni                 : FAILURE
        /bin/sh: /Users/lynn/abin/afni: No such file or directory
    suma                 : FAILURE
        /bin/sh: /Users/lynn/abin/suma: No such file or directory
    3dSkullStrip         : FAILURE
        /bin/sh: /Users/lynn/abin/3dSkullStrip: No such file or directory
    3dAllineate          : FAILURE
        /bin/sh: /Users/lynn/abin/3dAllineate: No such file or directory
    3dRSFC               : FAILURE
        /bin/sh: /Users/lynn/abin/3dRSFC: No such file or directory
    SurfMesh             : FAILURE
        /bin/sh: /Users/lynn/abin/SurfMesh: No such file or directory
    3dClustSim           : FAILURE
        /bin/sh: /Users/lynn/abin/3dClustSim: No such file or directory
    uber_subject.py      : success
    3dMVM                : success

------------------------ dependent program tests -------------------------
checking for dependent programs...

which tcsh           : /bin/tcsh
tcsh version         : 6.21.00
which Xvfb           : /opt/X11/bin/Xvfb

checking for R packages...
    rPkgsInstall -pkgs ALL -check : FAILURE
        /bin/sh: rPkgsInstall: command not found

R RHOME : /Library/Frameworks/R.framework/Resources

------------------------------ python libs -------------------------------

** failed to load module matplotlib.pyplot
-- matplotlib.pyplot is required

** failed to load module flask
-- flask is not required, but is desirable

** failed to load module flask_cors
-- flask_cors is not required, but is desirable

-- python binaries under /usr/local/bin:
    /usr/local/bin/python3 (sym link to /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10)

-------------------------------- env vars --------------------------------
PATH                       = /Users/lynn/miniconda3/bin:/Users/lynn/miniconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands

PYTHONPATH                 = 
R_LIBS                     = 
LD_LIBRARY_PATH            = 
DYLD_LIBRARY_PATH (sub-shell) = 
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) = 
CONDA_SHLVL                = 1
CONDA_DEFAULT_ENV          = base

----------------------------- eval dot files -----------------------------

----------- AFNI $HOME files -----------

    .afnirc                   : found
    .sumarc                   : found
    .afni/help/all_progs.COMP : found

--------- shell startup files ----------

   init_user_dotfiles.py: Command not found.
------------------------------ data checks -------------------------------
data dir : found AFNI_data6   under $HOME (471482M Avail)
           top history: ... 2024 [rickr]: 3drefit -newid FT/SUMA/FT_SurfVol.nii
data dir : found AFNI_demos   under $HOME
           top history: ...ct 2020 [taylorp]: updated scripts under FATCAT_DEMO
data dir : found suma_demo    under $HOME
           top history: ...s_New/data/Build_tmp on Mon Mar  4 11:56:45 EST 2013
data dir : found afni_handouts under $HOME
atlas    : did not find TT_N27+tlrc

------------------------------ OS specific -------------------------------
XQuartz version      : 2.8.5


** no package manager found (okay for bootcamp)

=========================  summary, please fix:  =========================
*  have both .cshrc and .tcshrc, with former not applied
   (consider adding 'source $HOME/.cshrc' to $HOME/.tcshrc)
*  missing program: afni
*  failure under initial "AFNI and related program tests"
*  AFNI programs show FAILURE
*  consider adding /Users/lynn/abin to your PATH
*  missing R packages (see rPkgsInstall)
*  python library matplotlib is required
   (see AFNI install docs for details)
*  failure running init_user_dotfiles.py -test
*  possibly missing atlases

Hi,

I sent you a private message to get your build log file.
This one:

~/afni_build/build_src/log_make.txt

Send via email as it could be rather large.

thanks, Justin