Tuesday, April 6, 2010

Installing and Running Dynamips on PowerBook G4

This is how I manage to run Dynamips on my PowerBook G4, actually with a little confusion about the version I'm gonna use. It's because dynamips version I install only work with certain version of Dynagen.

  1. Install Macports; run the port -d selfupdate to rsync the archive.
  2. Install libpcap with port as well:
    # sudo port install libpcap
  3. Get the libelf source package, compile it with prefix into /usr/local
    # ./configure --prefix=/usr/local; make; sudo make install
  4. On Dynamips folder from where you unzipped the tarball:
    a. Edit Makefile to use the 'nojit' architecture

              # vi Makefile
                  PCAP_LIB=-L/opt/local/lib -lpcap

  5. Save the Makefile file, and do this:

              # make; sudo make install
Recently I just using the blog post above to install and using Dynamips with GNS3 in my MacBook Pro running Snow Leopard (Mac OS X 10.6.x).

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)