Package Details: ocaml-pcre 7.4.3-1

Git Clone URL: (read-only, click to copy)
Package Base: ocaml-pcre
Description: Perl compatible regular expressions for OCaml
Upstream URL:
Licenses: custom:LGPL2.1 with linking exception
Conflicts: pcre-ocaml
Replaces: pcre-ocaml
Submitter: None
Maintainer: None
Last Packager: J5lx
Votes: 71
Popularity: 0.000005
First Submitted: 2011-09-17 10:16
Last Updated: 2020-05-03 14:14

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

J5lx commented on 2015-12-01 08:11

Since a few weeks I'm getting those errors as well when building OCaml packages. In those cases I was always able to build the package using `extra-x86_64-build`, so it’s probably some kind of a configuration error or something. However, playing with the make -j parameter like @oriba suggested did not help (at least not for me).

oriba commented on 2015-11-30 12:08

It builds here with OCaml version 4.02.3.

Maybe MAKEFLAGS, -j parameter set to parallel compilation
might be problematic. ( /etc/makepkg.conf )

bidulock commented on 2015-11-30 12:01

Won't compile with a current version of ocaml. Anyone know what the problem is?

+ /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/ocaml/libasmrun.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
E: Failure("Command ''/usr/bin/ocamlbuild' lib/libpcre_stubs.a lib/ lib/pcre.cma lib/pcre.cmxa lib/pcre.a lib/pcre.cmxs examples/cloc/cloc.native examples/count_hash/count_hash.native examples/pcregrep/pcregrep.native examples/subst/subst.native' terminated with error code 10")
Makefile:16: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().

leonardder commented on 2014-07-16 06:59

Thanks for the info. Updated accordingly

rafaelff commented on 2014-07-16 02:22

New version 7.1.1

Also 'url' and 'source' changed (bitbucket -> github):


oriba commented on 2014-01-06 17:26

Get pcre-ocaml-7.0.4.tar.gz (83.0 KB).

oriba commented on 2014-01-05 22:56

If staticlibs-option is, what you want to add, then it would be this line, that is needed:

options=('!strip' 'staticlibs')

leonardder commented on 2013-12-06 22:41

Could you please put ocaml in the makedepends array? According to namcap, ocaml isn't a runtime dependency.

leonardder commented on 2013-11-18 16:37

This package is quite useless without staticlibs enabled

xaocon commented on 2013-11-04 23:55

should have staticlibs option enabled.