I know that installing a package through APT (apt-get or aptitude for my computer) will automatically install the appropriate man pages and update the man database. When I want to build the same packages, however, no man page is installed and I cannot use man for that program. How do I get the man pages for software I have compiled? (I am running Ubuntu 10.10).
|
feedback
|
|
Are you configuring your software build with the default locations (in /usr) and installing as root? (but not building as root i hope). If so, then the man pages, if there are any, should be installed where If you are installing to a nonstandard location, you need to let EDIT: Also, I am not sure about the 'man database'. There really isn't one. There are some distributions that do post processing of the man pages, either compress it, or uncompress it. But they don't really keep a list of man pages anywhere. In pseudo code:
This may be your issue. If you installed to a non-standard dir, is the naming convention right? If you have a file bubba.1, then the file should be installed into some path | |||||||||||
feedback
|
debpackage, or are you compiling then installing withmake install? If the former, post yourdebian/rules. If the latter, explain how you configure the program (did you run./configure, did you edit the makefile, what variables did you pass tomake, etc.). – Gilles Dec 10 '10 at 0:14cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local. I then ranmake && sudo make installas usual. – AniDev Dec 10 '10 at 0:57