www.delorie.com/archives/browse.cgi | search |
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: | <3F3150CF.1F053532@acm.org> |
Date: | Wed, 06 Aug 2003 12:02:39 -0700 |
From: | David Rothenberger <daveroth AT acm DOT org> |
Reply-To: | cygwin AT cygwin DOT com |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | "Biederman, Steve" <steve_biederman AT mentorg DOT com> |
CC: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | Re: What is the minimum needed to run gtar? |
References: | <3D5E0EA708C5DD44B7575859D366728C2DC29D AT svr-orw-exc-02 DOT wv DOT mentorg DOT com> |
"Biederman, Steve" wrote: > > I want to allow the users I support to be able to run Cygwin tar on their Windows machines. > These machines have not had any Cygwin installed; they're just bare Windows machines. > > I provided them tar.exe and cygwin1.dll and assumed that with these, they could run > Cygwin tar sucessfully. It appears that that isn't the case: machines without Cygwin > installed see different behavior than machines which have it installed. (Running tar > on machines without Cygwin installed creates incorrect tar archives.) You can find out what DLLs an executable needs by running cygcheck on it. On my machine, I get $ cygcheck tar Found: .\tar.exe tar.exe C:\WINNT\system32\KERNEL32.dll C:\WINNT\system32\NTDLL.DLL .\cygwin1.dll .\cygiconv-2.dll .\cygintl-2.dll > What is the minimum I need to provide to a non-Cygwin Windows machine to get > Cygwin tar to run reliably? I was able to reproduce your problems with tar when I removed Cygwin from my machine (which is why the paths are weird in the cygcheck output above). Through experimentation, I discovered that the problem went away if I created an /etc mount. From a Windows CLI prompt: mkdir c:\temp\etc mount c:/temp/etc /etc After I run those commands, I can make the tar file without problems. Note that there is nothing in the /etc directory. But, it does have to exist. If you skip the "mkdir" command above, it will fail as before. Dave -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |