./configure -- PASSES
make -- PASSES
make install -- FAILS.
Fails due to write access to man directory. Any
suggestions on how to fix this. Please email me at:
chad.bryant@tekelec.com TIA
[cbryant@marge cscope-15.5]$ make install
Making install in doc
make[1]: Entering directory
`/home/raleigh/cbryant/tools/cscope/cscope-15.5/doc'
make[2]: Entering directory
`/home/raleigh/cbryant/tools/cscope/cscope-15.5/doc'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/man/man1
mkdir -p -- /usr/local/man/man1
mkdir: cannot create directory `/usr/local/man':
Permission denied
make[2]: *** [install-man1] Error 1
make[2]: Leaving directory
`/home/raleigh/cbryant/tools/cscope/cscope-15.5/doc'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory
`/home/raleigh/cbryant/tools/cscope/cscope-15.5/doc'
make: *** [install-recursive] Error 1
Logged In: YES
user_id=125727
'make install' can only install to a directory that you've
got permission to. /usr/local is the default location, and
you need to be root to install there.
It sounds like you want to install your own local copy of
cscope, in which case you need to tell configure where to
install, instead of /usr/local:
./configure --prefix=$HOME/my_stuff
make
make install
Then just make sure $HOME/my_stuff/bin is in your PATH (and
$HOME/my_stuff/man in your $MANPATH, if you want).
Logged In: YES
user_id=20356
run
make install
as 'root'