Operating System - HP-UX
1821992 Members
3930 Online
109638 Solutions
New Discussion юеВ

HP-UX B.11.11 U 9000/800 install UNZIP software

 
SOLVED
Go to solution
diwa
Frequent Advisor

HP-UX B.11.11 U 9000/800 install UNZIP software

Hi,

I want to install unzip software in HPunix.
I dowloded unzip-5.52-src-11.11.tar.tar from
http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/ .
When i am trying to untar (tar -xvf unzip-5.52-src-11.11.tar.tar)it in unix it is saying " directory checksum error "

I do not have root access. CAn some one suggest what steps i need to follow to install this software.

Thank's
14 REPLIES 14
Pete Randall
Outstanding Contributor
diwa
Frequent Advisor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

Hi Pete,

Thanks a lot i will check it.

Thanks
Steven Schweda
Honored Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

> I dowloded [...]

How?

".tar.tar"??? The closest thing I see is
".tar.gz".

Some Web browsers see ".gz" and decompress
the data for you (without changing the name,
apparently), which can cause confusion.

> When i am trying to untar [...]

As usual, showing the actual command with its
actual output might have been helpful. (That
copy+paste stuff is a miracle.)

If you're looking for Info-ZIP source kits,
you might go to the source:

http://www.info-zip.org/
http://sourceforge.net/project/showfiles.php?group_id=118012

Once it's built, installation comprises
putting the executable anywhere you'd like
(or leaving it where it is), and, optionally,
doing the same with the "man" files.

I believe that even the lowly bundled C
compiler can build the stuff, too.
diwa
Frequent Advisor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

Hi,

Yes Steven i will check with that too.

Thanks
Dennis Handly
Acclaimed Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

>I do not have root access.

If you don't have root access you can't really swinstall those binary depots.
But if you got the source you have a chance.
Steven Schweda
Honored Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

> But if you got the source you have a chance.

What could go wrong? INSTALL should explain
what to do.

Wake me if anything does go wrong, or if you
have any questions.
Dennis Handly
Acclaimed Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

>Steven: What could go wrong? INSTALL should explain what to do.

Building from source? :-)
I was suggesting that installing the depots just won't work without root, or swacl(1m) enabling normal users.
Dennis Handly
Acclaimed Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

The easiest way to do it is have your sys admin swinstall it.

If you are in a hurry and don't care if you fiddle with it, you can take apart (untar) the depot and just run the unzip executable.
diwa
Frequent Advisor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

Hi Dennis,
I just downloded unzip-5.52-hppa-11.11.depot. It is in gz format.

I trying to un compress it by using
gzcat unzip-5.52-hppa-11.11.depot.gz | tar xvf -

it is working but giving error

x catalog/INDEX, 699 bytes, 2 tape blocks
x catalog/dfiles/INDEX, 193 bytes, 1 tape blocks
x catalog/dfiles/INFO, 138 bytes, 1 tape blocks
x catalog/unzip/pfiles/INDEX, 346 bytes, 1 tape blocks
x catalog/unzip/pfiles/INFO, 138 bytes, 1 tape blocks
x catalog/unzip/unzip-RUN/INDEX, 160 bytes, 1 tape blocks
x catalog/unzip/unzip-RUN/INFO, 1873 bytes, 4 tape blocks
x unzip/unzip-RUN/usr/local/bin/funzip, 32768 bytes, 64 tape blocks
x unzip/unzip-RUN/usr/local/bin/unzip, 126976 bytes, 248 tape blocks
incomplete literal tree

gzcat: unzip-5.52-hppa-11.11.depot.gz: invalid compressed data--format violated
Tar: error! blocksize changed

I think i will take help of my sys admin for this.

Regards
Diwa

Dennis Handly
Acclaimed Contributor
Solution

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

>gzcat: unzip-5.52-hppa-11.11.depot.gz: invalid compressed data--format violated
Tar: error! blocksize changed

This seems to indicate that the depot was corrupted when you downloaded it.
I used the same command (gzcat & tar) to extract unzip. (But I wanted the 11.23 IPF depot.)

>I think i will take help of my sys admin for this.

If you give him your depot, it will have similar problems. Recheck the checksum.

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

Hi,

usimg the software porting and archive download links, I often find I get an incorrect download if I use the [HTTP] download, but all goes well if I use the [FTP] download.

Try downloading again using [FTP]

HTH

Duncan

I am an HPE Employee
Accept or Kudo
diwa
Frequent Advisor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

Hi Dennis,

I have used unzip-5.52-ia64-11.23.depot.gz.
I have successfully uncompress it.
Now i am going to /zip/unzip/unzip-RUN/usr/local/bin

where i found two files funzip and unzip.
When i am trying to run unzip it is saying
execute permission denied. I ahve given full permission still same.
Is it require root access? Am i doing something wroung to make this software available?

Regard's
Diwa
Steven Schweda
Honored Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

> HP-UX B.11.11 U 9000/800 [...]

> I have used unzip-5.52-ia64-11.23.depot.gz.

So, you're trying to use an IA64 binary on
PA-RISC hardware? I believe that that tends
to lead to messages like "execute permission
denied", regardless of the actual file
permissions.

Building the programs from a source kit would
avoid problems like this. (You don't need to
worry about either the system architecture or
the OS version when building things from the
source kit.

Sometimes it's just easier to do things the
hard way.
Steven Schweda
Honored Contributor

Re: HP-UX B.11.11 U 9000/800 install UNZIP software

The hard way:

dy $ uname -a
HP-UX dy B.11.11 U 9000/785 2012616114 unlimited-user license

dy $ who am i
sms pts/0 Nov 14 08:53

dy $ wget http://hpux.connect.org.uk/ftp/hpux/Misc/unzip-5.52/unzip-5.52-src-11
.11.tar.gz
[...]
08:55:53 (133.44 KB/s) - `unzip-5.52-src-11.11.tar.gz' saved [1154196/1154196]

[I don't care how you download the source
kit. Wget was convenient here.]

dy $ gzip -dc unzip-5.52-src-11.11.tar.gz | tar xf -

dy $ cd unzip-5.52

dy $ make -f unix/Makefile generic

[Try to ignore all the warnings if you have
only the bundled C compiler. It should look
better in the next UnZip release.]

dy $ ./unzip -v
UnZip 5.52 of 28 February 2005, by Info-ZIP. Maintained by C. Spieler. Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with cc for Unix (HP/UX).

[...]

Problem solved (assuming that you have a C
compiler and "make").


(We'll try to get a more reliable FTP server,
too, soon.)


> Thank's
> Regard's

Should be "Thanks" and "Regards" (plurals,
not contractions, not possessives).