Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows version can only be installed to default directory #2483

Closed
vicuna opened this issue Jun 10, 2000 · 2 comments
Closed

Windows version can only be installed to default directory #2483

vicuna opened this issue Jun 10, 2000 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 10, 2000

Original bug ID: 137
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: James Hague
Version: 3.00
OS: Windows 98
Submission from: jamesh.volition.net (205.198.255.59)

If you specify a directory for installation other than the default, the tools
cannot find the appropriate files.

@vicuna
Copy link
Author

vicuna commented Jun 19, 2000

Comment author: administrator

If you specify a directory for installation other than the default, the tools
cannot find the appropriate files.

That's right, some environment variables need to be set in this case.
Quoting from the README file for the Win32 version:

You must add the "bin" subdirectory of the OCaml installation directory
to the PATH variable, e.g.

      set PATH=%PATH%;D:\lang\ocaml\bin

Running directly the tools (e.g. typing D:\lang\ocaml\bin\ocamlc)
will not work if the "bin" subdirectory is not in PATH, because ocamlc
and the other tools will be unable to find the Caml runtime system
ocamlrun.exe.

The command-line tools assume that the standard library resides in
C:\ocaml\lib. If you have unpacked it elsehwere, define the CAMLLIB
environment variable to point to the standard library directory, e.g.

      set CAMLLIB=D:\lang\ocaml\lib

For Windows 95 and 98, the OCaml installer is able to perform the
corresponding modifications to AUTOEXEC.BAT (define CAMLLIB and
append to the PATH variable). For Windows NT, you'll have to
edit the environment variables yourself.

Regards,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Jun 19, 2000

Comment author: administrator

Workaround documented in the README.win32 file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant