- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gnu tar v1.19 installation error messages
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 12:35 PM
тАО12-27-2007 12:35 PM
Re: gnu tar v1.19 installation error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 12:39 PM
тАО12-27-2007 12:39 PM
Re: gnu tar v1.19 installation error messages
gnu tar probably installed in /usr/local/bin
the original tar remains on the system in /usr/bin.
check the above locations, then run the command with the full path to the desired version of tar...
also see gnu tar man pages
note...i usually create a link called gnutar that points to gnu tar so that I don't neeed to worry about full path / default path to pick the one I want to run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 12:41 PM
тАО12-27-2007 12:41 PM
Re: gnu tar v1.19 installation error messages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 12:46 PM
тАО12-27-2007 12:46 PM
Re: gnu tar v1.19 installation error messages
It will be the "oracle" account using this gnu tar. How to create the link for "oracle" so it can run gnutar easily without using the old tar? Thanks again.
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 12:59 PM
тАО12-27-2007 12:59 PM
Re: gnu tar v1.19 installation error messages
The /usr/local/bin/tar is able to archive file with 14GB size. That is a good news. Though this was on a PA-RISC server. Now I need to install GNU TAR on an Itanium server and hopefully it will work too. Please wait for the result.
I will ask my DBA to create their own link to /usr/local/bin/tar.
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 01:43 PM
тАО12-27-2007 01:43 PM
Re: gnu tar v1.19 installation error messages
It works on Itanium server too. I should give you 10 points!!
Thanks a lot.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 01:51 PM
тАО12-27-2007 01:51 PM
Re: gnu tar v1.19 installation error messages
> to /usr/local/bin/tar.
There are uncounted numbers of ways to
arrange these things. You can change the
order of the directories in PATH, or you can
specify full paths for all commands, or ...
I normally do this:
dy # ln -s tar /usr/local/bin/gtar
Then, when I want the "tar" which came with
the OS, I say "tar", and when I want GNU
"tar", I say "gtar":
dy # type tar
tar is /usr/bin/tar
dy # type gtar
gtar is /usr/local/bin/gtar
dy # tar --version
tar: s: unknown option
tar: usage tar [-]{txruc}[eONvVwAfblhm{op}][0-7[lmh]] [tapefile] [blocksize] [[
-C directory] file] ...
dy # gtar --version
tar (GNU tar) 1.18
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
This way, any old scripts which use "tar"
will get the "tar" which they were expecting,
I can get GNU "tar" very easily, and if I
ever install a newer version of GNU "tar"
(which I suppose I should do now), the "gtar"
link will point to the new one with no
additional effort. It works for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 02:22 PM
тАО12-27-2007 02:22 PM
Re: gnu tar v1.19 installation error messages
Or perhaps not. I got the same
strerror.c-CHAR_BIT complaint on my 11.11
system using GCC 4.2.2. I haven't looked at
it very closely, but it appears that the
"configure" test "for working strerror
function" is no good, and when that test
fails, the builders try to use a substitute
strerror() function, and that one can't be
compiled as supplied. A quick Google search
for:
gnu tar 1.19 strerror
suggests that it's broken on a bunch of other
systems, too. (And I thought that _my_
testing was sloppy.)
GNU "tar" 1.18 seemed to be a higher-quality
release. I think that I'll stick with that
one until 1.20 comes out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 02:27 PM
тАО12-27-2007 02:27 PM
Re: gnu tar v1.19 installation error messages
In addition to the manpages, you can reference:
http://www.gnu.org/software/tar/manual/tar.html
I would install the GNU version in '/usr/local/bin' and when necessary to use the GNU version reference it by absolute path, leaving simple references to 'tar' to normally find '/usr/bin/tar' or '/sbin/tar'. Remember, binaries in '/sbin' are guaranteed to reference only static (archive) libaries and thus do not require '/usr' to be mounted such as in the case of single-user mode.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2007 02:45 PM
тАО12-27-2007 02:45 PM
Re: gnu tar v1.19 installation error messages
I appreciated your fast help to make this gnu tar 1.19 working on my HPUX 11.23 PA-RISC and Itanium servers. Here is a simple summary :
1. for PA-RISC go to http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.19/ and download
tar-1.19-hppa-11.23.depot.gz
gettext-0.17-hppa-11.23.depot.gz
libiconv-1.12-hppa-11.23.depot.gz
make-3.81-hppa-11.23.depot.gz
2. gunzip above 4 download files and you have these 4 depot files.
tar-1.19-hppa-11.23.depot
gettext-0.17-hppa-11.23.depot
libiconv-1.12-hppa-11.23.depot
make-3.81-hppa-11.23.depot
3. run SAM Software Manager Install utilities and install them in this order:
make-3.81-hppa-11.23.depot --> libiconv-1.12-hppa-11.23.depot --> gettext-0.17-hppa-11.23.depot --> tar-1.19-hppa-11.23.depot
4. create link
ln -s /usr/local/bin/tar /usr/bin/gtar
5. Example
tar -cvf afiles.tar apple angst aspic
5. For more reading:
http://www.gnu.org/software/tar/manual/tar.html for the manual.