To install pcoq from the software sources, you need to make sure you are able to re-compile it. For this you need:
What we mean by "adequate versions" varies from one version of Coq and Pcoq to the other. For Coq version 7.2, the adequate version of ocaml and camlp4 is 3.04 (but ocaml-3.01 will also fit), the adequate version of java is 1.3 (or 1.3.1rc1 if you are using a non-US keyboard).
Beware that an incorrect installation of Coq is the most frequent reason for failing to compile or run pcoq. Moreover, default installations of Coq, as they can be obtained from the binary distributions made by the Coq team are not adapted to working with pcoq. For this reason, it is often better to re-compile Coq with the indications provided in this documentation.
Constructing a local installation of the Coq system is a bit difficult, especially since the Coq documentation is a bit erroneous on this aspect. As mentioned in the Coq installation file, one should call the coq configure command with the -local option, but one should never (repeat: never) proceed beyond step 5 of that installation documentation to get a local installation.
The commands to run are the following ones:
PATH=/usr/local/ocaml-3.04/bin:/usr/local/jdk1.3.1/bin:$PATH tar xfz coq-7.2.tar.gz cd coq-7.2 ./configure -local make world cd ..
Once coq has been installed, you should add its binary directory in front of you Unix path variable and proceed with the installation of pcoq.
If anything fails, make sure you call make depend and make clean before any new try at re-compiling the system.
The commands to run are the following ones:
PATH=$(coq-7.2/bin/coqtop -where)/bin:$PATH tar xfz pcoq.tgz cd pcoq ./configure make depend make world
The command to pcoq is found in the directory bin and is called pcoq. It can be copied where you want, for example in /usr/local/bin, as long as the directory where you ran the compilation does not move. You need to call this command with the option -local. For instance, you can type
bin/pcoq -local IntroductionFrancais.vto find a short explanation on how to use pcoq (it is in French, though).