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


Click here to return to the 'I installed it (i think) but it does not work.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I installed it (i think) but it does not work.
Authored by: skitch2310 on Nov 21, '02 12:49:35PM

i followed your steps. I get the MAN page but when i type in a command nothing happens "command not found". do you just type "mtr"?



[ Reply to This | # ]
Re: I installed it (i think) but it does not work.
Authored by: jbelog on Nov 21, '02 01:31:30PM

You'll need to have /usr/local/bin in your path in your manpath. If they are (echo $PATH to check), just type rehash at the cli to pick up the new commands. If you don't have the paths, add them to your .tschrc file.

To check to see if it's working with out having them in your path, enter the full path at the cli:

>/usr/local/bin/mtr

Good luck,
__jbelog



[ Reply to This | # ]
I installed it (i think) but it does not work.
Authored by: muller on Nov 21, '02 02:07:19PM

If you didn't specify /usr/local/bin in the configure process the install directory that it used defaults to /usr/local/sbin which is not in the tcsh path by default. All you should need to do is:
sudo mv /usr/local/sbin/mtr /usr/local/bin/mtr
rehash

that should do it.



[ Reply to This | # ]
I installed it (i think) but it does not work.
Authored by: skitch2310 on Nov 21, '02 02:23:14PM

sweet ! Thank you, that did the trick



[ Reply to This | # ]
I installed it (i think) but it does not work.
Authored by: david-bo on Nov 26, '02 09:24:32AM

I did specify /usr/local/bin to configure but mtr still ended up in /usr/local/sbin?

This is how I run ./configure

% ./configure --bindir=/usr/local/bin --mandir=/usr/local/share/man

And this is how the beginning of the Makefile looks:

SHELL = /bin/sh

srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}

bindir = /usr/local/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = /usr/local/share/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/mtr
pkglibdir = $(libdir)/mtr
pkgincludedir = $(includedir)/mtr

top_builddir = .

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
CC = gcc
CURSES_OBJ = curses.o
GTK_CFLAGS =
GTK_CONFIG = no
GTK_LIBS =
GTK_OBJ =
MAKEINFO = makeinfo
PACKAGE = mtr
POST_UNINSTALL = :
CC = gcc
CURSES_OBJ = curses.o
GTK_CFLAGS =
GTK_CONFIG = no
GTK_LIBS =
GTK_OBJ =
MAKEINFO = makeinfo
PACKAGE = mtr
VERSION = 0.51

SUBDIRS = img

sbin_PROGRAMS = mtr
man_MANS = mtr.8


Really does not matter, /usr/locar/sbin was in my path as well, jut curious why this happened. Ideas?



[ Reply to This | # ]