EduardoRFS / reason-mobile

MIT License
174 stars 10 forks source link

building for musl fails on openssl #35

Open joprice opened 3 years ago

joprice commented 3 years ago

I get the following error when following the readme trying to build for musl (linux.musl.x86_64):

esy_build.sh: line 39: --openssldir=/Users/josephprice/.esy/3____________________________________________________________/s/__linux.musl.x86__64__s__esy__openssl-a0374c3a/linux.musl.x86_64-sysroot/ssl: No such file or directory
EduardoRFS commented 3 years ago

@joprice can you share with me your esy.json?

joprice commented 3 years ago

Here you go:

{
  "esy": { "build": "dune build -p hello" },
  "dependencies": {
    "@opam/caqti-driver-postgresql": "1.6.0",
    "@opam/dream": "1.0.0~alpha2",
    "@opam/dream-cli": "0.1.0",
    "@opam/dream-encoding": "0.1.0",
    "@opam/dream-livereload": "0.1.0",
    "@opam/dune": "2.9.1",
    "@opam/ocamlformat": "0.19.0",
    "@opam/ppx_expect": "v0.14.1",
    "@opam/ppx_rapper": "3.0.0",
    "@opam/ppx_rapper_lwt": "3.0.0",
    "@opam/ppx_string_interpolation": "1.0.1",
    "@opam/ppx_yojson_conv": "v0.14.0",
    "@opam/tyxml": "4.5.0",
    "@opam/tyxml-ppx": "4.5.0",
    "ocaml": "4.12.x"
  },
  "resolutions": {
    "@opam/conf-libev":
      "esy-packages/libev:package.json#0b5eb6685b688649045aceac55dc559f6f21b829",
    "esy-openssl":
      "esy-packages/esy-openssl#619ae2d46ca981ec26ab3287487ad98b157a01d1"
  },
  "devDependencies": {
    "generate":
      "github:EduardoRFS/reason-mobile:generate.json#7ba258319b87943d2eb0d8fb84562d0afeb2d41f"
  }
}