=> Bootstrap dependency digest>=20010302: found digest-20080510 => Bootstrap dependency fetch-[0-9]*: found fetch-1.7 => Checksum SHA1 OK for coccinelle-0.2.3.tgz => Checksum RMD160 OK for coccinelle-0.2.3.tgz ===> Installing dependencies for coccinelle-0.2.3 ========================================================================== The following variables will affect the build process of this package, coccinelle-0.2.3. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 26 Based on these variables, the following variables have been set: * PYPACKAGE = python25 You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Build dependency ocaml-findlib-[0-9]*: found ocaml-findlib-1.2.6 => Build dependency perl>=5.0: found perl-5.14.2 => Build dependency ocaml>=3.09.1nb2: found ocaml-3.12.0nb3 => Build dependency checkperms>=1.1: found checkperms-1.11 => Full dependency menhir-[0-9]*: found menhir-20080912nb1 => Full dependency python25>=2.5.5nb4: found python25-2.5.6 ===> Overriding tools for coccinelle-0.2.3 ===> Extracting for coccinelle-0.2.3 ===> Patching for coccinelle-0.2.3 ===> Creating toolchain wrappers for coccinelle-0.2.3 ===> Configuring for coccinelle-0.2.3 => Replacing Perl interpreter in configure. => Checking for portability problems in extracted files Checking your configuration. OCaml (the wonderful language) is present. OCaml >= 3.11 is present. OCaml scripting activated. ocamlc.opt is present. ocamlopt.opt is present. ocamldep.opt is present. ocamllex.opt is present. make (gnu version) is present. 'pycaml' library is not present. A local copy will be used. 'menhirLib' library is present in /usr/pkg/lib/ocaml/site-lib/menhirLib 'sexplib' library is not present. A local copy will be used.. ---------------------------------------------------------------------- All seems fine for coccinelle. To compile coccinelle type: $ make depend $ make all Or alternatively, for the optimized version: $ make all.opt If you want both, you could use: $ make world To install type: $ make install Then, to test coccinelle simply type: $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c To use the python SmPL feature you may have to set some environment variables. However, they are automatically set by the front-end installed in /usr/pkg/bin. For bash do: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/pkg/lib export PYTHONPATH=$PYTHONPATH:/usr/pkg/share/coccinelle/python ---------------------------------------------------------------------- coccinelle target prefix: /usr/pkg (you can use --prefix to override it) Generating Makefile.config Support for python scripting : yes Support for ocaml scripting : yes Modifying globals/config.ml => Fixing python executable name. => Fixing path to examples in man page. WARNING: [subst.mk:man] Ignoring non-existent file "./docs/spatch.1".