Package Details: ocaml-pcre 7.4.3-1

Git Clone URL: https://aur.archlinux.org/ocaml-pcre.git (read-only, click to copy)
Package Base: ocaml-pcre
Description: Perl compatible regular expressions for OCaml
Upstream URL: http://mmottl.github.io/pcre-ocaml
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 »

oriba commented on 2013-06-15 11:05

problems with building the package:


(...)
ocamldoc: ............................................ /usr/bin/ocamldoc

+ /usr/bin/ocamlopt.opt -I /usr/lib/ocaml/ocamlbuild unix.cmxa /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
sh: as: Kommando nicht gefunden.
File "myocamlbuild.ml", line 1:
Error: Assembler error, input left in file /tmp/camlasm5d36a1.s
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/dllpcre_stubs.so 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")
make: *** [all] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...

Anonymous comment on 2012-05-26 15:43

The paths in 'build' and 'package' still refer to the 'release' part of the name, so the build just fails with cd complaining about no such file or directory.

Anonymous comment on 2012-05-26 14:08

Thanks, PKGBUILD updated!

Anonymous comment on 2012-05-26 04:01

Author's source tarball seems to have moved. This seems to let it build for me:

--- PKGBUILD.orig 2012-05-25 20:58:39.190988600 -0700
+++ PKGBUILD 2012-05-25 21:00:08.718966472 -0700
@@ -11,17 +11,17 @@
makedepends=('ocaml-findlib')
replaces=('pcre-ocaml')
conflicts=('pcre-ocaml')
-source=(http://hg.ocaml.info/release/pcre-ocaml/archive/release-$pkgver.tar.bz2)
-sha256sums=('7c999e2cd9bccd815682eee155ad76e78c99d790f855b1ce562ddd54ae803d72')
+source=(https://bitbucket.org/mmottl/pcre-ocaml/downloads/pcre-ocaml-$pkgver.tar.gz)
+sha256sums=('f1774028a4525d22d1f4cf4ce0121c99d85a75aed7a498c3e8ab0f5e39888e47')
options=(!strip)

build() {
- cd "$srcdir/pcre-ocaml-release-$pkgver"
+ cd "$srcdir/pcre-ocaml-$pkgver"
make all htdoc
}

package() {
- cd "$srcdir/pcre-ocaml-release-$pkgver"
+ cd "$srcdir/pcre-ocaml-$pkgver"
export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
install -dm 755 "$OCAMLFIND_DESTDIR/stublibs"
make install

oriba commented on 2012-04-14 23:26

This should make it:

(diff -u Makefile.in Makefile.in.NEW)

==========================================================
--- Makefile.in 2009-11-07 22:05:52.000000000 +0100
+++ /tmp/Makefile.in 2012-04-15 01:21:04.052428350 +0200
@@ -40,9 +40,9 @@
@$(MAKE) depend
@$(MAKE) targets

-targets: $(TARGETS) examples
+targets: examples

-examples:
+examples: $(TARGETS)
(cd examples; $(MAKE))

curl.cma: $(CURLBCOBJS) libcurl-helper.a
==========================================================

oriba commented on 2012-04-14 23:15

doing makepkg -s three times, will create the package.

The problem seens to be, that examples is a dependency for
the "targets" target.

Line 43 in the Makefile.

First removing the "examples" and compiling then
and afterwards adding the examples makes things working.

So, the order must be, first to create the targets - without examples
as dependency, and then later make the examples, with the build
stuff as depenedncy.

Seens just to be the wrong order...
library is dependent on the examples, instead of examples
are dependent on the built lib/binding.

Anonymous comment on 2011-12-23 09:16

Thanks, updated to 6.4.2; as for the package, you should probably send a deletion request to the mailing list.

oriba commented on 2011-12-23 03:22

Hello, I didn't saw that there already is a package for Ocaml && PCRE,
so I created my own:

https://aur.archlinux.org/packages.php?ID=55215

ooops

stativ commented on 2011-09-17 11:00

Removing, replaced by the ocaml-pcre package.

Anonymous comment on 2010-11-23 07:57

New version, 6.1.1-1 uploaded.