Skip to content

omnetpp-5.7.x installation stopped working on Apple Silicon #23

@yvshudrenko

Description

@yvshudrenko
yevhenii@dhcp16 workspace-test % opp_env install omnetpp-5.7.x
INFO Using specified projects [omnetpp-5.7.x] with effective projects [omnetpp-5.7.x] in workspace /Users/yevhenii/workspace-test
INFO Downloading project omnetpp-5.7.x in workspace /Users/yevhenii/workspace-test
https://github.com/omnetpp/omnetpp/releases/download/omnetpp-5.7.1/omnetpp-5.7.1-src-macosx.tgz
############################################################################################################ 100.0%
INFO Patching project omnetpp-5.7.x
Patching vanilla omnetpp-5.7.1 to omnetpp-5.7.x from git...
NOTE: We are running on an Apple M processor which is not supported natively.
Turning on x86_64 emulation by starting a new shell with 'arch -x86_64 /bin/zsh -i' ...
setenv: line 55: arch: command not found
ERROR The install operation stopped with error: Child process exit code 127
yevhenii@dhcp16 workspace-test % 

My old local installation is still working, but a new one throws this error. Although the arch command is definitely fine:

yevhenii@dhcp16 ~ % arch -x86_64 /bin/zsh --login
yevhenii@dhcp16 ~ % arch
i386
yevhenii@dhcp16 ~ % 

Newer OMNeT++ is not an option, unfortunately, and Docker for opp_env doesn't work with GUI (at least I couldn't get it to). This is latest opp_env:

yevhenii@dhcp16 ~ % opp_env -v
0.29.3.240918

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions