Trouble installing AFNI on M2 chip/Ventura

AFNI version info (afni -ver): v23.1.10

Hi everyone,

I'm following the instructions here to install the latest version of AFNI on my macOS with an Apple M2 chip that is running Ventura 13.4. I was able to follow the directions until I reached "Install AFNI", when I received the following error message:

(base) user ~ % curl -O https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
tcsh @update.afni.binaries -package macos_10.12_local -do_extras
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 50203  100 50203    0     0  80630      0 --:--:-- --:--:-- --:--:-- 81234
-- running @update.afni.binaries version 3.22, May 5, 2023
-- no current AFNI package found in path...
-- install dir: using default ~/abin
-- any downloads will be from https://afni.nimh.nih.gov via curl -O -f

-- attempting to install package macos_10.12_local under
   install dir: /Users/mef72/abin...
++ creating install dir
/Users/mef72/abin

++ working in new temp dir, .tmp.install
++ getting install prog: curl -O -f bin/misc/@update.afni.binaries ...
curl -O -f https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
** failed, trying macos_10.12_local/@update.afni.binaries ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
** failed again, skipping check for new installer
++ downloading test file: curl -O -f macos_10.12_local/afni ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
** failed to download test file
   (maybe package macos_10.12_local is not available)

Any thoughts? Thank you so much for any help you can provide.

Best,

Meredith

Hi, Meredith-

Our server was done, and several installation problems like this happened for folks.

I think you this should be resolved now---could you please try following the installation again, and actually the instructions one the following two pages should be the best to use:
part A
part B
We have recently been updating our installs for macOS, and actually building the binaries locally---as described in these instructions---will likely lead to better performance, integration with R libraries, and general sense of contentment with The Universe.

Please let us know how that goes.

--pt

Thank you so much for your quick response!

I was able to get all the way through part A
In part B, I got stuck at line 17:

tcsh @update.afni.binaries -no_recur -package anyos_text_atlas \
        -bindir $HOME/abin

The error message I received is as follows:

tcsh @update.afni.binaries -no_recur -package anyos_text_atlas \
        -bindir $HOME/abin
-- running @update.afni.binaries version 3.22, May 5, 2023
-- no current AFNI package found in path...
-- any downloads will be from https://afni.nimh.nih.gov via curl -O -f

-- attempting to install package anyos_text_atlas under
   install dir: /Users/mef72/abin...
-- have install dir
deleting old temporary directory...
++ working in new temp dir, .tmp.install
-- skipping update of @update.afni.binaries
++ downloading test file: curl -O -f anyos_text_atlas/AFNI_version.txt ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
** failed to download test file
   (maybe package anyos_text_atlas is not available)

Thanks for any help! Totally understand re: contentment with The Universe when it comes to coding. :slight_smile:

Meredith

Hi, Meredith-

Could you please try that again? It worked OK for me, so the permissions seem OK now for getting that dataset.

Hopefully The Universe smiles on that...

--pt