Search Criteria
Package Details: camlpdf 2.7.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/camlpdf.git (read-only, click to copy) |
---|---|
Package Base: | camlpdf |
Description: | Coherent Graphics OCaml library for reading, writing and modifying PDF files |
Upstream URL: | https://github.com/johnwhitington/camlpdf |
Licenses: | LGPL-2.1-or-later |
Submitter: | oriba |
Maintainer: | severach |
Last Packager: | severach |
Votes: | 10 |
Popularity: | 0.006693 |
First Submitted: | 2015-01-02 14:03 (UTC) |
Last Updated: | 2024-10-20 03:53 (UTC) |
Dependencies (2)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- ocaml-findlib (make)
Latest Comments
oriba commented on 2023-05-22 14:11 (UTC)
There is a solution by using a certain tagged version of camlpdf, that should work: https://github.com/johnwhitington/camlpdf/issues/59
Therefore this AUR-package should be updated to fix the problem.
oriba commented on 2023-05-20 11:26 (UTC)
@JohnRobson: The Genlex module has been removed in OCaml 5.0: https://v2.ocaml.org/releases/5.0/notes/Changes So this must be fixed in camlpdf.
JohnRobson commented on 2023-05-20 03:43 (UTC)
alerque commented on 2020-03-06 07:24 (UTC) (edited on 2020-03-06 07:24 (UTC) by alerque)
PSA: I've started hosting this as a prebuilt package in my repository for those that want to install them using
pacman
without messing around with building from the AUR.Icecube63 commented on 2019-10-14 15:04 (UTC)
Have the same old error:
File "pdfutil.ml", line 1227, characters 25-54: 1227 | else if n >= 1000 then implode (many 'M' (n / 1000)) ^ roman (n mod 1000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type bytes but an expression was expected of type string make[1]: [OCamlMakefile:1076: pdfutil.cmx] Fehler 2 make[1]: Verzeichnis „/home/klaus/.cache/pikaur/build/camlpdf/src/camlpdf-2.2-patchlevel1“ wird verlassen make: [OCamlMakefile:801: native-code-library] Fehler 2
MangoMan commented on 2019-04-24 09:35 (UTC)
Just type into the terminal
export OCAMLPARAM="safe-string=0,_"
. that should do the trickKenjiTakahashi commented on 2019-03-15 09:39 (UTC)
You can fix compilation by setting env var
OCAMLPARAM="safe-string=0,_"
.oriba commented on 2018-11-07 15:17 (UTC)
Someone who wants to adopt the package?
flying-sheep commented on 2018-01-25 15:20 (UTC)
Doesn’t build:
ocamlfind ocamlopt -package bigarray -c -g -annot -w -3 pdfutil.ml File "pdfutil.ml", line 1227, characters 25-54: Error: This expression has type bytes but an expression was expected of type string