no output from cygpath in cygwin 1.7

View: New views
3 Messages — Rating Filter:   Alert me  

no output from cygpath in cygwin 1.7

by justinmiller621 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Thanks in advance!
Justin

Re: no output from cygpath in cygwin 1.7

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


Re: no output from cygpath in cygwin 1.7

by justinmiller621 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fantastico! That worked perfectly. Thanks so much for the quick reply.

Corinna Vinschen-2 wrote:
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