Package Details: ocaml-sqlite3 4.4.0-1

Git Clone URL: https://aur.archlinux.org/ocaml-sqlite3.git (read-only)
Package Base: ocaml-sqlite3
Description: SQLite3 bindings for OCaml
Upstream URL: https://github.com/mmottl/sqlite3-ocaml
Licenses: MIT
Submitter: ftrvxmtrx
Maintainer: oriba
Last Packager: oriba
Votes: 44
Popularity: 0.141772
First Submitted: 2010-12-30 01:31
Last Updated: 2018-09-06 17:02

Dependencies (6)

Sources (1)

Latest Comments

1 2 3 Next › Last »

simonfxr commented on 2018-10-01 08:04

@oriba After adding the required dependencies, @nerflad's script worked for me. Here is the revised PKGBUILD:

https://gist.github.com/simonfxr/1f45dd7eabac8eeab1fb0555a9e94692

oriba commented on 2018-09-10 12:37

@nerflad: problems with your suggestions: if not using opam init, I get problems:


jbuilder build @install --dev File "src/config/jbuild", line 9, characters 14-18: Error: Library "base" not found. Hint: try: dune external-lib-deps --missing --profile dev --profile dev @install make: *** [Makefile:4: all] Error 1 ==> ERROR: A failure occurred in build(). Aborting...


Also you did not mention opam in makedepends.

nerflad commented on 2018-09-10 05:18

Please update: https://gist.github.com/nerflad/208eedfa6180d97f8992b5ca25174eb1

Using opam (an entirely separate package manager) will install duplicate dependencies on the system. "opam init" operates on the global directory ~/.opam (outside of the build scope). make all is all you need in the build() function.

david_rysk commented on 2018-07-08 20:36

It looks like a stable jbuilder is available in the main repos.

oriba commented on 2018-01-27 03:01

It looks like the installation-procedure of ocaml-sqlite3 has changed a lot. It looks like jbuilder is needed, which (the AUR-package) by itself is outdated and not even building in the current package). So, updating the ocaml-sqlite3 might need some time. BTW: anyone here who used jbuilder so far and coul give advice on installation?

radek_r commented on 2017-09-30 12:32

Please add achitecture "armv7h" to the PKGBUILD.

xiretza commented on 2017-01-28 12:22

Requires ocamlbuild as makedep.

oriba commented on 2015-12-15 18:02

Next OCaml-release will be in Jan. 2016, and some patches related to this or similar issues will be on board then.
Hopefully this will be fixed then...

layus commented on 2015-12-15 07:21

No idea really :-). I do not know how they did fix it.
As I said on the bugtracker [1], I recompiled ocaml with -fPIC which solved my problem. Maybe the correct solution would be to add -runtime-variant _pic to ocamlopt or ocamlfind (I'm guessing here...) ?
The last comment of the mantis [2] seems to me like the latter option is the right one. Any idea where to add -runtime-variant _pic to this package ?

[1] https://bugs.archlinux.org/task/42748
[2] http://caml.inria.fr/mantis/view.php?id=6693#c14113

PS: My system is up to date, and my ocaml version is indeed 4.02.3.

oriba commented on 2015-12-14 22:32

The caml-link says: fixed in 4.02.2+dev / +rc1.
Official ocaml in Arch is: 4.02.3.
Should be fixed there...?!
Do you have the current OCaml installed?