HI AFNI gurus
My AFNI was working and then I tried updating and unfortunately got in a pickle trying to fix things... Right now it's looking not so great and I see a lot of seemingly relevant posts on here but I've tried many of the suggestions and they aren't working. Here's my afni_system_check output:
-------------------------------- general ---------------------------------
architecture: 64bit Mach-O
cpu type: arm64
system: Darwin
release: 23.2.0
version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000
distribution: 14.2.1
number of CPUs: 10
apparent login shell: zsh
shell RC file: .zshrc (exists)--------------------- AFNI and related program tests ---------------------
which afni :
:
AFNI_version.txt : AFNI_24.3.03, anyos_text, Oct 17 2024, local
which python : /opt/homebrew/opt/python/libexec/bin/python
python version : 3.13.0
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 (/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/bin/python3.13)
python2 : 0
python3 : 2
/opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/bin/python3.13
/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 : success
3dMVM : FAILURE
Error in library(data.table) : there is no package called ‘data.table’
Calls: source ... suppressPackageStartupMessages -> withCallingHandlers -> library
Execution halted------------------------ dependent program tests -------------------------
checking for dependent programs...which tcsh : /bin/tcsh
tcsh version : 6.21.00
which Xvfb : /opt/X11/bin/Xvfbchecking for R packages...
rPkgsInstall -pkgs ALL -check : FAILURER 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-------------------------------- env vars --------------------------------
PATH = /opt/homebrew/bin:/opt/homebrew/sbin:/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:/opt/homebrew/opt/python/libexec/bin:/Users/sergiogarcia/abin:/opt/homebrew/opt/python/libexec/binPYTHONPATH =
R_LIBS =
LD_LIBRARY_PATH =
DYLD_LIBRARY_PATH (sub-shell) =
DYLD_FALLBACK_LIBRARY_PATH (sub-shell) =
CONDA_SHLVL =
CONDA_DEFAULT_ENV =
CC =----------------------------- eval dot files -----------------------------
----------- AFNI $HOME files -----------
.afnirc : found .sumarc : found .afni/help/all_progs.COMP : missing
--------- shell startup files ----------
-- good: .tcshrc seems to contain 'source .cshrc'
-- considered operations: path, apsearch-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)no modifications needed across 3 dot files
------------------------------ data checks -------------------------------
data dir : missing AFNI_data6
data dir : missing AFNI_demos
data dir : missing suma_demo
data dir : missing afni_handouts
atlas : did not find TT_N27+tlrc------------------------------ OS specific -------------------------------
XQuartz version : 2.8.5which brew : /opt/homebrew/bin/brew
brew version : Homebrew 4.4.2========================= summary, please fix: =========================
- just be aware: login shell 'zsh', but our code examples use 'tcsh'
- missing program: afni
- failure under initial "AFNI and related program tests"
- AFNI programs show FAILURE
- missing R packages (see rPkgsInstall)
- python library matplotlib is required
(see AFNI install docs for details)- please run: apsearch -update_all_afni_help
- insufficient data for AFNI bootcamp
(see "Prepare for Bootcamp" on install pages)- possibly missing atlases
- consider installing gcc under homebrew
- consider installing glib under homebrew
and when i try compiling it breaks with this:
++ running: build_afni.py -build_root ~/afni_build -package macos_13_ARM_clang
build_afni.py -build_root /Users/sergiogarcia/afni_build -package macos_13_ARM_clang-- current AFNI: AFNI_24.3.03, anyos_text, Oct 17 2024
-- cleaning old build root dir, /Users/sergiogarcia/afni_build
-- backing up dir build_src
-- preparing build_root dir, /Users/sergiogarcia/afni_build
-- have default git tag LAST_TAG, will checkout AFNI_24.3.03
-- checking out git tag AFNI_24.3.03
-- using repo branch (detached), tag AFNI_24.3.03
-- removing old atlas dir, prev/afni_atlases_dist
-- moving old atlas dir afni_atlases_dist to prev/afni_atlases_dist
-- downloading AFNI atlas package, afni_atlases_dist.tgz
-- unpacking atlas package, afni_atlases_dist
-- removing old NiiVue backup, prev/niivue_afni.umd.js
-- moving old niivue niivue_afni.umd.js to prev/niivue_afni.umd.js
-- downloading NiiVue, niivue_afni.umd.js-- preparing to run 'make' build of package macos_13_ARM_clang
-- copying README files
-- copying other_builds/Makefile.macos_13_ARM_clang to Makefile
-- building make target 'itall'-- consider monitoring the build in a separate window with:
cd /Users/sergiogarcia
tail -f /Users/sergiogarcia/afni_build/build_src/log_make.txt
# use ctrl-c to terminate 'tail' command (not the build)
++ building (please be patient)...
** error: failed run_cmd: make AFNI_WHOMADEIT=build itall >& log_make.txt
-- status: building FAILURE
see 'make' log file /Users/sergiogarcia/afni_build/build_src/log_make.txt
** error: tail from log_make.txt:In file included from niml.h:5,
from niml_private.h:4,
from niml_b64.c:1:
/opt/homebrew/Cellar/gcc@13/13.3.0/lib/gcc/13/gcc/aarch64-apple-darwin23/13/include-fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
78 | #include <_stdio.h>
| ^~~~~~~~~~
compilation terminated.
make[1]: *** [niml_b64.o] Error 1
mv: rename .o to ../.o: No such file or directory
make: *** [niml_b64.o] Error 1
so sorry about this but can someone help? thank you!