There seems to be little information on the web about this, but if you read the file header, it tells you what you need:
doc-view.el requires GNU Emacs 22.1 or newer. You also need Ghostscript, `dvipdf' (comes with Ghostscript) or `dvipdfm' (comes with teTeX or TeXLive) and `pdftotext', which comes with xpdf (http://www.foolabs.com/xpdf/) or poppler (http://poppler.freedesktop.org/).You can install these via MacPorts:
Then you must restart emacs to get DocView to register the availability of the new commands.sudo port install ghostscript xpdf