Operating System - HP-UX
1748169 Members
4153 Online
108758 Solutions
New Discussion юеВ

Re: Installation of unzip 5.52 on HP-Ux 11.31

 
Vijay Kumar Dosapati
Occasional Advisor

Installation of unzip 5.52 on HP-Ux 11.31

Pls provide the steps to install unzip 5.52 on HP-Ux 11.31

Regards
vijay
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

Depends on how it's packaged. If you got it from the Porting Center ( http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/ ), then you can use swinstall.


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

Have you downloaded unzip and all 5+ of its dependencies?

Then you can swcopy all of the depots into one large one and do one swinstall.
Or you can randomly swinstall them, assuming there are no SD corequisites to enforce the dependencies.
Suraj K Sankari
Honored Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

Hi,

Download you stuff from below link.

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

Unzip this file "unzip-5.52-ia64-11.31.depot.gz" you will get the depot file "unzip-5.52-ia64-11.31.depot" install the depot with swinstall

Suraj
Steven Schweda
Honored Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

> [...] http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/ [...]

> Have you downloaded unzip and all 5+ of its
> dependencies?

I only develop the stuff, so I know nothing,
but these things mystify me:

Languages used: C C++

Build-time dependencies: bison flex gettext libiconv m4 make

Run-time dependencies: bison flex gettext libiconv m4

(Well, "C" and "make" are right.)


Also, now that UnZip 6.0 has (at long last)
been released, I'd tend to avoid 5.x. UnZip
6.0 (companion to Zip 3.0) offers large-file
support, bzip2 compression, big UID/GID
values (on UNIX(-like) systems), and a pile
of minor features and fixes. And if there's
any problem building it with either GCC or
HP's C compiler, then I'd like to hear about
it.

> Pls provide the steps to install unzip 5.52
> on HP-Ux 11.31

The source kits come with instructions:

http://www.info-zip.org/
http://www.info-zip.org/UnZip.html
http://www.info-zip.org/Zip.html
Steven E. Protter
Exalted Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

Shalom Vijay,

I've always liked to go with depot based software, as linked in prior answers.

SD/UX provides tools for keeping track of what software is installed on a system, and that is a good best practice.

The trick to working with software with the software porting and archive centre, is to deal with all of the many dependencies.

What I do is create a dependency depot, consisting of the common ones and just install that on all systems so subsequent installations work without hassle. You will see this once you click into the archive centre and carefully read the requisite requirements.

The bad part of the archive centre is many of the depots will install without dependencies, sometimes leaving the sysadmin wondering what went wrong.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vijay Kumar Dosapati
Occasional Advisor

Re: Installation of unzip 5.52 on HP-Ux 11.31

Hi All

I downloaded unzip from ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tgz

Pls let me know the procedure to install.

Steven Schweda
Honored Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

> I downloaded unzip from ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tgz

I really think that you'd be happier with the
latest released version. (I know that I am.)

ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz

Four years can make a considerable
difference. (I'm confident that the builders
work better on HP-UX now, for example.)

> Pls let me know the procedure to install.

Hmmm. Apparently we've hidden the INSTALL
file inside the kit, so if it wasn't obvious
how to unpack the thing, we're not very
helpful. (Of course, if that wasn't obvious,
then I fear that more trouble may lie ahead.)

Assuming that you have gzip and "tar", you
should be able to unpack the source kit this
way:

cd
(Put "unzip60.tgz" here.)
gzip -dc unzip60.tgz | tar xf -
cd unzip60

Reading "INSTALL" now could be helpful, but
I'd expect the following procedure to be
approximately correct.

Assuming that you have "make" and a C
compiler:

GCC:
make -f unix/Makefile generic_gcc

HP C:
make -f unix/Makefile generic

And, if that works, then probably:

make -f unix/Makefile install

If you insist on using the old version (which
is packaged a little differently), start this
way:

cd
(Put "unzip552.tgz" here.)
mkdir unzip552
cd unzip552
gzip -dc ../unzip552.tgz | tar xf -

Then I'd try:
make -f unix/Makefile generic
or:
make -f unix/Makefile generic CC=gcc

but I haven't tried building 5.52 on HP-UX
lately, so there may be some details which
I don't remember. (The Porting Centre may
explain how they built the stuff for their
depots.)

If you can get it built, a "make install"
like the one shown above for 6.0 should work
for 5.52.
Vijay Kumar Dosapati
Occasional Advisor

Re: Installation of unzip 5.52 on HP-Ux 11.31

Hi

Thanks for support.

Regards
Vijay
Steven Schweda
Honored Contributor

Re: Installation of unzip 5.52 on HP-Ux 11.31

> Thanks for support.

Some future reader might be interested in
what you actually did, and if you got
satisfactory results.