aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

cppman -m true not work #127

Closed v6cc closed 2 years ago

v6cc commented 3 years ago

system: 5.12.12-arch1-1

use

pip install cppman
cppman -c
cppman -m true

then cppman cout work ok, but man cout get no manual entry for cout

man cppman get

   man compatibility
       cppman   automatically   adds  '$XDG_CACHE_HOME/cppman/man'  to
       '~/.manpath', so the cached man pages can also be  viewed  with
       'man'  command. Note that to view uncached man pages, you still
       need to run 'cppman'.

In $XDG_CACHE_HOME/cppman/man have

cppreference.com
man3
manindex(empty)

and ~/.manpath not exist

matu3ba commented 2 years ago

Related strace strace_cppmanInstall.log from running strace cppman -m true &> strace_cppmanInstall.log.

@zdmgmail Looks like along

        config.UpdateManPath = config.parse_bool(options.mandb)
        update_mandb_path()
        update_man3_link()

is broken without ~/.manpath.

v6cc commented 2 years ago
touch ~/.manpath
mandb 

then work ok