DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
113 stars 176 forks source link

DIRACOS on macOS Ventura #6977

Open franzlongo opened 1 year ago

franzlongo commented 1 year ago

Dear all, I'm trying to install DIRACOS on a MacOS system with macOS Ventura 13.2.1. After downloading the script by

curl -LO https://github.com/DIRACGrid/DIRACOS2/releases/latest/download/DIRACOS-Darwin-x86_64.sh

and executing the following one in a bash shell

bash DIRACOS-Darwin-x86_64.sh

I get the following error:

PREFIX=/Users/longof/CTADIRAC/diracos Unpacking payload ... DIRACOS-Darwin-x86_64.sh: line 279: /Users/longof/CTADIRAC/diracos/conda.exe: Bad CPU type in executable DIRACOS-Darwin-x86_64.sh: line 282: /Users/longof/CTADIRAC/diracos/preconda.tar.bz2: No such file or directory

I found the first error to be related to the usage of a bash script instead of a zsh one.

I then tried with zsh with the other script DIRACOS-Darwin-arm64.sh

I get rid of the "Bad CPU type" error but I still get the second error

zsh DIRACOS-Darwin-arm64.sh Unpacking payload ... DIRACOS-Darwin-arm64.sh:268: no such file or directory: /Users/longof/CTADIRAC/diracos/preconda.tar.bz2

Thanks for any help.

randria commented 8 months ago

hi.

I have the same issue on my M2 machine with OSX Sonoma 14.1.1 when I run bash DIRACOS-2.38-Darwin-arm64.sh I did guess that the script didn't manage to extract the binary within the boundaries calculated.

PREFIX=/Users/xxx/git/grid-on-client/diracos
Unpacking payload ...
./DIRACOS-2.38-Darwin-arm64.sh: line 265: 17637 Exit 141                extract_range $boundary1 $boundary2
     17638 Killed: 9               | "$CONDA_EXEC" constructor --extract-tarball --prefix "$PREFIX"
./DIRACOS-2.38-Darwin-arm64.sh: line 268: /Users/xxx/git/grid-on-client/diracos/preconda.tar.bz2: No such file or directory

Thanks for the help.