Using this package to create native-code, I get the message that
/usr/lib/ocaml/ocamlgraph/graph.a
is missing.
To avoid this problem, the option 'staticlibs' must be inserted into the PKGBUILD.
But this option is rather deprecated by the ARCH-people, so it's up to the maintainer or to the people who install via AUR/majepkg, to add this option by themselves into the PKGBUILD before using makepkg...
Search Criteria
Package Details: ocaml-ocamlgraph 1.8.2-2
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2014-11-26)
| Package Base: | ocaml-ocamlgraph |
|---|---|
| Description: | Graph library for OCaml |
| Upstream URL: | http://ocamlgraph.lri.fr |
| Category: | lib |
| Licenses: | |
| Submitter: | magus |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 12 |
| First Submitted: | 2010-08-16 18:35 |
| Last Updated: | 2012-07-27 08:51 |
Dependencies (1)
Required by (3)
Sources
Latest Comments
Comment by oriba
Comment by oriba
namcap outputs the following:
ocaml-ocamlgraph E: Dependency libgnomecanvas detected and not included (libraries ['usr/lib/libgnomecanvas-2.so.0'] needed in files ['usr/bin/graph-viewer', 'usr/bin/graph-editor'])
ocaml-ocamlgraph W: Dependency included and not needed ('ocaml')
Comment by LeonidasXIV
For some reason stopped to build (in the GUI part, I uninstalled lablgtk2 and hacked the PKGBUILD and it works).
Anonymous comment
Updated to 1.8.1 -- thanks to whoever pressed OOD :)
Comment by thatch45
Updated this package for changes in findlib, this package does not require findlib, but it includes the findlib meta file for findlib compatability.
Comment by ftrvxmtrx
Please add '!makeflags' to options field, because it fails in case of parallel build:
File "dgraph/dGraphViewer.ml", line 26, characters 0-11:
Error: Unbound module Dgraph
make: *** [dgraph/dGraphViewer.cmo] Error 2
make: *** Waiting for unfinished jobs....
Aborting...
Comment by simon04
The following line is superfluous then?:
> FINDLIBDIR=${pkgdir}$(ocamlfind printconf path)
Comment by magus
@simon04, thanks for reminding me about that one.
Comment by simon04
Btw: see findlib.conf(5) for all variables.
Comment by simon04
You can use the variable OCAMLFIND_DESTDIR instead of patching the Makefile:
> make install DESTDIR=$pkgdir OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir)
The idea originates from https://bbs.archlinux.org/viewtopic.php?pid=687338