You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception in thread "main" eta.runtime.exception.EtaException: WrapPCRE.hsc was not compiled against pcre library with HAVE_PCRE_H defined #978
I want to use duckling on jvm and I built duckling-0.1.6.1 with --enable-uberjar-mode and run the excutable jar, it raised exception Exception in thread "main" eta.runtime.exception.EtaException: WrapPCRE.hsc was not compiled against pcre library with HAVE_PCRE_H defined, How can I solve it?
I am very eager to solve this problem.
Description
See above.
Expected Behavior
Build a single runnable jar without exception.
Actual Behavior
Raise a exception when run: Exception in thread "main" eta.runtime.exception.EtaException: WrapPCRE.hsc was not compiled against pcre library with HAVE_PCRE_H defined
Maybe it is using a version of regex-pcre-builtin that is not patched to work with eta. The patched version is regex-pcre-builtin-0.94.4.8.8.35
You can try to make the build use that version of the library adding a cabal.project like:
Maybe it is using a version of regex-pcre-builtin that is not patched to work with eta. The patched version is regex-pcre-builtin-0.94.4.8.8.35
You can try to make the build use that version of the library adding a cabal.project like:
or alternatively run etlas build --constraint="bifunctors==5.5.3" --constraint="regex-pcre-builtin == 0.94.4.8.8.35"
I've just tested that the library can be built with those constraints, downloading it with etlas update && etlas get duckling-0.1.6.1
Thank you for your answer. I can build it successfully, but I can't run the tests. When I excute etlas run duckling-test, it raise the exception described above.
Activity
jneira commentedon Oct 16, 2019
Maybe it is using a version of regex-pcre-builtin that is not patched to work with eta. The patched version is regex-pcre-builtin-0.94.4.8.8.35
You can try to make the build use that version of the library adding a
cabal.projectlike:or alternatively run
etlas build --constraint="bifunctors==5.5.3" --constraint="regex-pcre-builtin == 0.94.4.8.8.35"I've just tested that the library can be built with those constraints, downloading it with
etlas update && etlas get duckling-0.1.6.1Boreaso commentedon Oct 16, 2019
Thank you for your answer. I can build it successfully, but I can't run the tests. When I excute
etlas run duckling-test, it raise the exception described above.