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

[make opt] does not install ocamlbuild.cmx #5278

Closed
vicuna opened this issue May 23, 2011 · 3 comments
Closed

[make opt] does not install ocamlbuild.cmx #5278

vicuna opened this issue May 23, 2011 · 3 comments

Comments

@vicuna
Copy link

@vicuna vicuna commented May 23, 2011

Original bug ID: 5278
Reporter: thelema
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2015-12-11T18:08:05Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.12.0
Target version: 4.00.1+dev
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues
Monitored by: @hcarty

Bug description

When compiling with [make world opt], [make install] does not install ocamlbuild.cmx. When compiling with [make world opt.opt], this file is installed properly. It seems this should be installed in both cases.

Additional information

Others having same problem: http://tech.groups.yahoo.com/group/ocaml_beginners/message/12105

@vicuna
Copy link
Author

@vicuna vicuna commented Jul 10, 2012

Comment author: @damiendoligez

Not sure this is a bug. "make opt" means "build the ocamlopt compiler". "make opt.opt" means "build ocamlopt-compiled versions of all the tools".

@vicuna
Copy link
Author

@vicuna vicuna commented Jul 10, 2012

Comment author: thelema

The defaultentry in the Makefile echoes the following:

@echo "Please refer to the installation instructions in file INSTALL."
@echo "If you've just unpacked the distribution, something like"
@echo "	./configure"
@echo "	make world"
@echo "	make opt"
@echo "	make install"
@echo "should work.  But see the file INSTALL for more details."

This suggested build sequence causes the problem I noted, and maybe should be changed.

@vicuna
Copy link
Author

@vicuna vicuna commented Sep 17, 2012

Comment author: @damiendoligez

I confirm that "make opt" is not supposed to build the native-code version of ocamlbuild.
I have updated the Makefile to mention "make world.opt", which will build it. (r 12929 and 12930)

@vicuna vicuna closed this as completed Dec 11, 2015
@vicuna vicuna added this to the 4.00.1 milestone Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant