Open frittentheke opened 8 years ago
Hi
Can you post the output of opam install spf
, opam install milter
, etc?
On Mon, Apr 11, 2016 at 10:17 AM, frittentheke notifications@github.com wrote:
Hey there,
I just wanted to give srsly a shot and attempted to build a Debian package. Unfortunately it throws errors about not finding some of the required packages: 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("8 configuration errors")
I did try to fetch the missing ones via opam, just like you suggested in
1 https://github.com/andrenth/srsly/issues/1 but not luck.
ocaml setup.ml -configure ocamlfind: Package srs' not found W: Field 'pkg_srs' is not set: Command ''/root/.opam/system/bin/ocamlfind' query -format %d srs > '/tmp/oasis-37f95c.txt'' terminated with error code 2 ocamlfind: Packagemilter' not found W: Field 'pkg_milter' is not set: Command ''/root/.opam/system/bin/ocamlfind' query -format %d milter > '/tmp/oasis-905d4e.txt'' terminated with error code 2 ocamlfind: Package spf' not found W: Field 'pkg_spf' is not set: Command ''/root/.opam/system/bin/ocamlfind' query -format %d spf > '/tmp/oasis-d82a5f.txt'' terminated with error code 2 ocamlfind: Packagesrs' not found W: Failure("Command ''/root/.opam/system/bin/ocamlfind' query -format %d srs > '/tmp/oasis-751219.txt'' terminated with error code 2") ocamlfind: Package milter' not found W: Failure("Command ''/root/.opam/system/bin/ocamlfind' query -format %d milter > '/tmp/oasis-603216.txt'' terminated with error code 2") ocamlfind: Packagespf' not found W: Failure("Command ''/root/.opam/system/bin/ocamlfind' query -format %d spf > '/tmp/oasis-3f2515.txt'' terminated with error code 2") ocamlfind: Package `srs' not found W: Failure("Command ''/root/.opam/system/bin/ocamlfind' query -format %d srs > '/tmp/oasis-972d0a.txt'' terminated with error code 2") E: Cannot find findlib package milter E: Cannot find findlib package spf E: Cannot find findlib package srs E: Failure("3 configuration errors")
It just doesn't find the just installed packages.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/andrenth/srsly/issues/2
opam install milter
[NOTE] Package milter is already installed (current version is 1.0.1).
opam install spf
The following actions will be performed:
- install spf.1.0.1
=== 1 to install ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building spf.1.0.1:
ocaml setup.ml -configure --prefix /root/.opam/system
ocaml setup.ml -build
ocaml setup.ml -install
[ERROR] The compilation of spf.1.0.1 failed.
Removing spf.1.0.1.
ocamlfind remove spf
#=== ERROR while installing spf.1.0.1 =========================================#
# opam-version 1.2.0
# os linux
# command ocaml setup.ml -build
# path /root/.opam/system/build/spf.1.0.1
# compiler system (4.01.0)
# exit-code 1
# env-file /root/.opam/system/build/spf.1.0.1/spf-30884-c61e7b.env
# stdout-file /root/.opam/system/build/spf.1.0.1/spf-30884-c61e7b.out
# stderr-file /root/.opam/system/build/spf.1.0.1/spf-30884-c61e7b.err
### stdout ###
# ...[truncated]
# ocamldoc: ............................................ /usr/bin/ocamldoc
#
# /usr/bin/ocamlopt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# ocamlfind ocamlc -ccopt -Wall -ccopt -Werror -c lib/spf_stubs.c
# + ocamlfind ocamlc -ccopt -Wall -ccopt -Werror -c lib/spf_stubs.c
# lib/spf_stubs.c:8:22: fatal error: spf2/spf.h: No such file or directory
# #include <spf2/spf.h>
# ^
# compilation terminated.
# Command exited with code 2.
### stderr ###
# E: Failure("Command ''/usr/bin/ocamlbuild' lib/libspf_stubs.a lib/dllspf_stubs.so lib/spf.cma lib/spf.cmxa lib/spf.a lib/spf.cmxs lib_test/test.native -tag debug' terminated with error code 10")
I believe your system is missing libspf2-dev
, which is why the spf
install fails ("fatal error: spf2/spf.h: No such file or directory").
You'll also need libsrs2 if you haven't
installed it already.
Cheers, Andre
On Mon, Apr 11, 2016 at 10:28 AM, frittentheke notifications@github.com wrote:
opam install milter [NOTE] Package milter is already installed (current version is 1.0.1).
opam install spf The following actions will be performed:
- install spf.1.0.1 === 1 to install ===
=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Building spf.1.0.1: ocaml setup.ml -configure --prefix /root/.opam/system ocaml setup.ml -build ocaml setup.ml -install [ERROR] The compilation of spf.1.0.1 failed. Removing spf.1.0.1. ocamlfind remove spf
=== ERROR while installing spf.1.0.1
=========================================# opam-version 1.2.0 os linux command ocaml setup.ml -build path /root/.opam/system/build/spf.1.0.1 compiler system (4.01.0) exit-code 1 env-file /root/.opam/system/build/spf.1.0.1/spf-30884-c61e7b.env stdout-file /root/.opam/system/build/spf.1.0.1/spf-30884-c61e7b.out stderr-file /root/.opam/system/build/spf.1.0.1/spf-30884-c61e7b.err stdout ...[truncated] ocamldoc: ............................................ /usr/bin/ocamldoc /usr/bin/ocamlopt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild ocamlfind ocamlc -ccopt -Wall -ccopt -Werror -c lib/spf_stubs.c + ocamlfind ocamlc -ccopt -Wall -ccopt -Werror -c lib/spf_stubs.c lib/spf_stubs.c:8:22: fatal error: spf2/spf.h: No such file or directory #include ^ compilation terminated. Command exited with code 2. stderr E: Failure("Command ''/usr/bin/ocamlbuild' lib/libspf_stubs.a lib/dllspf_stubs.so lib/spf.cma lib/spf.cmxa lib/spf.a lib/spf.cmxs lib_test/test.native -tag debug' terminated with error code 10")
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/andrenth/srsly/issues/2#issuecomment-208341833
Hey there,
I just wanted to give srsly a shot and attempted to build a Debian package. Unfortunately it throws errors about not finding some of the required packages:
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("8 configuration errors")
I did try to fetch the missing ones via
opam
, just like you suggested in https://github.com/andrenth/srsly/issues/1 but not luck.It just doesn't find the just installed packages.