• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2290
  • Last Modified:

Install MTR on OSX lion

I have been trying to install mtr on osx lion without any success, it combines both ping and tracerout into one nice command.  I have tried following the instructions here:
but when executing the ./configure cmd I get the following error:
configure: error: no acceptable C compiler found in $PATH
I have downloaded the Xcode Developers kit from Apple but still the same error even after that was installed.

Just need some direction in how to install this if anyone is familiar with it.

2 Solutions
Have you tried this?

in Xcode: Preferences --> Downloads With "Components" selected, you will see a list of downloadable components.

Look for Command Line Tools, and click on install. You will be prompted for your Apple Developer userid and password. After successfully authenticating, the command line tools component downloads and installs a bunch of goodness, including gcc.
I have mtr running on OSX lion and I have installed it through mac ports. Just install mac ports and then do a "port install mtr".
Using mac ports gives you also the possibility to get the same way tons of other OSS you are used to from linux/*BSD/unix
Eoin OSullivanConsultantCommented:
MacPorts is a great tool to install a number of OSX-built Unix applications including mtr and rsync and others
Pick the PKG installer and the version appropriate for OSX Lion.

You'll need to have XCode installed on your computer anyway.
Peterson50Author Commented:
Install the command line tools for Xcode and now the ./configure line works, but when I do make here is the error message I receive

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/Master_Jim/Downloads/mtr-0.82/missing --run aclocal-1.11
/Users/Master_Jim/Downloads/mtr-0.82/missing: line 46: aclocal-1.11: command not found
WARNING: `aclocal-1.11' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `aclocal-1.11' program.
make: *** [aclocal.m4] Error 1
Eoin OSullivanConsultantCommented:
Use macports
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now