Package Details: camlidl 1.05-6

Git Clone URL: https://aur.archlinux.org/camlidl.git (read-only)
Package Base: camlidl
Description: A stub code generator and COM binding for Objective Caml (OCaml)
Upstream URL: http://caml.inria.fr/pub/old_caml_site/camlidl/
Licenses: custom
Submitter: simon04
Maintainer: simon04
Last Packager: simon04
Votes: 30
Popularity: 0.433518
First Submitted: 2010-01-23 12:37
Last Updated: 2016-10-27 12:09

Dependencies (1)

Required by (2)

Sources (4)

Latest Comments

ryanswrt commented on 2016-09-10 14:16

What the heck - after messing around with a custom pkgbuild (not touching anything in /usr/) it built and installed successfully? Not sure what could have changed to affect it; does the build process somehow pull ocaml deps?

ryanswrt commented on 2016-09-10 12:54

Failing to build with ocaml 4.02.3

patching file config/Makefile.unix
patching file lib/Makefile
patching file runtime/Makefile.unix
cd compiler; make all
make[1]: Entering directory '/tmp/yaourt-tmp-ryan/aur-camlidl/src/camlidl-1.05/compiler'
rm -f config.ml
ocamlc -g -c config.mli
ocamlc -g -c utils.mli
sed -e 's|%%CPP%%|/usr/bin/cpp|' \
config.mlp > config.ml
ocamlc -g -c idltypes.mli
ocamllex linenum.mll
ocamlc -g -c linenum.mli
ocamlyacc -v parser_midl.mly
ocamlyacc -v parser_midl.mly
12 shift/reduce conflicts.
16 states, 331 transitions, table size 1420 bytes
ocamllex lexer_midl.mll
12 shift/reduce conflicts.
ocamlc -g -c clflags.ml
ocamlc -g -c utils.ml
ocamlc -g -c linenum.ml
chmod -w config.ml
ocamlc -g -c config.ml
ocamlc -g -c prefix.mli
ocamlc -g -c lexpr.mli
ocamlc -g -c cvttyp.mli
ocamlc -g -c variables.mli
ocamlc -g -c enum.mli
File "lexpr.mli", line 39, characters 14-22:
Error: Unbound module Prefix
make[1]: *** [Makefile:78: lexpr.cmi] Error 2
make[1]: *** Waiting for unfinished jobs....
File "utils.ml", line 51, characters 15-28:
Warning 3: deprecated: String.create
Use Bytes.create instead.
129 states, 1747 transitions, table size 7762 bytes
make[1]: Leaving directory '/tmp/yaourt-tmp-ryan/aur-camlidl/src/camlidl-1.05/compiler'
make: *** [Makefile:18: all] Error 2
==> ERROR: A failure occurred in build().

simon04 commented on 2014-05-06 10:41

1.05-4: added "options=(staticlibs)" according to clockish – thank you!

clockish commented on 2014-05-03 20:24

"options=(staticlibs)" should probably be added to the PKGBUILD. This installs the /usr/lib/ocaml/camlidl/*.a files, and the Arch ocaml-* packages typically include these.

simon04 commented on 2013-11-03 08:28

1.05-3: updated according to flocke – thank you!

flocke commented on 2013-10-02 10:07

I patched the build system to install it to /usr/lib/ocaml/camlidl and added a META file (the patch is loosely based on the debian patches).

PKGBUILD: http://bpaste.net/show/137185/
META.camlidl: http://bpaste.net/show/137186/
arch-build-system-fix.patch: http://bpaste.net/show/137187/

But I have no interest in maintaining it since I don't use Arch Linux on my main system anymore. I just fixed it up to get google-drive-ocamlfuse to compile.

aws commented on 2013-09-02 10:43

@hobarrera I think you need a META file, like the one at https://github.com/OCamlPro/opam-repository/blob/master/packages/camlidl.1.05/files/META . I'm not sure where it is supposed to go. I suspect that it'll work if you create the directory /usr/lib/ocaml/camlidl and shove all the library files and META into it. Myself, I ended up using OPAM to install google-drive-ocamlfuse.

aws commented on 2013-09-02 10:42

@hobarrera I think you need a META file, like the [one in the camlidl OPAM package](https://github.com/OCamlPro/opam-repository/blob/master/packages/camlidl.1.05/files/META). I'm not sure where it is supposed to go. I suspect that it'll work if you create the directory /usr/lib/ocaml/camlidl and shove all the library files and META into it. Myself, I ended up using OPAM to install google-drive-ocamlfuse.

simon04 commented on 2013-08-20 19:27

I'm not sure at all. The package fulfilled my needs when I needed it some time ago, but I don't know whether that is still the case.
I'm happy to disown the package in case you'd like to maintain it. :-)

hobarrera commented on 2013-08-20 05:43

Are you sure this PKGBUILD is ok?
The debian package includes several dozen files (contrary to this one), and also, ocamlfind query camlidl report camlidl as not-installed.

I'm trying to get google-drive-ocaml-fuse installed as a package, and I'm getting this error.

simon04 commented on 2013-02-23 22:09

1.05-2: fix path of cpp