Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DIRACOS on macOS Ventura #6977

Open
franzlongo opened this issue Apr 21, 2023 · 1 comment
Open

DIRACOS on macOS Ventura #6977

franzlongo opened this issue Apr 21, 2023 · 1 comment
Assignees

Comments

@franzlongo
Copy link

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
Copy link

randria commented Mar 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants