Open aellert opened 10 years ago
Hi
The errors are due to missing dependencies: you need the following ocaml packages in order to build srsly: lwt >= 2.4 (you have 2.3.2), release, spf, milter, srs and uint.
Since those are not yet packaged for Debian, I believe the easiest way to get them is via opam. Install it with "apt-get install opam" then run "opam install" for each package.
Cheers Andre On Apr 22, 2014 10:40 AM, "aellert" notifications@github.com wrote:
I'm trying to compile a srsly-2.0.0 package for Debian wheezy but I have some error and i'm totaly noob with ocaml. Could you please help ?
Many thanks
Here is the output : dpkg-buildpackage -us -uc
dpkg-buildpackage: paquet source srsly dpkg-buildpackage: version source 2.0.0-0digirati2 dpkg-buildpackage: source changé par Andre Nathan andre@digirati.com.br dpkg-buildpackage: architecture hôte amd64 dpkg-source --before-build srsly-2.0.0 debian/rules clean dh clean dh_testdir debian/rules override_dh_auto_clean make[1]: entrant dans le répertoire « /usr/local/src/srsly-2.0.0 » ocaml setup.ml -distclean Finished, 0 targets (0 cached) in 00:00:00. 00:00:00 0 (0 ) STARTING -------- |make[1]: quittant le répertoire « /usr/local/src/srsly-2.0.0 » dh_clean dpkg-source -b srsly-2.0.0 dpkg-source: info: utilisation du format source « 3.0 (quilt) » dpkg-source: info: construction de srsly à partir de ./srsly_2.0.0.orig.tar.gz dpkg-source: info: construction de srsly dans srsly_2.0.0-0digirati2.debian.tar.gz dpkg-source: info: construction de srsly dans srsly_2.0.0-0digirati2.dsc debian/rules build dh build dh_testdir debian/rules override_dh_auto_configure make[1]: entrant dans le répertoire « /usr/local/src/srsly-2.0.0 » ocaml setup.ml -configure W: Field 'pkg_lwt_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt: >= 2.4.0 (version: 2.3.2) W: Field 'pkg_lwt_preemptive_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt_preemptive: >= 2.4.0 (version: 2.3.2) W: Field 'pkg_lwt_unix_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt_unix: >= 2.4.0 (version: 2.3.2) W: Field 'pkg_lwt_syntax_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt_syntax: >= 2.4.0 (version: 2.3.2) ocamlfind: Package release' not found W: Field 'pkg_release' is not set: Command ''/usr/bin/ocamlfind' query -format %d release > '/tmp/oasis-e43452.txt'' terminated with error code 2 ocamlfind: Packagerelease.config' not found W: Field 'pkg_release_config' is not set: Command ''/usr/bin/ocamlfind' query -format %d release.config > '/tmp/oasis-10e285.txt'' terminated with error code 2 ocamlfind: Package srs' not found W: Field 'pkg_srs' is not set: Command ''/usr/bin/ocamlfind' query -format %d srs > '/tmp/oasis-08154e.txt'' terminated with error code 2 ocamlfind: Packageuint.uint32' not found W: Field 'pkg_uint_uint32' is not set: Command ''/usr/bin/ocamlfind' query -format %d uint.uint32 > '/tmp/oasis-72bb86.txt'' terminated with error code 2 ocamlfind: Package uint.uint128' not found W: Field 'pkg_uint_uint128' is not set: Command ''/usr/bin/ocamlfind' query -format %d uint.uint128 > '/tmp/oasis-030296.txt'' terminated with error code 2 W: Failure("Cannot satisfy version constraint on pkg_lwt: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_preemptive: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_unix: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_syntax: >= 2.4.0 (version: 2.3.2)") ocamlfind: Packagemilter' not found W: Field 'pkg_milter' is not set: Command ''/usr/bin/ocamlfind' query -format %d milter > '/tmp/oasis-96758b.txt'' terminated with error code 2 ocamlfind: Package release' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release > '/tmp/oasis-71eac3.txt'' terminated with error code 2") ocamlfind: Packagerelease.config' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release.config
'/tmp/oasis-eb8014.txt'' terminated with error code 2") ocamlfind: Package spf' not found W: Field 'pkg_spf' is not set: Command ''/usr/bin/ocamlfind' query -format %d spf > '/tmp/oasis-209227.txt'' terminated with error code 2 ocamlfind: Packagesrs' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d srs > '/tmp/oasis-b2fa50.txt'' terminated with error code 2") ocamlfind: Package uint.uint32' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint32 > '/tmp/oasis-5d5c78.txt'' terminated with error code 2") ocamlfind: Packageuint.uint128' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint128 > '/tmp/oasis-da768d.txt'' terminated with error code 2") W: Failure("Cannot satisfy version constraint on pkg_lwt: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_unix: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_syntax: >= 2.4.0 (version: 2.3.2)") ocamlfind: Package milter' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d milter > '/tmp/oasis-65c6d7.txt'' terminated with error code 2") ocamlfind: Packagerelease' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release > '/tmp/oasis-88e670.txt'' terminated with error code 2") ocamlfind: Package release.config' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release.config '/tmp/oasis-a56ec0.txt'' terminated with error code 2") ocamlfind: Packagerelease.util' not found W: Field 'pkg_release_util' is not set: Command ''/usr/bin/ocamlfind' query -format %d release.util > '/tmp/oasis-1deafd.txt'' terminated with error code 2 ocamlfind: Package spf' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d spf > '/tmp/oasis-503eae.txt'' terminated with error code 2") ocamlfind: Packagesrs' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d srs > '/tmp/oasis-66b3b3.txt'' terminated with error code 2") ocamlfind: Package uint.uint32' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint32 > '/tmp/oasis-b0e49c.txt'' terminated with error code 2") ocamlfind: Packageuint.uint128' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint128 > '/tmp/oasis-157809.txt'' terminated with error code 2") E: Cannot find findlib package lwt (>= 2.4.0) E: Cannot find findlib package lwt.preemptive (>= 2.4.0) E: Cannot find findlib package lwt.syntax (>= 2.4.0) E: Cannot find findlib package lwt.unix (>= 2.4.0) E: Cannot find findlib package milter E: Cannot find findlib package release E: Cannot find findlib package release.config E: Cannot find findlib package release.util E: Cannot find findlib package spf E: Cannot find findlib package srs E: Cannot find findlib package uint.uint128 E: Cannot find findlib package uint.uint32 E: Failure("12 configuration errors") make[1]: * [override_dh_auto_configure] Erreur 1 make[1]: quittant le répertoire « /usr/local/src/srsly-2.0.0 » make: * [build] Erreur 2 dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2
— Reply to this email directly or view it on GitHubhttps://github.com/andrenth/srsly/issues/1 .
I'm trying to compile a srsly-2.0.0 package for Debian wheezy but I have some error and i'm totaly noob with ocaml. Could you please help ?
Many thanks
Here is the output :
dpkg-buildpackage -us -uc
dpkg-buildpackage: paquet source srsly dpkg-buildpackage: version source 2.0.0-0digirati2 dpkg-buildpackage: source changé par Andre Nathan andre@digirati.com.br dpkg-buildpackage: architecture hôte amd64 dpkg-source --before-build srsly-2.0.0 debian/rules clean dh clean dh_testdir debian/rules override_dh_auto_clean make[1]: entrant dans le répertoire « /usr/local/src/srsly-2.0.0 » ocaml setup.ml -distclean Finished, 0 targets (0 cached) in 00:00:00. 00:00:00 0 (0 ) STARTING -------- |make[1]: quittant le répertoire « /usr/local/src/srsly-2.0.0 » dh_clean dpkg-source -b srsly-2.0.0 dpkg-source: info: utilisation du format source « 3.0 (quilt) » dpkg-source: info: construction de srsly à partir de ./srsly_2.0.0.orig.tar.gz dpkg-source: info: construction de srsly dans srsly_2.0.0-0digirati2.debian.tar.gz dpkg-source: info: construction de srsly dans srsly_2.0.0-0digirati2.dsc debian/rules build dh build dh_testdir debian/rules override_dh_auto_configure make[1]: entrant dans le répertoire « /usr/local/src/srsly-2.0.0 » ocaml setup.ml -configure W: Field 'pkg_lwt_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt: >= 2.4.0 (version: 2.3.2) W: Field 'pkg_lwt_preemptive_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt_preemptive: >= 2.4.0 (version: 2.3.2) W: Field 'pkg_lwt_unix_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt_unix: >= 2.4.0 (version: 2.3.2) W: Field 'pkg_lwt_syntax_version_ge_2_4_0' is not set: Cannot satisfy version constraint on pkg_lwt_syntax: >= 2.4.0 (version: 2.3.2) ocamlfind: Package
release' not found W: Field 'pkg_release' is not set: Command ''/usr/bin/ocamlfind' query -format %d release > '/tmp/oasis-e43452.txt'' terminated with error code 2 ocamlfind: Package
release.config' not found W: Field 'pkg_release_config' is not set: Command ''/usr/bin/ocamlfind' query -format %d release.config > '/tmp/oasis-10e285.txt'' terminated with error code 2 ocamlfind: Packagesrs' not found W: Field 'pkg_srs' is not set: Command ''/usr/bin/ocamlfind' query -format %d srs > '/tmp/oasis-08154e.txt'' terminated with error code 2 ocamlfind: Package
uint.uint32' not found W: Field 'pkg_uint_uint32' is not set: Command ''/usr/bin/ocamlfind' query -format %d uint.uint32 > '/tmp/oasis-72bb86.txt'' terminated with error code 2 ocamlfind: Packageuint.uint128' not found W: Field 'pkg_uint_uint128' is not set: Command ''/usr/bin/ocamlfind' query -format %d uint.uint128 > '/tmp/oasis-030296.txt'' terminated with error code 2 W: Failure("Cannot satisfy version constraint on pkg_lwt: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_preemptive: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_unix: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_syntax: >= 2.4.0 (version: 2.3.2)") ocamlfind: Package
milter' not found W: Field 'pkg_milter' is not set: Command ''/usr/bin/ocamlfind' query -format %d milter > '/tmp/oasis-96758b.txt'' terminated with error code 2 ocamlfind: Packagerelease' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release > '/tmp/oasis-71eac3.txt'' terminated with error code 2") ocamlfind: Package
release.config' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release.config > '/tmp/oasis-eb8014.txt'' terminated with error code 2") ocamlfind: Packagespf' not found W: Field 'pkg_spf' is not set: Command ''/usr/bin/ocamlfind' query -format %d spf > '/tmp/oasis-209227.txt'' terminated with error code 2 ocamlfind: Package
srs' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d srs > '/tmp/oasis-b2fa50.txt'' terminated with error code 2") ocamlfind: Packageuint.uint32' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint32 > '/tmp/oasis-5d5c78.txt'' terminated with error code 2") ocamlfind: Package
uint.uint128' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint128 > '/tmp/oasis-da768d.txt'' terminated with error code 2") W: Failure("Cannot satisfy version constraint on pkg_lwt: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_unix: >= 2.4.0 (version: 2.3.2)") W: Failure("Cannot satisfy version constraint on pkg_lwt_syntax: >= 2.4.0 (version: 2.3.2)") ocamlfind: Packagemilter' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d milter > '/tmp/oasis-65c6d7.txt'' terminated with error code 2") ocamlfind: Package
release' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release > '/tmp/oasis-88e670.txt'' terminated with error code 2") ocamlfind: Packagerelease.config' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d release.config > '/tmp/oasis-a56ec0.txt'' terminated with error code 2") ocamlfind: Package
release.util' not found W: Field 'pkg_release_util' is not set: Command ''/usr/bin/ocamlfind' query -format %d release.util > '/tmp/oasis-1deafd.txt'' terminated with error code 2 ocamlfind: Packagespf' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d spf > '/tmp/oasis-503eae.txt'' terminated with error code 2") ocamlfind: Package
srs' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d srs > '/tmp/oasis-66b3b3.txt'' terminated with error code 2") ocamlfind: Packageuint.uint32' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint32 > '/tmp/oasis-b0e49c.txt'' terminated with error code 2") ocamlfind: Package
uint.uint128' not found W: Failure("Command ''/usr/bin/ocamlfind' query -format %d uint.uint128 > '/tmp/oasis-157809.txt'' terminated with error code 2") E: Cannot find findlib package lwt (>= 2.4.0) E: Cannot find findlib package lwt.preemptive (>= 2.4.0) E: Cannot find findlib package lwt.syntax (>= 2.4.0) E: Cannot find findlib package lwt.unix (>= 2.4.0) E: Cannot find findlib package milter E: Cannot find findlib package release E: Cannot find findlib package release.config E: Cannot find findlib package release.util E: Cannot find findlib package spf E: Cannot find findlib package srs E: Cannot find findlib package uint.uint128 E: Cannot find findlib package uint.uint32 E: Failure("12 configuration errors") make[1]: * [override_dh_auto_configure] Erreur 1 make[1]: quittant le répertoire « /usr/local/src/srsly-2.0.0 » make: * [build] Erreur 2 dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de type 2