For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > October 2004 > c++builderx









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author c++builderx
Joseph

2004-10-17, 3:56 am

I got a strange thing.
I download c++builderx personal solaris version.
In solaris,gzip return error message.
In windows winzip decompress the file successfully.
Anyone knows reason?
Jonathan Adams

2004-10-17, 3:56 am

In article <7d4caedb.0410162049.77601d64@posting.google.com>,
te0543@giga.net.tw (Joseph) wrote:

> I got a strange thing.
> I download c++builderx personal solaris version.
> In solaris,gzip return error message.
> In windows winzip decompress the file successfully.
> Anyone knows reason?


Well, gzip uses a different compression algorithm than winzip -- have you
tried using /usr/bin/zip? (gzip generally works on "*.gz" files, while
zip works on "*.zip")

Cheers,
- jonathan
Joseph

2004-10-17, 3:56 pm

Jonathan Adams <jwadams@gmail.com> wrote in message news:<jwadams-49E7E4.00065617102004@news1nwk.sfbay.sun.com>...
> In article <7d4caedb.0410162049.77601d64@posting.google.com>,
> te0543@giga.net.tw (Joseph) wrote:
>
>
> Well, gzip uses a different compression algorithm than winzip -- have you
> tried using /usr/bin/zip? (gzip generally works on "*.gz" files, while
> zip works on "*.zip")
>

But the file ends with .tgz,how to decompress the file?
bazad

2004-10-17, 3:56 pm

te0543@giga.net.tw (Joseph) writes:

> Jonathan Adams <jwadams@gmail.com> wrote in message
> news:<jwadams-49E7E4.00065617102004@news1nwk.sfbay.sun.com>...


> But the file ends with .tgz,how to decompress the file?


1. use gunzip to unzip the file
2. use tar to extract the file

It is possible to use a shortcut:
tar -zxf fileName.tgz

Joseph

2004-10-18, 9:00 am

bazad <nobody@noreply.not> wrote in message news:<1098040337.kR9r76fuXK2lZpXe75meiQ@teranews>...
> te0543@giga.net.tw (Joseph) writes:
>
>
>
> 1. use gunzip to unzip the file
> 2. use tar to extract the file
>
> It is possible to use a shortcut:
> tar -zxf fileName.tgz


I have tried gzip,it returned integrity check error.
Jim Cochrane

2004-10-18, 4:00 pm

In article <7d4caedb.0410180124.301acb0@posting.google.com>, Joseph wrote:
> bazad <nobody@noreply.not> wrote in message news:<1098040337.kR9r76fuXK2lZpXe75meiQ@teranews>...
>
> I have tried gzip,it returned integrity check error.


What is the result of:

file filename.tgz

?


--
Jim Cochrane; jtc@dimensional.com
[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]
Pete Brett

2004-10-19, 9:05 am

Jim Cochrane <jtc@shell.dimensional.com> wrote:
[color=darkred]
<snip>[color=darkred]

Did you by any chance download the file using FTP in ASCII mode? If so, line
termination conversion may have corrupted the file.

Pete
Jim Cochrane

2004-10-19, 3:58 pm

In article <417500dc.1283570947@news.business.ntl.com>, Pete Brett wrote:
> Jim Cochrane <jtc@shell.dimensional.com> wrote:
>
><snip>
>
> Did you by any chance download the file using FTP in ASCII mode? If so, line
> termination conversion may have corrupted the file.


You got the attribution wrong - I didn't write the above - just replied to
it that he should try the file command. But your ftp/ascii corruption
possibility sounds like a candidate.

--
Jim Cochrane; jtc@dimensional.com
[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com