delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/12/12:17:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00bb01c420a9$7e873ad0$14747ad5@starfruit>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Mary Michael" <michaelsmary AT yahoo DOT com>, <cygwin AT cygwin DOT com>
References: <20040412154336 DOT 62123 DOT qmail AT web40408 DOT mail DOT yahoo DOT com>
Subject: Re: make install ERROR - ocaml using cygwin
Date: Mon, 12 Apr 2004 17:12:18 +0100
MIME-Version: 1.0
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019