make install ERROR - ocaml using cygwin

Max Bowsher maxb@ukf.net
Mon Apr 12 16:16:00 GMT 2004


Mary Michael wrote:
> Hello everyone,
>
> Thanks for all your guidance in installing the
> complete package of cygwin.
>
> I am trying to compile/install ocaml compiler in my
> machine using cygwin.
>
> I was following the instructions to install the ocaml
> compiler. There are totally 8 steps and I was able to
> complete 5 steps. The 6th step is "make install"
>
> However I am getting an INSTALL error,
>
> "
> ........
> ......
> cp -f ocamldoc /usr/local/bin
> cp: `ocamldoc' and `/usr/local/bin/ocamldoc' are the
> same file
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/ocaml-3.06/ocamldoc'
> make: *** [install] Error 2"
>
> Is it possible to tell me what is missing in here to
> install the ocaml.

Seems to be an obscure bug in the .exe guessing code of cp.

I work around it by doing "make install OCAMLDOC=ocamldoc.exe".

I haven't made any attempt to debug, since the fileutils package is to be
replaced with coreutils at some point in the future.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list