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


Click here to return to the 'mtr traceroute won't install' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
mtr traceroute won't install
Authored by: blip on Jan 10, '03 10:36:09AM

Thanks very much. You got me going but I want to mention the following problems:

1) After installing the developer's tools I was able to run the .config. There was an error checking for GTK - version >= 1.0.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /sw/bin/gtk-config

However it seemed to finish and so I went ahead and tried a 'make'. The terminal could not find the command so I looked for it. Found it in /usr/bin but as an alias -
lrwxr-xr-x 1 root wheel 7 Jan 10 09:47 make -> gnumake
My path did include /usr/bin so I explicitly ran it from its directory and the make proceeded (gnumake works without explicitly specifying the directory).

2. I then tried to run mtr and that was not to be found. I looked for that as well. Apparently it was in /usr/local/sbin which was NOT in my path. I redefined the PATH and now I can run mtr ok. The 'man' for mtr was not a problem.

After getting past installation of the developer's tools it still too some delving to get things going. Is there an obvious reason or I am I just too much of a novice?

I should mention my friend Chris played a big role in guiding me through this.

Thanks again,

BLip



[ Reply to This | # ]
mtr traceroute won't install
Authored by: wolfy on Jan 10, '03 09:43:09PM

I don't recall having any problems with the install, and certainly nothing with gtk. It's possible you've got some sort of problem with the gtk installation in Fink, so a reinstall might be appropriate before you try to do any additional compiles on your own.

The link from make to gnumake is standard I believe.

I do remember having mtr dumped into /usr/local/sbin, and having to add that to my PATH. Not a big deal that - just mtr installing someplace that isn't standard under OS X.



[ Reply to This | # ]
mtr traceroute won't install
Authored by: blip on Jan 12, '03 09:17:27AM

Hi,
I did a find on 'gtk' on my machine and found the following:
/sw/etc/gtk
/sw/include/gtk-1.2/gtk
/sw/share/themes/Default/gtk
/sw/share/doc/gtk+

So, I have some aspect of gtk. Are you recommending redownloading fink, or just using fink (dselect) to acquire gtk?

Also, I installed mtr on my home computer after installing the devlopers tools. ./configure appeared to work as it did for me before (with the same gtk error) but then I get the same error as 'wealthchef' above:
dyld: mtr Undefined symbols:
mtr undefined reference to _stdscr expected to be defined in /usr/lib/libSystem.B.dylib
Trace/BPT trap

I did the fix recommended by removing the underscores n the curses.c file and reinstalled mtr. This did not fix it. Do you have any advice in this area? In searching the web it appears that this is related to the fact that I have upgraded from 10.1 to 10.2 and that the binary file is looking for _stdscr in libSystem.B.dylib instead of libcurses.dylib. I need to modify the binary? But which of the many mtr files is that?

Thanks again,

Bruce



[ Reply to This | # ]
mtr traceroute won't install
Authored by: marmoset on Jan 12, '03 10:31:33AM

You can always just do a 'fink rebuild mtr', which will recompile mtr against current libraries, which will sometimes fix quirky issues with programs you built under an older OSX version.



[ Reply to This | # ]