Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Loading topfind doesn't work #53

@murmour

Description

@murmour

In the interactive toplevel (ocaml), loading topfind fails:

$ ocaml
        OCaml version 4.02.3

# #use "topfind";;
Cannot find file topfind.

The topfind file does exist:

$ test -f /home/mrm/.opam/system/lib/toplevel/topfind ; echo $?
0

And the environment variable is set correctly:

$ set | grep OCAML_TOPLEVEL_PATH
OCAML_TOPLEVEL_PATH=/home/mrm/.opam/system/lib/toplevel

If you put the file into current directory and name it topfind.ml, then #use "topfind" works.

And no, just renaming topfind into topfind.ml (without copying) doesn't work. It's probably that ocaml doesn't use the environment variable correctly, due to some path-related bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions