delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/06/30/03:02:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=eSLBu1Yq5RfcsO2T
pIEmX08El1f3/+oloGN0BAb6oIjKkJVCL/o/Q2w/zS6qnP1rAkZ76qAjNUESx108
+p19NeYdIlyNdPDq2bGByUVaFZjC59+CXTasbj2L12uAid+TpGTOObSPQU8DnuYQ
zEOzRm2eiDdchy6lMM3uzzQmkZY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=bAWmdFKsUKbkINOHyUODLZ
wR+z8=; b=cuweesFpwjeCkpxQZJKLQMX2dlwy4MTnzimEM2GaDmBTYqK4RhgM2E
kbYPhAi6K9DRzgtfCkcJRNo82SM8zy4jXHlKGbJkK0NCSmg+hApLE55vvhgg6g3N
MxBWvy7GoI2YnTj0iC4+9h42DRNnu4pbWt/ZrANzk7Ppl+K8tLua4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Federico, Kircheis, kircheis, H*Ad:D*t-online.de
X-HELO: mailout05.t-online.de
Subject: Re: cygport and C:\Windows\system32\tar.exe
To: cygwin AT cygwin DOT com
References: <bae0be8b-310d-e187-e8f7-f08d3495ce1c AT gmail DOT com>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
Openpgp: preference=signencrypt
Message-ID: <58004f6c-2789-041d-8e75-65e602748db1@t-online.de>
Date: Sun, 30 Jun 2019 09:01:38 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
MIME-Version: 1.0
In-Reply-To: <bae0be8b-310d-e187-e8f7-f08d3495ce1c@gmail.com>
X-IsSubscribed: yes

Am 30.06.2019 um 07:37 schrieb Federico Kircheis:

> My problem is that cyport tries to invoke tar with an absolute file, and
> of course C:\Windows\system32\tar.exe does not understand a path that
> begins with `/cygdrive/c`.

No.  Your problem is that you're trying to use cygport from the wrong
place, causing the PATH seen by it to be completely wrong.  Well, either
that, or that you somehow failed to install Cygwin's own tar, even
though it's part of the base system, so it should always be installed.

Cygport, like many of the more involved utilities delivered by Cygwin,
is meant to be used from inside the Cygwin shell.  At the very least,
you have to ensure that the PATH of the shell running cygport is set up
properly, with Cygwin's `/bin' and/or `usr/bin' mounts at the front of it.
> How do you generally solve that problem?

Basically by not even having it in the first place.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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