Operating System - HP-UX
1834279 Members
1804 Online
110066 Solutions
New Discussion

help needed for GNU tar....

 
SOLVED
Go to solution
chindi
Respected Contributor

help needed for GNU tar....

hi guys,
i have installed gnu tar from
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.12/

also i have installed the necessary dependencies lik gettext n libiconv...

also created a link lik tar -> /usr/local/bin/tar

but nw still m not able to use the functiona;ity of gnu tar of excluding directories when taking backup...

hw do i proceed ...????

hpux 11i v2..
16gb RAM
rx6600

root #/home >swlist -l file tar | grep bin
/usr/local/bin/rmt
/usr/local/bin/tar

tar 1.19 tar

root #/home >swlist -l product|grep -i libicon
Libiconv 1.6.1.9 Libiconv - Character set conversion library
libiconv 1.12 libiconv

root #/home >swlist -l product|grep -i gette
Gettext 0.10.39.9 GNU gettext NLS library
gettext 0.17 gettext


6 REPLIES 6
prasadb
Super Advisor

Re: help needed for GNU tar....

I guess you've got the corrupt tar file. please check it
prasadb
Super Advisor

Re: help needed for GNU tar....

Chindi,
Is there any space issue ? what's the error message you're getting ? can you post the error message here ?
chindi
Respected Contributor

Re: help needed for GNU tar....

Hi prasadb,
i got it....
it was d exclude option which i was luking for....:)


its wrkng for me nw ..thnxx very m,uch ....
Steven Schweda
Honored Contributor

Re: help needed for GNU tar....

> i have installed gnu tar from
> http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libiconv-1.12/

I must be easily confused. What does a
libiconv kit (or any of this) have to do with
GNU "tar"?
OldSchool
Honored Contributor

Re: help needed for GNU tar....

assuming you really did install the tar (and not just iconv), then where "did you create the link).

suggest you try it with the full path to the "gnu tar" executable to see if that works.

also, I typically rename it to "gtar", so that I "know" which one I'm running and don't mess with the hpux version of tar.

"which tar" or "whence tar" at the command prompt might be instructive as well
Steven Schweda
Honored Contributor
Solution

Re: help needed for GNU tar....

> [...] I typically rename it to "gtar" [...]

I normally build this sort of thing from the
sources, so I know how it was done. That
way, "make install" will normally put the
stuff under /usr/local. So, with GNU "tar"
in /usr/local/bin, I normally add a symbolic
link in /usr/local/bin:
gtar -> tar

Then, I make sure that /usr/local/bin is
_after_ the usual system directories on my
PATH. So, "gtar" works for me, too. Many
things are possible.

Renaming an executable can lead to confusion
when uninstalling, or when updating. An
uninstaller can't find the renamed file, and
a new version won't replace it. The symbolic
link should always point to the latest "tar"
there, if there is one.

(More links under /usr/local/man can also be
helpful, but I usually rely on "man -M".)