X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 5 Nov 2009 15:12:06 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: no output from cygpath in cygwin 1.7
Message-ID: <20091105141206.GP26344@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <26214576.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <26214576.post@talk.nabble.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

