delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/15/12:49:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <50A89B19AEAAD411B9D200A0C9FB5699E88E36@craius.cportcorp.com>
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
To: =?iso-8859-1?Q?=27Thomas_J=E4ckel=27?= <jaeckel AT netcologne DOT de>,
cygwin AT cygwin DOT com
Subject: RE: 1.3.2: Bug fileutil cp -p
Date: Wed, 15 Aug 2001 12:47:27 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA04911

Check out the thread "Automake 1.4| released" from yesterday/today. 
There is discussion there about how "cp -p" is broken.

You can use google.com to search the archives-

Automake released site:cygwin.com

There were 15+ messages, but I currently can't find the thread...
Maybe the archives won't be updated until next week?

HTH,
Peter

-----Original Message-----
From: Thomas Jäckel [mailto:jaeckel AT netcologne DOT de]
Sent: Wednesday, August 15, 2001 12:40 PM
To: cygwin AT cygwin DOT com
Subject: Re: 1.3.2: Bug fileutil cp -p




> Hello,
>
>
>
> I am new to cygwin and not reading the mailing list, so it may be a know
> problem or not ;-).
>
> While trying to install BerkleyDB the following error occured:
>
>
>
> cp -fp db_archive /usr/local/BerkeleyDB.3.3/bin/db_archive
>
> cp: preserving times for `/usr/local/BerkeleyDB.3.3/bin/db_archive': No
such
> file or directory
>
> make: *** [install_utilities] Error 1
>
>
>
> db_archive in fact is named "db_archive.exe" and it is copied to the
correct
> place with the
>
> correct extension.
>
> Trying to recompile cp and looking for the error failed, cause after
> compiling I got
>
> a different message "xx and xx2 are the same files" ...
>
>
>
> If the extensions of executables are handled by the cygwin-DLL, then you
> should have a look
> at the utime function.

Sorry. This error seems to be a bit more complicated.
If I remove the p flag I got the following message:

cp -f db_archive db_checkpoint /usr/local/BerkeleyDB.3.3/bin/db_checkpoint
cp: copying multiple files, but last argument
`/usr/local/BerkeleyDB.3.3/bin/db_checkpoint' is not a directory

So perhabs it is a problem with the Makefile? I don't think so - here the
excerpt:

install_utilities:
        @echo "Installing DB utilities: $(bindir) ..."
        @test -d $(bindir) || \
            ($(mkdir) -p $(bindir) && $(chmod) $(dmode) $(bindir))
        @cd $(bindir) && $(rm) -f $(UTIL_PROGS)
        @$(INSTALLER) -f $(UTIL_PROGS) $(bindir)

with
$(INSTALLER) = cp
$(bindir) = /usr/local/BerkeleyDB.3.3/bin
$(UTIL_PROGS) =  db_archive db_checkpoint db_deadlock \
                                 db_dump db_load db_printlog db_recover
db_stat db_upgrade db_verify

I think something is mixed up with the params of the cp command.

HTH

Thomas



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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