1832181 Members
2712 Online
110038 Solutions
New Discussion

zip tool

 
SOLVED
Go to solution
jerry1
Super Advisor

zip tool

Does anyone know where I can get the zip
binary/depot or source for HP-UX 11.11?

I have unzip but need zip.

The one from sourceforge.net does not compile
as generic. They did not have hp-ux as an
OS option for make.
17 REPLIES 17
Paul Sperry
Honored Contributor
Solution

Re: zip tool

download.pkzip.com/pub/pkware/updates/server/mr/pkz/pkzs85009hcen.depot
Paul Sperry
Honored Contributor
Heironimus
Honored Contributor

Re: zip tool

The HP-UX Porting and Archive Centre (http://hpux.cs.utah.edu/) has one. You can also use jar from the JDK, since jar files are just zip files with some extra metadata stored as files in the archive.
Patrick Wallek
Honored Contributor

Re: zip tool

Fabio Ettore
Honored Contributor

Re: zip tool

Hi,

from Porting you can get that.

zip tool:
http://hpux.connect.org.uk/hppd/hpux/Misc/zip-2.32/

unzip tool:
http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/

Best regards,
Fabio
WISH? IMPROVEMENT!
Paul Sperry
Honored Contributor

Re: zip tool

jerry1
Super Advisor

Re: zip tool

Wow! Thanks for the replies.

I used unzip on a zip file but cannot zip
it back with zip. I get the following mesg:

# zip 080318080130ictp3

zip error: Nothing to do! (080318080130ictp3.zip)
Peter Nikitka
Honored Contributor

Re: zip tool

Hi,

the message
zip error: Nothing to do! (080318080130ictp3.zip)

is nearly selfexplanatory: zipping wouldn't do a good job because the result has a bigger size than the original file.
Try another example (e.g. /etc/hosts).

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Paul Sperry
Honored Contributor

Re: zip tool

How large is the file?
Are you zipping and unzipping on a filesystem with largefiles enabled?
Steven Schweda
Honored Contributor

Re: zip tool

> # zip 080318080130ictp3
>
> zip error: Nothing to do! (080318080130ictp3.zip)

Try "zip -h" for syntax guidance. Zip is not
gzip. A command like this, for example, may
work better:

zip 080318080130ictp3.zip 080318080130ictp3


> How large is the file?

A fair question, but probably not the problem
here. If you do get into the 2GB (and up)
range, see:

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1212632


> The one from sourceforge.net does not
> compile as generic.

The current pre-release ("BETA") kits (see
reference above) should do better. You may
see some residual spurious compiler
complaints when using the bundled C compiler,
but those should be gone from whetever
follows Zip 3.0g and UnZip 6.0d.
Steven Schweda
Honored Contributor

Re: zip tool

> the message
> zip error: Nothing to do! (080318080130ictp3.zip)
>
> is nearly selfexplanatory: [...]

Apparently not nearly enough.

> zipping wouldn't do a good job because the
> result has a bigger size than the original
> file.

True, but the usual result in that case is
that Zip stores the file instead of
compressing it:

alp $ zip xzip.zip X.ZIP
adding: X.ZIP (stored 0%)


The "Nothing to do!" message is trying to
tell the user that he specified no input
files to archive. It doesn't say exactly
that, because there are other possible tasks
which don't involve specifying any input
files, but he hasn't asked to do any of
those, either. (It's not a great message,
but it's concise.)
Peter Nikitka
Honored Contributor

Re: zip tool

Hi,

here at my hp (rp3410, 11i), I get:
root@hp9[216] zip uu.zip example
adding: example (deflated 86%)
root@hp9[217] mv uu.zip uu
root@hp9[218] zip uu

zip error: Nothing to do! (uu.zip)
root@hp9[219] ls -l u*
-rw-r--r-- 1 root sys 1269 Mar 18 19:04 uu

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Steven Schweda
Honored Contributor

Re: zip tool

> root@hp9[218] zip uu
>
> zip error: Nothing to do! (uu.zip)

As I said:

> Try "zip -h" for syntax guidance. Zip is not
> gzip. A command like this, for example, may
> work better:

zip uu.zip uu

or even:

zip uu uu
jerry1
Super Advisor

Re: zip tool

Geez I'm stupid. Yes, it has not changed
so there is nothing to do to it to replace
the exsiting one that I had unziped from.

Duh.
Steven Schweda
Honored Contributor

Re: zip tool

> Geez I'm stupid.

More evidence required, but I'm not ruling it
out yet.

> Yes, it has not changed
> so there is nothing to do to it to replace
> the exsiting one that I had unziped from.

Yes and no. Zip's first argument is always
the archive, so:

zip 080318080130ictp3

spews:

zip error: Nothing to do! (080318080130ictp3.zip)

because you've specified the archive,
080318080130ictp3 (".zip" is assumed), but
no files to add to it, and no other actions,
either.

If:

unzip 080318080130ictp3.zip

creates (only) "080318080130ictp3", then

zip 080318080130ictp3.zip 080318080130ictp3

should update/re-create 080318080130ictp3.zip
(depending on whether 080318080130ictp3.zip
already/still exists or not).

In case that horse is not quite completely
dead yet, the "Nothing to do!" message is
caused by a shortage of Zip options and/or
arguments, not by the contents of any file.
Sajjad Sahir
Honored Contributor

Re: zip tool


http://hpux.cs.utah.edu/

please go to this site
download in u windows server for example
do ftp to unix server
then mput
in u one of the directory
eg:/usr/local
may be it is gz extension
remove
gunzip(use)
then swinstall -s /usr/local/filename
u can install
jerry1
Super Advisor

Re: zip tool

zipideedoodah