Created attachment 150302 [details]
Camlp4 shell archive
Starting with OCaml 4.02, Camlp4 support is provided by a separate software package.
This is is a port of this software package, it is to be used with OCaml 4.02
(see Bug 195736).
A commit references this bug:
Date: Fri May 1 14:15:21 UTC 2015
New revision: 385114
New port: devel/ocaml-camlp4
Camlp4 is a software system for writing extensible parsers for
programming languages. It provides a set of OCaml libraries that are
used to define grammars as well as loadable syntax extensions of such
grammars. Camlp4 stands for Caml Preprocessor and Pretty-Printer and
one of its most important applications is the definition of
domain-specific extensions of the syntax of OCaml.
Camlp4 was part of the official OCaml distribution until its version
4.01.0. Since then it has been replaced by a simpler system which is
easier to maintain and to learn: ppx rewriters and extension points.
Submitted by: Michael Gr?newald <email@example.com>
Committed, thanks for your patience.
I'm unable to compile some things that depend on camlp4 despite having the port installed:
#=== ERROR while installing type_conv.112.01.01 ===============================#
# opam-version 1.2.1
# os freebsd
# command gmake
# path /home/mmatalka/.opam/system/build/type_conv.112.01.01
# compiler system (4.02.1)
# exit-code 2
# env-file /home/mmatalka/.opam/system/build/type_conv.112.01.01/type_conv-47599-57f057.env
# stdout-file /home/mmatalka/.opam/system/build/type_conv.112.01.01/type_conv-47599-57f057.out
# stderr-file /home/mmatalka/.opam/system/build/type_conv.112.01.01/type_conv-47599-57f057.err
### stdout ###
# ocamlopt.opt -o setup.exe setup.ml || ocamlopt -o setup.exe setup.ml || ocamlc -o setup.exe setup.ml
# rm -f setup.cmx setup.cmi setup.o setup.obj setup.cmo
# ./setup.exe -configure
# Makefile:51: recipe for target 'setup.data' failed
### stderr ###
# ocamlfind: Package `camlp4.quotations' not found
# W: Field 'pkg_camlp4_quotations' is not set: Command ''/home/mmatalka/.opam/system/bin/ocamlfind' query -format %d camlp4.quotations > '/tmp/oasis-e393c6.txt'' terminated with error code 2
# ocamlfind: Package `camlp4.extend' not found
# W: Field 'pkg_camlp4_extend' is not set: Command ''/home/mmatalka/.opam/system/bin/ocamlfind' query -format %d camlp4.extend > '/tmp/oasis-1357e8.txt'' terminated with error code 2
# E: Cannot find findlib package camlp4.extend
# E: Cannot find findlib package camlp4.quotations
# E: Failure("2 configuration errors")
# gmake: *** [setup.data] Error 1
You should double check your opam installation, is your environment clean?
Also, please open a separate ticket to track this issue.
Created here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199986