You need to have ikarus, bher, and scheme-tools set up on your system.
[bpm-dir] is the absolute path for the bayesian program merging directory e.g.
/home/ih/bpm/ (it is important to have the trailing '/').
[bher dir] is the absolute path for the bher directory, e.g.,
Apply modifications to Bher:
Change into the factor-graphics directory:
python configure.py "[bher-dir]" "[bpm-dir]"
Adjust path variables: Add
IKARUS_LIBRARY_PATH=[bpm-dir]/scheme:[scheme-tools dir]:[bher dir]:.to your .bashrc file.
To see if everything works you can do the following
cd [bpm-dir]/church/tests bher beam-learning-tests.church
Due to path issues, you currently have to run bher from the directory containing the church file being run if it uses eval.