1823063 Members
3237 Online
109645 Solutions
New Discussion юеВ

bzip install problem

 
SOLVED
Go to solution
Eric Zumwalt_2
Advisor

bzip install problem

Hi,

I'm trying to install bzip on my HP-UX 11.0 system and I seem to be having a problem getting it to work.

I untared my bzip-0.21.tar file.

Then when I try to bzip a test file I get this error.

# bzip test
sh: bzip: Execute permission denied.

I've set full permissions. Any ideas how to fix this.

Thanks.


7 REPLIES 7
Sanjay_6
Honored Contributor

Re: bzip install problem

Hi,

Did you download the source code. You may have to compile it,

Try this location for compiled bzip,

http://hpux.cs.utah.edu/hppd/hpux/Misc/bzip2-1.0.2/

Hope this helps.

regds
Eric Zumwalt_2
Advisor

Re: bzip install problem

Thanks for the response. I download the new source that you suggested. I installed the depot file which completed successfully with now errors..

I still am having the same problem though.


# bzip test
sh: bzip: Execute permission denied.
Sanjay_6
Honored Contributor
Solution

Re: bzip install problem

Hi,

I just installed the product on my server and it works fine. the location for the binary is /usr/local/bin/bzip2. Use the complete path in your command. Check for permissions.

Hope this helps.

Regds
Steven E. Protter
Exalted Contributor

Re: bzip install problem

Execute the command with the full path of the bzip command.

You may have multple copies if the bzip file on your system.

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
Eric Zumwalt_2
Advisor

Re: bzip install problem

Thanks for your help. It does work when I put the full path. Is there a way to execute bzip2 without putting in the full path? On my other servers I don't have to put the full path.
Sanjay_6
Honored Contributor

Re: bzip install problem

Hi,

You can export your path variable and add /usr/local/bin to your path. you can add this as the first location to search for executable,

export PATH=/usr/local/bin:$PATH

or

PATH=/usr/local/bin:$PATH
export PATH

Take your pick.

After this,

# type bzip2
/usr/local/bin/bzip2

bzip2 is in your path.

Hope this helps.

Regds
Eric Zumwalt_2
Advisor

Re: bzip install problem

Well that worked.

Thanks for all of your help. I really appreciate it.

Eric