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

The Problems concerning Apple Silicon and Orbstack #1221

Open
root-hbx opened this issue Apr 8, 2024 · 3 comments
Open

The Problems concerning Apple Silicon and Orbstack #1221

root-hbx opened this issue Apr 8, 2024 · 3 comments

Comments

@root-hbx
Copy link

root-hbx commented Apr 8, 2024

Expected/Desired Behavior:

  • I use a MacBook Pro m2, and I face the same issue as well.
  • I tried to use a VM (in fact, it's Orbstack) of Linux 22.04LTS to solve the problem.
  • I use a python virtual environment (.venv) and my python3 version is "Python 3.11.4"

Actual Behavior:

It's still a problem: ( I follow the steps in a python3 venv)
When I follow the steps on download, I met a problem:

The following packages were automatically installed and are no longer required:
libperl5.34 libtiff5 perl-modules-5.34
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 287 not upgraded.
Installing Mininet core
/Users/huluobo/mininet /Users/huluobo
cc -Wall -Wextra
-DVERSION="PYTHONPATH=. python -B bin/mn --version 2>&1" mnexec.c -o mnexec
: warning: missing terminating " character
mnexec.c: In function ‘main’:
: error: missing terminating " character
mnexec.c:208:28: note: in expansion of macro ‘VERSION’
208 | printf("%s\n", VERSION);
| ^~~~~~~
mnexec.c:208:35: error: expected expression before ‘)’ token
208 | printf("%s\n", VERSION);
| ^
make: *** [Makefile:50: mnexec] Error 1

Detailed Steps to Reproduce the Behavior:

Just follow the tutorial on mininet-download and you will face this issue at mininet/util/install.sh -a

Additional Information:

Actually, I do need a version for arm.

@root-hbx
Copy link
Author

root-hbx commented Apr 8, 2024

I have two main questions:

  1. Whether we have to only use Virtual Box or VMware to support the Linux VM?
  • Actually I use Orbstack for its Lightweight, but I wonder if it can support all the service that Mininet need.
  1. Whether Apple Silicon (M2) can support the service that Mininet need

@emdneto
Copy link

emdneto commented Apr 27, 2024

@root-hbx same issue here. I'm also using orbstack. Did you find any workaround?

@root-hbx
Copy link
Author

root-hbx commented May 1, 2024

In fact, Orbstack uses its own Linux kernel which eliminates some functions such as supporting mininet.

So we can not use Orbstack to build mininet topology.(neither the docker nor the VM in Orbstack)

Instead, we have to use other Virtual Machine such as VirtualBox and Parallel Desktop, etc.

@emdneto

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

2 participants