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 binary ocamlbuild cannot build plugins #4379

Closed
vicuna opened this issue Sep 5, 2007 · 4 comments
Closed

windows binary ocamlbuild cannot build plugins #4379

vicuna opened this issue Sep 5, 2007 · 4 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 5, 2007

Original bug ID: 4379
Reporter: idadesub
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:26:10Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.10.0
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

ocamlbuild uses "ocamlbuild -where" to find the libraries to link against myocamlbuild.ml, but on the binary windows version of ocaml, it will always fail because, for some reason, ocamlbuild does not use %OCAMLLIB% to find the ocaml libraries, but hard codes them to a path specified at build time. Mine is currently hardcoded to "/ocamlbuildFiles\Objective Caml\lib".

@vicuna
Copy link
Author

vicuna commented Nov 14, 2007

Comment author: ertai

Does using -install-lib-dir solve your problem?

@vicuna
Copy link
Author

vicuna commented Nov 18, 2007

Comment author: mwipliez

It does: (I had the same problem, and I solved it using -install-lib-dir)
C:>ocamlbuild -classic-display -install-lib-dir "C:\Program Files\Objective Caml\lib\ocamlbuild" -where
C:\Program Files\Objective Caml\lib\ocamlbuild

@vicuna
Copy link
Author

vicuna commented Nov 19, 2007

Comment author: ertai

However don't worry, the OCAMLLIB variable will be taken in account in future releases.

@vicuna
Copy link
Author

vicuna commented Nov 26, 2007

Comment author: ertai

Thanks for the report. This is now fixed in the CVS (both in trunk and release310 branch).

@vicuna vicuna closed this as completed Apr 29, 2010
@vicuna vicuna added the bug label Mar 19, 2019
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