Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000075OCamlOCaml generalpublic2000-04-02 17:372000-04-04 18:07
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000075: INSTALL doc - make installopt
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

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002096)
administrator (administrator)
2000-04-03 14:12

> 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

(0002097)
administrator (administrator)
2000-04-03 14:32

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


- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker