Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Mac OS X and I manually compiled llvm and clang because they were not available from MacPorts (a package manager).

I presume clang has some kind of man page. How do I install and/or activate it so that I can access it with man clang?

share|improve this question
Minor technicality: MacPorts has both of these available. sudo port install llvm-devel +clang – Nerdling Dec 27 '09 at 16:28
Ah, thank you. port search clang yielded nothing - I thought it was a separate project. – xyz Dec 28 '09 at 11:45
up vote 2 down vote accepted

Speaking from a Linux perspective (which I think might be reasonably similar) the manual compilaton of a program, that is, by the usual

make; make install

may have already generated a man page, and installed it in an appropriate place. This might be done by the makefile.

At least, I've observed this when installing Linux software.

share|improve this answer
Thank you. It didn't seem to. It looks like the "man page" is in a docs subdir in .pod format. I'll install it via MacPorts as the top comment says. – xyz Dec 28 '09 at 11:53

As pavium says in my experience with Linux if a man page has been created it installs with the software when you make it. If the authors did not create a man page they did create an on line manual.

share|improve this answer
Thank you. I had saw that, but as I don't manually compile FOSS often, I wondered what the general deal with man pages is. – xyz Dec 28 '09 at 11:54

Your Answer


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.