Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.
yum install libevent-dev

Now I have installed libevent,but its manuals are not installed:

[root@xx test]# man event_base_loop
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="<none>")

No manual entry for event_base_loop

How to make yum also install manuals?

share|improve this question
    
You may want to mention what distro and version you're using. –  Andrew M. Apr 6 '11 at 12:09

2 Answers 2

For some reason libevent-devel has the function-level man pages under its private documentation directory instead of the public man directory. Log a bug.

share|improve this answer
    
How to fix it manually? –  yum Apr 7 '11 at 1:39
    
Copy or symlink the files. –  Ignacio Vazquez-Abrams Apr 7 '11 at 2:17
    
Where is the private documentation directory? –  yum Apr 7 '11 at 3:03
    
/usr/share/doc/$PACKAGENAME-$PACKAGEVERSION –  Ignacio Vazquez-Abrams Apr 7 '11 at 4:12

It probably is installed--libevent just doesn't install separate documentation for each individual function. To see the documentation for libevent, use:

man 3 event
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.