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

INSTALL doc - make installopt #2411

Closed
vicuna opened this issue Apr 2, 2000 · 2 comments
Closed

INSTALL doc - make installopt #2411

vicuna opened this issue Apr 2, 2000 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 2, 2000

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

Bug description

Dear Caml developers,

I'd like to suggest a small addition to the INSTALL document:
installing the native code binaries after make opt' requires make
installopt' - this should be mentioned under point 7) of the document.

-- Christian

--
Dr. Christian Lindig Gaertner Datensysteme GbR, Braunschweig, Germany
lindig@gaertner.de http://www.gaertner.de/~lindig
phone: +49-531 233 55 55 fax: +49-531 233 55 56

@vicuna
Copy link
Author

vicuna commented Apr 3, 2000

Comment author: administrator

I'd like to suggest a small addition to the INSTALL document:
installing the native code binaries after make opt' requires make
installopt' - this should be mentioned under point 7) of the document.

The Makefile is set up so that "make install" automatically performs
"make installopt" if "ocamlopt" is present, i.e. if the native-code
compiler was successfully built. Perhaps you forgot to do "make opt"
before "make install"?

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Apr 3, 2000

Comment author: administrator

On Mon, Apr 03, 2000 at 02:12:45PM +0200, Xavier Leroy wrote:

The Makefile is set up so that "make install" automatically performs
"make installopt" if "ocamlopt" is present, i.e. if the native-code
compiler was successfully built. Perhaps you forgot to do "make opt"
before "make install"?

You are right:

install:
        if test -d $(BINDIR); then : ; else $(MKDIR) $(BINDIR); fi
        [..]
        if test -f ocamlopt; then $(MAKE) installopt; else :; fi

I had done make opt' and make install'. After that I had checked
for ocamlopt and missed it. So I took a look at the Makefile and
invoked installopt manually. Probably I had overlooked that ocamlopt
was already in its place. Sorry for the confusion!

Perhaps a small addition to INSTALL that `make install' will take care
of all optional parts like ocamlopt and ocamlopt.opt would still not
hurt.

-- Christian

@vicuna vicuna closed this as completed Apr 4, 2000
@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