This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: make install ERROR - ocaml using cygwin
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Mary Michael" <michaelsmary at yahoo dot com>, <cygwin at cygwin dot com>
- Date: Mon, 12 Apr 2004 17:12:18 +0100
- Subject: Re: make install ERROR - ocaml using cygwin
- References: <20040412154336.62123.qmail@web40408.mail.yahoo.com>
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/