Package Details: ocaml-ocamlgraph 2.1.0-2

Git Clone URL: https://aur.archlinux.org/ocaml-ocamlgraph.git (read-only, click to copy)
Package Base: ocaml-ocamlgraph
Description: Graph library for OCaml
Upstream URL: https://github.com/backtracking/ocamlgraph
Licenses: LGPL-2.1-only
Conflicts: ocaml-ocamlgraph-git
Provides: ocaml-ocamlgraph
Submitter: thorsten
Maintainer: meadow
Last Packager: meadow
Votes: 5
Popularity: 0.000000
First Submitted: 2016-01-28 16:42 (UTC)
Last Updated: 2024-03-28 00:57 (UTC)

Latest Comments

krouziciorel commented on 2023-06-16 09:54 (UTC)

Package ocaml-ocamlgraph is a dependency for spark-2014, if I try to build, there is an error:

File "src/persistent.ml", line 51, characters 20-38: 51 | let compare x y = Pervasives.compare x.tag y.tag ^^^^^^^^^^^^^^^^^^ Error: Unbound module Pervasives make: *** [Makefile:575: src/persistent.cmo] Error 2

Can you please prove it?

thorsten commented on 2018-01-25 15:01 (UTC)

Thanks! I've updated it to 1.8.8

meanjollies commented on 2018-01-24 15:55 (UTC) (edited on 2018-01-24 15:58 (UTC) by meanjollies)

This build is currently failing:

File "lib/bitv.ml", line 454, characters 27-39:
Warning 3: deprecated: String.set

Use Bytes.set instead.

File "lib/bitv.ml", line 454, characters 27-28:

Error: This expression has type string but an expression was expected of type bytes

make: *** [Makefile:556: lib/bitv.cmo] Error 2

This problem goes away in 1.8.8.

thorsten commented on 2017-04-07 10:18 (UTC)

Thanks, now I don't build the viewer anymore, because GnoCanvas is not provided by extra/lablgtk2. Please try again to build this package. In case you need the viewer, we would still need to find another solution.

dkasak commented on 2017-04-07 09:11 (UTC)

The build fails for me with: ocamlc.opt -c -I src -I lib -g -dtypes -I +lablgtk2 -I view_graph -I . -I +lablgtk2 -I view_graph -I . view_graph/viewGraph_core.mli File "view_graph/viewGraph_core.mli", line 36, characters 17-48: Error: Unbound module GnoCanvas make: *** [Makefile:550: view_graph/viewGraph_core.cmi] Error 2

zorun commented on 2017-01-07 17:20 (UTC)

namcap complains about a missing dependency: ocaml-ocamlgraph E: Dependency libgnomecanvas detected and not included (libraries ['usr/lib/libgnomecanvas-2.so.0'] needed in files ['usr/bin/graph-editor', 'usr/bin/graph-viewer'])

thorsten commented on 2016-07-04 09:33 (UTC) (edited on 2016-07-04 09:40 (UTC) by thorsten)

I've just fixed that. Thanks for reporting and please try it again! For more information see the commit message https://aur.archlinux.org/cgit/aur.git/commit/?h=ocaml-ocamlgraph&id=b504bda1fc4d785e334c12671e668b3e771775b3

aeden commented on 2016-07-02 14:43 (UTC)

Yeah, the files get installed in my root directory. / |-- bin |-- boot |-- dev |-- etc |-- home |-- lib -> usr/lib |-- mnt |-- ocamlgraph | |-- META | |-- builder.mli | |-- ... | |-- graph.a | |-- graph.cma | |-- graph.cmi | |-- graph.cmo | |-- graph.cmx | |-- graph.cmxa | `-- ... |-- opt |-- proc |-- run |-- sbin |-- srv |-- sys |-- tm |-- tmp |-- usr |-- var

thorsten commented on 2016-06-13 17:44 (UTC)

Why do you think so? DESTDIR specifies the temporary "root" directory, not the directory where the files are installed. See also the DESTDIR-documentation: https://www.gnu.org/prep/standards/html_node/DESTDIR.html And at least for me, the files are installed to /usr/lib/ocaml/ocamlgraph on my installation. Are the files installed to the wrong directory on your machine?

aeden commented on 2016-06-13 17:21 (UTC)

I believe that line 32 of PKGBUILD should be changed from make DESTDIR=$pkgdir install-findlib to make DESTDIR=$OCAMLFIND_DESTDIR install-findlib to have the ocaml files installed to /usr/lib/ocaml/ocamlgraph.