Skip to content

opam not initialized #174

Closed
Closed

Description

@bobot

Problem: If the opam executable is present in the path but as not been configured (opam init not run) jbuilder fails.

Expected: jbuilder behaves as if the opam executable is not present.

Activity

  1. bobot commented on Jul 3, 2017

    @bobot
    ContributorAuthor

    Yes ocamlfind is in my path, the problem is more with the prefix variable use for opam-installer. jbuilder makes the assumption that only --prefix should be given to opam-installer, but --libdir should be also given to opam-installer. In some installation (debian, ocamlfind wihtout opam) libdir is in the ocaml directory. So ocamlfind printconf destdir should be also used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions