In ocamlnet-3.6.5, Netstring_pcre module is packaged separately in netstring-pcre.
Use netstring-pcre package.
In ocamlnet-3.6.5, Netstring_pcre module is packaged separately
@scjung what is this patch fixing exactly ?
@smondet as an active ocsigen user and packager, do you have an opinion on this patch ?
This https://ocaml-www3.ocamllabs.cl.cam.ac.uk/github/OCamlPro/opam-repository#latest-ocsigenserver.2.2.0? Please ignore the mis-diagnosis of the error.
It looks fine by me!
(the dependency of ocsigenserver on pcre-ocaml was already there, so it should force ocamlnet to be compiled with Netstring_pcre module).
@scjung was this reported to the ocsigen project?
Right, merging then. Thx for the quick comments and for the fix.
Ooop.... I'm late. Here in East Asia, it's 3am :D
Sorry, my description is a little bit confusing and wrong. In my system (Mac OS X 10.6.8), when I hit opam install ocsigenserver, it simply fails with Unbound module Netstring_pcre. Before ocamlnet 3.6.5, the netstring META file requires netstring-pcre. But after ocamlnet 3.6.5, netstring META file does not require netstring-pcre even --enable-pcre is used. And because ocsigenserver makefiles specifies only netstring, it fails to build.
opam install ocsigenserver
Unbound module Netstring_pcre
@smondet I didn't report it yet.
Just to confirm:
@scjung Can you please comment on https://github.com/OCamlPro/opam-repository/issues/955 ?