Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie can't install gzip binary

Status
Not open for further replies.

meloware

Technical User
Apr 9, 2004
7
US
I think (hope) this is simple. I just installed Sun/Solaris 2.6 in an old Sparc IPX. I downloaded gzip-1_3 (binary) and have been going crazy trying to install it, logged in as root. HOW do I install this? Do I need to be in a particular shell? I am using a terminal emulator on my Windows PC, as I have no UNIX keyboard or monitor. I have set the permissions to 777 for both file and directory. When I try to run the file, gzip-1_3, I get this huge print out, aparently indicating an error on each line, such as:
gzip-1_3[9]: Software: not found
gzip-1_3[11]: Christensen: not found
gzip-1_3[14]: 07070100057c...(more hex)..SMCgzip/pkgmap:: not found
etc etc...
nearly every line complains 'not found'.

What is this file? A script which includes binary data?
Have I provided enough clues for one of you good people to direct me to a solution?
 
What is the result of this command:
file gzip-1_3

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
invoking the 'file' command produced the following:
#file gzip-1_3
gzip-1_3: commands text
#

when I examine the file using 'cat', I realize that this package appears to be a combination of scripting and binary data. Knowing almost nothing about UNIX (yet), I can only guess that perhaps I may be missing some kind of interpreter, or perhaps I need to manually set my PATH statement to a interpreter or some library.
(I am virtually certain I have the correct binary dist of gzip. This is a Sparc station IPX with a generic install of Sun/Solaris 2.6)

By the way, I also am going to install Apache. I extracted the .gz in my Windows system and FTP'd it into the UNIX box and tried to run that also. The results were similar to trying to run the gzip install, with the same kind of '[line number] not found' messages.
 
and FTP'd it into the UNIX box
In binary I hope ..

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Ok, problem solved. After some verbal abuse over my ignorance, a chat room told me to do the following:

#pkgadd -d gzip-1_3

everything worked fine. I knew nothing about this command, and the install page associated with gzip mentioned nothing about it. Too much is often assumed about users. I am struggling to come out of the Windows '.exe'world, and it takes a while to reach critical mass.
Thank you for replying to my question. I only use these forums after hours of being stuck. I'll try to use this resource sparingly.

Chris
 
meloware,

This is actually a common problem.

You might find it useful to NFS automount common apps like gunzip (and top etc) so as they can be run form all UNIX systems without having to install it on all of them.

Thanks,

Michael42
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top