Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Install mtr from Source' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Install mtr from Source
Authored by: vladimus on Nov 30, '03 05:40:31PM
To summarize an earlier discussion:
If you don't want to install Fink, or go through configuring DarwinPorts, here's how you can compile mtr from source in Panther:

1. Download mtr at ftp://ftp.bitwizard.nl/mtr/mtr-0.54.tar.gz (the latest version as of this writing). Decompress the downloaded file, if needed.

2. Inside the decompressed folder, open "config.h" inside your favorite text editor. Add the line
#define BIND_8_COMPAT 1

3. In terminal, cd to the decompressed folder, and type in the standard compilation commands:
./configure
make
make install

4. Type mtr in Terminal. If the program doesn't run, you'll need to make sure /usr/local/sbin is in your command path. If you don't know how, here's what you need to do:

In bash, create ".profile" in your home directory if it doesn't already exist, and add/change the following line:
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

For tcsh, add/change this line in ".tcshrc" in your home directory:
set path = ( /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin )

[ Reply to This | # ]

10.3: Install mtr from Source
Authored by: AaronAdams on Dec 01, '03 03:47:39PM
Should config.h be config.h.in?

[ Reply to This | # ]