Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.1.0.14.2.20010624204747.024b8828@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 24 Jun 2001 20:59:58 -0700 To: "Soren Andersen" , cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: cp error -- oh the great sanity of *nix tools?!? In-Reply-To: <000501c0fd22$e62873a0$5bab313f@sigmund> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sir, Perhaps those two files _were_ the same. Namely, if make's current directory was /usr/sbin at time the cp commands were invoked. I don't believe cp reports that the source and destination files are the same unless they are. Surely you would rather it do this than open the destination with the create and truncate options and then copy the source (now empty) to it? Same as on any Unix, Linux, BSD, FreeBSD, AIX, HPUX or other Unix work-alike. Sincerely, Randall Schulz Mountain View, CA USA At 19:58 2001-06-24, you wrote: >Dogma: GNU/*nix programming is *always* so much better than what Redmond >can produce. Yeah, like. > >I am running a Makefile installation (`make install') and I keep getting >this error (the package is BerkeleyDB, this is irrelevent): > > >./db_checkpoint -> /usr/sbin/db_checkpoint >/usr/bin/cp: `./db_checkpoint' and `/usr/sbin/db_checkpoint' are the same >file >./db_deadlock -> /usr/sbin/db_deadlock >/usr/bin/cp: `./db_deadlock' and `/usr/sbin/db_deadlock' are the same file >./db_dump -> /usr/sbin/db_dump >/usr/bin/cp: `./db_dump' and `/usr/sbin/db_dump' are the same file >./db_load -> /usr/sbin/db_load >/usr/bin/cp: `./db_load' and `/usr/sbin/db_load' are the same file >./db_printlog -> /usr/sbin/db_printlog >/usr/bin/cp: `./db_printlog' and `/usr/sbin/db_printlog' are the same file >./db_recover -> /usr/sbin/db_recover >/usr/bin/cp: `./db_recover' and `/usr/sbin/db_recover' are the same file >./db_stat -> /usr/sbin/db_stat >/usr/bin/cp: `./db_stat' and `/usr/sbin/db_stat' are the same file >make: *** [install] Error 1 > >You know, the hacker who wrote `cp' to give this error wording needs to be >put up against a wall and *shot*. > >What does this mean? I am sure that this is "one of those things" that >everybody but me and two guys in Duluth seem to know. > >REALLY F*%$!)($! IRRITATED, > soren andersen > > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple