Re: tar/gzip outside of bash problem

2007-02-25 Thread Marko Bozikovic
Eric Blake wrote:
 -snip-
 But you DO have an entry with spaces and parenthesis; perhaps cygwin's
 path-conversion routines are being confused by that?  Can you compare
 'echo $PATH' under bash vs. 'set PATH' under cmd?  How about 'env | grep
 ^PATH' under cmd?

Yup. I removed quotes from the first entry and it works now. Thanks.

-- 
Marko
ICQ: 5990814

I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.

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



Re: tar/gzip outside of bash problem

2007-02-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Marko Bozikovic on 2/23/2007 5:18 AM:
 Hi all,
 
 I've just come across a strange problem. When I try to unpack a tar.gz archive
 in cmd.exe, I get an error:
 
 tar (child): gzip: Cannot exec: No such file or directory
 tar (child): Error is not recoverable: exiting now
 tar: Child returned status 2
 tar: Error exit delayed from previous errors
 
 The command line I use is:
 tar zxvf archive.tar.gz

It worked for me.

 
 When running the same command from bash, it works ok.
 
 I have found this mail:
 http://cygwin.com/ml/cygwin/2006-08/msg00038.html
 
 but it's not applicable to my case, since I have no empty entries in the PATH.

But you DO have an entry with spaces and parenthesis; perhaps cygwin's
path-conversion routines are being confused by that?  Can you compare
'echo $PATH' under bash vs. 'set PATH' under cmd?  How about 'env | grep
^PATH' under cmd?

 
 I have updated my packages (including tar and gzip), and the problem persists.
 Attached is a cygcheck.out after the update.

Nothing obvious jumped out at me, other than the fact that your PATH has a
potentially problematic first entry, and that you use textmode mounts even
for known binary directories such as /usr/bin, which is not recommended.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4EHb84KuGfSFAYARAt0TAJ0d5ef5ScNXn49ziUzxJuHWMoilcgCghU81
/LJTOk2MAdDhC82kQkl7wno=
=WQQI
-END PGP SIGNATURE-

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



Re: tar/gzip outside of bash problem

2007-02-24 Thread Christopher Faylor
On Sat, Feb 24, 2007 at 06:47:07AM -0700, Eric Blake wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Marko Bozikovic on 2/23/2007 5:18 AM:
 Hi all,
 
 I've just come across a strange problem. When I try to unpack a tar.gz 
 archive
 in cmd.exe, I get an error:
 
 tar (child): gzip: Cannot exec: No such file or directory
 tar (child): Error is not recoverable: exiting now
 tar: Child returned status 2
 tar: Error exit delayed from previous errors
 
 The command line I use is:
 tar zxvf archive.tar.gz

It worked for me.

 
 When running the same command from bash, it works ok.
 
 I have found this mail:
 http://cygwin.com/ml/cygwin/2006-08/msg00038.html
 
 but it's not applicable to my case, since I have no empty entries in the 
 PATH.

But you DO have an entry with spaces and parenthesis; perhaps cygwin's
path-conversion routines are being confused by that?  Can you compare
'echo $PATH' under bash vs.  'set PATH' under cmd?  How about 'env |
grep ^PATH' under cmd?

Why would Cygwin's path conversion routines be confused by spaces or
parentheses?  They are just ASCII characters.

cgf

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



tar/gzip outside of bash problem

2007-02-23 Thread Marko Bozikovic
Hi all,

I've just come across a strange problem. When I try to unpack a tar.gz archive
in cmd.exe, I get an error:

tar (child): gzip: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

The command line I use is:
tar zxvf archive.tar.gz

When running the same command from bash, it works ok.

I have found this mail:
http://cygwin.com/ml/cygwin/2006-08/msg00038.html

but it's not applicable to my case, since I have no empty entries in the PATH.

I have updated my packages (including tar and gzip), and the problem persists.
Attached is a cygcheck.out after the update.

Thank you,
-- 
Marko
ICQ: 5990814

I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.

Cygwin Configuration Diagnostics
Current System Time: Fri Feb 23 13:08:31 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\Program Files\Microsoft DirectX SDK (April 2006)\Utilities\Bin\x86
C:\Program Files\IBM\WebSphere MQ\Java\lib
c:\python
C:\php
C:\Perl\bin\
F:\Apps\Utils\sysinternals
C:\cygwin\bin
C:\cygwin\bin
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
F:\Apps\4nt
F:\Apps\Gpg
F:\Apps\Utils
C:\Program Files\Common Files\GTK\2.0\bin
C:\PROGRA~1\ULTRAE~1
C:\sedna\bin
C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
C:\Program Files\PostgreSQL\8.1\bin
C:\Program Files\IBM\WebSphere MQ\bin
C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin
C:\Program Files\Sleepycat Software\Berkeley DB XML 2.2.13\bin
F:\Users\bozho\Scripts
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
C:\Program Files\Microsoft Visual Studio\VC98\bin
C:\Program Files\Rogue Wave\Stingray Studio\Bin
C:\Program Files\Rogue Wave\Stingray Studio\Lib
C:\Program Files\Rogue Wave\Stingray Studio\Regex\Lib\VC6

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(bozho) GID: 544(Administrators)
513(None)544(Administrators)  545(Users)
1005(Debugger Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(bozho) GID: 544(Administrators)
513(None)544(Administrators)  545(Users)
1005(Debugger Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

CYGWIN = 'tty glob ntsec ntea'
HOME = 'F:\Users\bozho'
Path = 'C:\Program Files\Microsoft DirectX SDK (April 
2006)\Utilities\Bin\x86;C:\Program Files\IBM\WebSphere 
MQ\Java\lib;c:\python;C:\php;C:\Perl\bin\;F:\Apps\Utils\sysinternals;C:\cygwin\bin;C:\cygwin\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\Apps\4nt;F:\Apps\Gpg;F:\Apps\Utils;C:\Program
 Files\Common Files\GTK\2.0\bin;C:\PROGRA~1\ULTRAE~1;C:\sedna\bin;C:\Program 
Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program 
Files\PostgreSQL\8.1\bin;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program 
Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\Program Files\Sleepycat 
Software\Berkeley DB XML 2.2.13\bin;F:\Users\bozho\Scripts;C:\Program 
Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft 
Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual 
Studio\Common\Tools;C:\Program Files\Microsoft Visual 
Studio\VC98\bin;C:\Program Files\Rogue Wave\Stingray Studio\Bin;C:\Program 
Files\Rogue Wave\Stingray Studio\Lib;C:\Program Files\Rogue Wave\Stingray 
Studio\Regex\Lib\VC6'

.py;.pyw  = ' python'
.vbs  = ' wscript'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\bozho\Application Data'
CLASSPATH = 'C:\Program Files\Oracle\Berkeley DB XML 
2.3.8\jar\dbxmlexamples.jar;C:\Program Files\Oracle\Berkeley DB XML 
2.3.8\jar\dbexamples.jar'
CLIENTNAME = 'Console'
CMDLINE = 'cygcheck -s -v -r'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'MBOZHO'
COMSPEC = 'F:\Apps\4nt\4nt.exe'
devmgr_show_nonpresent_devices = '1'
DXSDK_DIR = 'C:\Program Files\Microsoft DirectX SDK (April 2006)\'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'F:'
HOMEPATH = '\Users\bozho'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 
2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual 
Studio\VC98\atl\include;C:\Program Files\Microsoft Visual 
Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual 
Studio\VC98\include;C:\Program Files\Rogue Wave\Stingray 
Studio\Include\Foundation\Compatibility\Common;C:\Program Files\Rogue 
Wave\Stingray Studio\Include\Foundation\Compatibility\Mvc;C:\Program 
Files\Rogue Wave\Stingray Studio\Include;C:\Program Files\Rogue Wave\Stingray 
Studio\Regex\Include;C:\Program Files\Rogue Wave\Stingray Studio\Include\Grid'
LIB = 'C:\Program Files\Microsoft