Compiling dynamips on MacOS

Source: Internet
Author: User
Tags git clone

Dynamips is a Cisco router emulation software.
Installation process:

git clone git://github.com/GNS3/dynamips.gitcd dynamipsmkdir buildcd buildcmake ..

For MacOS, CMake and libelf need to be prepared.

If you encounter an error:

CMake Error at /usr/local/Cellar/cmake/3.10.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):  Could NOT find LibElf (missing: LIBELF_LIBRARIES LIBELF_INCLUDE_DIRS)

is not found LibElf library, can be installed with the command:

brew install libelf

To build a stable release version

cmake .. -DDYNAMIPS_CODE=stable

If an error occurs, you can try specifying the path to the C compiler by using the Xcrun command to find the path to the appropriate compiler:

cmake ..  -DCMAKE_C_COMPILER=`xcrun -find cc`

Final Compile and install Dynamips

make install

Compiling dynamips on MacOS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.