Menu

#157 make install fails due to no write access to man directory

closed-invalid
None
5
2006-07-23
2005-01-11
Chad Bryant
No

./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

Discussion

  • Jason Duell

    Jason Duell - 2005-01-11

    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).

     
  • Stephen Reindl

    Stephen Reindl - 2005-02-09

    Logged In: YES
    user_id=20356

    run

    make install

    as 'root'

     
  • Hans-Bernhard Broeker

    • labels: 388881 -->
    • assigned_to: nobody --> broeker
    • status: open --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB