Tableau WorkBench (TWB) build errors

The following is the output I got from running:

make

subsequent to:

./configure

(which succeeded) in the twb-dev directory created by running the command:

darcs get http://twb.rsise.anu.edu.au/Repository/twb-dev

My system is 64 bit Fedora Linux 20 running on an Intel CPU on an ASUS laptop, however I also get build errors on a 32 bit version of the same OS in a VirtualBox virtual machine. From what I can see, the error appears related to a faulty camlp4 installation, however when I run:

sudo yum install ocaml-camlp4

I get the output:

Package ocaml-camlp4-4.00.1-3.fc20.x86_64 already installed and latest version
Nothing to do

The error seems to be a missing /usr/lib/camlp4 directory, however on my 64 bit platform there is a directory /usr/lib64/ocaml/camlp4, and on my 32 bit platform there is a directory /usr/lib/ocaml/camlp4 - perhaps the wrong directory is being used by the build process.

Make output for twb-dev

cd visit && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-dev/visit'
make[2]: Entering directory `/data/home/laird/twb-dev/visit'
making ._d/visit.d from visit.ml
making ._d/rule.d from rule.ml
making ._d/cache.d from cache.ml
making ._d/tree.d from tree.ml
making ._d/node.d from node.ml
making ._d/data.d from data.ml
making ._d/llist.d from llist.ml
make[2]: Leaving directory `/data/home/laird/twb-dev/visit'
make[2]: Entering directory `/data/home/laird/twb-dev/visit'
ocamlopt -c llist.ml
ocamlopt -c data.ml
ocamlopt -c node.ml
ocamlopt -c tree.ml
ocamlopt -c cache.ml
ocamlopt -c rule.ml
ocamlopt -c visit.ml
ocamlopt -a                \
                         -o twbcore.cmxa llist.cmx data.cmx node.cmx tree.cmx cache.cmx rule.cmx visit.cmx
make[2]: Leaving directory `/data/home/laird/twb-dev/visit'
make[1]: Leaving directory `/data/home/laird/twb-dev/visit'
cd types && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-dev/types'
make[2]: Entering directory `/data/home/laird/twb-dev/types'
making ._d/twbSbl.d from twbSbl.ml
making ._d/twbSingleton.d from twbSingleton.ml
making ._d/twbMap.d from twbMap.ml
making ._d/twbContainer.d from twbContainer.ml
making ._d/twbHash.d from twbHash.ml
making ._d/twbMSet.d from twbMSet.ml
making ._d/twbList.d from twbList.ml
making ._d/twbSet.d from twbSet.ml
make[2]: Leaving directory `/data/home/laird/twb-dev/types'
make[2]: Entering directory `/data/home/laird/twb-dev/types'
ocamlopt -c twbSet.ml
ocamlopt -c twbList.ml
ocamlopt -c twbMSet.ml
ocamlopt -c twbHash.ml
ocamlopt -c twbContainer.ml
ocamlopt -c twbMap.ml
ocamlopt -c twbSingleton.ml
ocamlopt -c twbSbl.ml
ocamlopt -a                \
                         -o twbtypes.cmxa twbSet.cmx twbList.cmx twbMSet.cmx twbHash.cmx twbContainer.cmx twbMap.cmx twbSingleton.cmx twbSbl.cmx
make[2]: Leaving directory `/data/home/laird/twb-dev/types'
make[1]: Leaving directory `/data/home/laird/twb-dev/types'
cd sequent && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-dev/sequent'
make[2]: Entering directory `/data/home/laird/twb-dev/sequent'
making ._d/userRule.d from userRule.ml
making ._d/outputBroker.d from outputBroker.ml
making ._d/dataType.d from dataType.ml
making ._d/ruleContext.d from ruleContext.ml
making ._d/partition.d from partition.ml
making ._d/build.d from build.ml
making ._d/nodePattern.d from nodePattern.ml
make[2]: Leaving directory `/data/home/laird/twb-dev/sequent'
make[2]: Entering directory `/data/home/laird/twb-dev/sequent'
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c nodePattern.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c build.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c partition.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c ruleContext.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c dataType.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c outputBroker.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c userRule.ml
ocamlfind ocamlopt -a                \
                         -o twbseq.cmxa nodePattern.cmx build.cmx partition.cmx ruleContext.cmx dataType.cmx outputBroker.cmx userRule.cmx
make[2]: Leaving directory `/data/home/laird/twb-dev/sequent'
make[1]: Leaving directory `/data/home/laird/twb-dev/sequent'
cd parsing && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-dev/parsing'
make[2]: Entering directory `/data/home/laird/twb-dev/parsing'
make[3]: Entering directory `/data/home/laird/twb-dev/parsing'
make[4]: Entering directory `/data/home/laird/twb-dev/parsing'
making ._d/extCommon.d from extCommon.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp5o: command not found
Preprocessing error on file extCommon.ml
make[4]: *** Deleting file `._d/extCommon.d'
making ._d/tablib.d from tablib.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp5o: command not found
Preprocessing error on file tablib.ml
make[4]: *** Deleting file `._d/tablib.d'
making ._d/extGramm.d from extGramm.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp5o: command not found
Preprocessing error on file extGramm.ml
make[4]: *** Deleting file `._d/extGramm.d'
making ._d/syntaxChecker.d from syntaxChecker.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/syntaxChecker.d'
making ._d/parselib.d from parselib.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp5o: command not found
Preprocessing error on file parselib.ml
make[4]: *** Deleting file `._d/parselib.d'
making ._d/keywords.d from keywords.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/keywords.d'
making ._d/entrylib.d from entrylib.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/entrylib.d'
making ._d/ast.d from ast.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/ast.d'
ocamlfind ocamlc -package str,unix,twb.types -c -I /usr/lib/camlp4 ast.ml
File "ast.ml", line 2, characters 36-46:
Error: Unbound module MLast
make[4]: *** [ast.cmi] Error 2
make[4]: Leaving directory `/data/home/laird/twb-dev/parsing'
make[3]: *** [byte-code-library] Error 2
make[3]: Leaving directory `/data/home/laird/twb-dev/parsing'
make[2]: *** [subproj_sequent] Error 2
make[2]: Leaving directory `/data/home/laird/twb-dev/parsing'
make[1]: *** [bcl] Error 2
make[1]: Leaving directory `/data/home/laird/twb-dev/parsing'
make: *** [nc] Error 2

The following is the output I got from the same procedure as above except for twb-stable rather than twb-dev.

Make output for twb-stable

cd visit && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-stable/visit'
make[2]: Entering directory `/data/home/laird/twb-stable/visit'
making ._d/visit.d from visit.ml
making ._d/rule.d from rule.ml
making ._d/cache.d from cache.ml
making ._d/tree.d from tree.ml
making ._d/node.d from node.ml
making ._d/data.d from data.ml
making ._d/llist.d from llist.ml
make[2]: Leaving directory `/data/home/laird/twb-stable/visit'
make[2]: Entering directory `/data/home/laird/twb-stable/visit'
ocamlopt -c llist.ml
ocamlopt -c data.ml
ocamlopt -c node.ml
ocamlopt -c tree.ml
ocamlopt -c cache.ml
ocamlopt -c rule.ml
ocamlopt -c visit.ml
ocamlopt -a                \
                         -o twbcore.cmxa llist.cmx data.cmx node.cmx tree.cmx cache.cmx rule.cmx visit.cmx
make[2]: Leaving directory `/data/home/laird/twb-stable/visit'
make[1]: Leaving directory `/data/home/laird/twb-stable/visit'
cd types && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-stable/types'
make[2]: Entering directory `/data/home/laird/twb-stable/types'
making ._d/twbSbl.d from twbSbl.ml
making ._d/twbSingleton.d from twbSingleton.ml
making ._d/twbMap.d from twbMap.ml
making ._d/twbContainer.d from twbContainer.ml
making ._d/twbHash.d from twbHash.ml
making ._d/twbMSet.d from twbMSet.ml
making ._d/twbList.d from twbList.ml
making ._d/twbSet.d from twbSet.ml
make[2]: Leaving directory `/data/home/laird/twb-stable/types'
make[2]: Entering directory `/data/home/laird/twb-stable/types'
ocamlopt -c twbSet.ml
ocamlopt -c twbList.ml
ocamlopt -c twbMSet.ml
ocamlopt -c twbHash.ml
ocamlopt -c twbContainer.ml
ocamlopt -c twbMap.ml
ocamlopt -c twbSingleton.ml
ocamlopt -c twbSbl.ml
ocamlopt -a                \
                         -o twbtypes.cmxa twbSet.cmx twbList.cmx twbMSet.cmx twbHash.cmx twbContainer.cmx twbMap.cmx twbSingleton.cmx twbSbl.cmx
make[2]: Leaving directory `/data/home/laird/twb-stable/types'
make[1]: Leaving directory `/data/home/laird/twb-stable/types'
cd sequent && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-stable/sequent'
make[2]: Entering directory `/data/home/laird/twb-stable/sequent'
making ._d/userRule.d from userRule.ml
making ._d/outputBroker.d from outputBroker.ml
making ._d/dataType.d from dataType.ml
making ._d/ruleContext.d from ruleContext.ml
making ._d/partition.d from partition.ml
making ._d/build.d from build.ml
making ._d/nodePattern.d from nodePattern.ml
make[2]: Leaving directory `/data/home/laird/twb-stable/sequent'
make[2]: Entering directory `/data/home/laird/twb-stable/sequent'
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c nodePattern.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c build.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c partition.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c ruleContext.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c dataType.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c outputBroker.ml
ocamlfind ocamlopt -package twb.core,twb.types,extlib -c userRule.ml
ocamlfind ocamlopt -a                \
                         -o twbseq.cmxa nodePattern.cmx build.cmx partition.cmx ruleContext.cmx dataType.cmx outputBroker.cmx userRule.cmx
make[2]: Leaving directory `/data/home/laird/twb-stable/sequent'
make[1]: Leaving directory `/data/home/laird/twb-stable/sequent'
cd parsing && make && cp *.cm* *.a ../twb/
make[1]: Entering directory `/data/home/laird/twb-stable/parsing'
make[2]: Entering directory `/data/home/laird/twb-stable/parsing'
make[3]: Entering directory `/data/home/laird/twb-stable/parsing'
make[4]: Entering directory `/data/home/laird/twb-stable/parsing'
making ._d/extCommon.d from extCommon.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp4o: command not found
Preprocessing error on file extCommon.ml
make[4]: *** Deleting file `._d/extCommon.d'
making ._d/tablib.d from tablib.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp4o: command not found
Preprocessing error on file tablib.ml
make[4]: *** Deleting file `._d/tablib.d'
making ._d/extGramm.d from extGramm.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp4o: command not found
Preprocessing error on file extGramm.ml
make[4]: *** Deleting file `._d/extGramm.d'
making ._d/syntaxChecker.d from syntaxChecker.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/syntaxChecker.d'
making ._d/parselib.d from parselib.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
sh: camlp4o: command not found
Preprocessing error on file parselib.ml
make[4]: *** Deleting file `._d/parselib.d'
making ._d/keywords.d from keywords.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/keywords.d'
making ._d/entrylib.d from entrylib.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/entrylib.d'
making ._d/ast.d from ast.ml
Bad -I option: /usr/lib/camlp4: No such file or directory
make[4]: *** Deleting file `._d/ast.d'
ocamlfind ocamlc -package str,unix,twb.types -c -I /usr/lib/camlp4 ast.ml
File "ast.ml", line 2, characters 36-46:
Error: Unbound module MLast
make[4]: *** [ast.cmi] Error 2
make[4]: Leaving directory `/data/home/laird/twb-stable/parsing'
make[3]: *** [byte-code-library] Error 2
make[3]: Leaving directory `/data/home/laird/twb-stable/parsing'
make[2]: *** [subproj_sequent] Error 2
make[2]: Leaving directory `/data/home/laird/twb-stable/parsing'
make[1]: *** [bcl] Error 2
make[1]: Leaving directory `/data/home/laird/twb-stable/parsing'
make: *** [nc] Error 2