File "_none_", line 1, characters 0-1: Error: Files prtools.cmx and ../lib/pretty.cmx make inconsistent assumptions over implementation PrettyTo solve this problem, I temporarily move /usr/lib/ocaml/pretty.cmx to some other place (or rename it). Don't forget to move the file back after camlp5 is installed successfully.
Added on 2010/11/29: I found the reason. The error message occurs because I installed the libraries of CIL in /usr/lib/ocaml by a self-written ebuild file. To prevent this error every time upgrading camlp5, I should install the CIL libraries in a separate folder.