delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/05/09:12:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 5 Nov 2009 15:12:06 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: no output from cygpath in cygwin 1.7
Message-ID: <20091105141206.GP26344@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <26214576 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <26214576.post@talk.nabble.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Nov  5 06:06, justinmiller621 wrote:
> 
> I have been running fine for a couple months with the beta version of cygwin.
> Yesterday, I added a new package (netcat I believe), and all of a sudden
> maven and ant no longer work. Maven tells me JAVA_HOME is not set. I have
> ANT_HOME, M2_HOME, and JAVE_HOME set. Both maven and ant are
> cygwin-sensitive.  I tracked the problem down to the usage of 'cygpath' in
> the maven (and ant) scripts:
> 
> JAVA_HOME=`cygpath --path --unix "$JAVA_HOME"`
> 
> I tried the above command by itself and sure enough, it returns nothing. In
> fact, running 'cygpath' by itself, without any args, returns nothing. 
> 
> I tried blowing away my cygwin install, plus my packages directory, and
> reinstalled. No luck.
> 
> Any thoughts here?

Install the libstdc++-6 package.  Cygpath has been accidentally linked
against the cygstdc++-6.dll DLL.  I'll upload a new cygwin package this
week which will not have this problem, but for the time being,
installing the libstdc++-6 package should do the trick.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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