This guide shows how to build Dynamips on Fedora Linux. Dynamips x86 and x86-64 binaries compiled for Fedora can be downloaded here:
Dynamips Installation - prior to 0.2.13
1. Download Dynamips Sources
wget http://sourceforge.net/projects/gns-3/files/Dynamips/0.2.8-RC7-community/dynamips-0.2.8-RC7-community.source.zip/download
2. Extract Tarball
tar zxvf ./dynamips-0.2.8-RC7-community.tar.gz
3. Install Dependencies
sudo yum install libpcap elfutils-libelf elfutils-libelf-devel libuuid libuuid-devel gcc libpcap libpcap-devel
cd ./dynamips-0.2.8-RC7-community
4. Make Symbolic Link
Linux x86
sudo ln -s /usr/lib/libelf.so /usr/lib/libelf.a
Linux x86-64
sudo ln -s /usr/lib64/libelf.so /usr/lib64/libelf.a
For x64 system you have to to make following changes in ./Makefile
Uncomment
export DYNAMIPS_ARCH?=x86
export DYNAMIPS_LIB?=lib64
Comment
#export DYNAMIPS_LIB?=lib
5. Build Dynamips
Linux x86
make
Linux x86-64
make DYNAMIPS_ARCH=amd64
Binary file dynamips.stable is created in the current directory. Copy the file to /usr/local/bin/.
Linux x86
sudo cp ./dynamips.stable /usr/local/bin/dynamips-0.2.8-RC7-x86.bin
Linux x86-64
sudo cp ./dynamips.stable /usr/local/bin/dynamips-0.2.8-RC7-x86_64.bin
Dynamips Installation - Release 0.2.13 and Later
1. Install Dependencies
sudo yum install elfutils-libelf elfutils-libelf-devel libuuid libuuid-devel gcc libpcap libpcap-devel cmake git
2. Download Dynamips Sources
git clone https://github.com/GNS3/dynamips.git
cd dynamips
4. Generate Makefile and Build Dynamips
cmake .
make
sudo mv ./stable/dynamips /usr/local/bin/dynamips-0.2.15-x86_64.bin
End.
Thanks a lot its awesome !!!
More or less the same procedure for CentOS 6 x86, once I'd solved the libelf.a symbolic link, thanks to your help above.
With havin so much content do you ever run into any problems of plagorism or copyright infringement?
My blog has a lot of completely unique content I've either authored myself or outsourced but it looks like a lot of it is popping it up all over the internet without my agreement. Do you know any ways to help reduce content from being ripped off? I'd definitely appreciate it.