8000 The Problems concerning Apple Silicon and Orbstack · Issue #1221 · mininet/mininet · GitHub
[go: up one dir, main page]

Skip to content

The Problems concerning Apple Silicon and Orbstack #1221

Open

Description

@root-hbx

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.

Activity

  1. root-hbx commented on Apr 8, 2024

    @root-hbx
    Author

    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
  2. emdneto commented on Apr 27, 2024

    @emdneto

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

  3. root-hbx commented on May 1, 2024

    @root-hbx
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0