- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
Forums
Discussions
Discussions
Discussions
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
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 09:39 AM
12-27-2007 09:39 AM
I downloaded tar-1.19.tar.gz from http://ftp.gnu.org/gnu/tar/ to a HPUX 11.23 PA-RISC server. I ran ./configure --> make --> make install --> I got the following error messages. Can you please help?
njuxdv02 # make install
No suffix list.
Making install in doc
test -z "/usr/local/share/info" || /bin/sh ../build-aux/mkinstalldirs "/usr/local/share/info
"
mkdir /usr/local/share
mkdir /usr/local/share/info
/opt/imake/bin/install -c -m 644 './tar.info' '/usr/local/share/info/tar.info'
/opt/imake/bin/install -c -m 644 './tar.info-1' '/usr/local/share/info/tar.info-1'
/opt/imake/bin/install -c -m 644 './tar.info-2' '/usr/local/share/info/tar.info-2'
Making install in lib
make install-am
source='strerror.c' object='strerror.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../build-aux/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -g -c -o strerror.o strerror.c
cc: "strerror.c", line 32: error 1588: "CHAR_BIT" undefined.
cc: "strerror.c", line 32: error 1503: Array size must be integral.
*** Error exit code 1
Stop.
*** Error exit code 1
Regards,
Jan Shu
System Admin
Solved! Go to Solution.
- Tags:
- gtar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 10:02 AM
12-27-2007 10:02 AM
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 10:03 AM
12-27-2007 10:03 AM
Solutionhttp://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.19/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 10:06 AM
12-27-2007 10:06 AM
Re: gnu tar v1.19 installation error messages
Thanks. I will try this http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.19/. I will let you know if it works. Thanks.
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 10:20 AM
12-27-2007 10:20 AM
Re: gnu tar v1.19 installation error messages
The URL you sent it works!! Can you please reply to this thread again so I can give you 10 pints? Thanks.
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 11:56 AM
12-27-2007 11:56 AM
Re: gnu tar v1.19 installation error messages
I went to http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.19/ and downloaded tar-1.19 for HP-UX 11i v2 (HP-UX 11.23) PA-RISC 2.0, tar-1.19-hppa-11.23.depot.gz, gettext-0.17-hppa-11.23.depot.gz, libiconv-1.12-hppa-11.23.depot.gz. And then I gunzip these 3 files and ran SAM software install utilities and completed the 3 depot installations. After the install, I ran tar on a 14GB file and it was failed. I found the http://hpux.cs.utah.edu/hppd/cgi-bin/wwwtar?/hpux/Gnu/tar-1.19/tar-1.19-src-11.11.tar.gz+tar-1.19/HPUX.Install+text showing different installation steps. What is the correct installation step? Can you please help again? Thanks.
Regards,
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 12:23 PM
12-27-2007 12:23 PM
Re: gnu tar v1.19 installation error messages
Which "tar" did you run?
Actual command?
Actual error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 12:31 PM
12-27-2007 12:31 PM
Re: gnu tar v1.19 installation error messages
The gnu tar will *not* replace the existing tar on the system. I believe that gnu tar installs in /usr/local/bin...could be wrong.
check the output of "which tar" to see which one it finds first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 12:31 PM
12-27-2007 12:31 PM
Re: gnu tar v1.19 installation error messages
I couldn't tell which tar (hp tar or gnu tar) I have now since I installed the tar-1.19-hppa-11.23.depot.gz an hour ago.
The command I had was "tar -cvf /backup/test.tar /oradata/test.DBF" and the error message was "tar:Size of /oradata/test.DBF >=8GB. Not Dump".
I suspect my gnu tar 1.19 installation wasn't correct or maybe I missed somethings.
Regards,
Jan
- 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
Here is the which tar result.
njuxdv02 # which tar
/usr/bin/tar
What is the correct command for the gnu tar? I am new to this gnu tar. Thanks.
regards,
Jan
- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 02:46 PM
12-27-2007 02:46 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 02:50 PM
12-27-2007 02:50 PM
Re: gnu tar v1.19 installation error messages
It should be "gtar" in below command line
gtar -cvf afiles.tar apple angst aspic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 04:23 PM
12-27-2007 04:23 PM
Re: gnu tar v1.19 installation error messages
You can use swinstall to install them directly:
# swinstall -s $PWD/tar-1.19-hppa-11.23.depot \*
You can also swcopy the 4 depots into a larger depot and then install them all at once. (This is useful for patches that reboot after each one.)
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1170628
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2007 04:38 PM
12-27-2007 04:38 PM
Re: gnu tar v1.19 installation error messages
If you specify the link this way, that is,
with an absolute path instead of a relative
path, you can have problems in some cases. I
claim that
"ln -s ../local/bin/tar /usr/local/bin/gtar"
is safer.
For example, if you use an NFS mount like
/net/other_host/usr/bin/gtar, my link will
take you to /net/other_host/usr/local/bin/tar,
but yours will take you to /usr/local/bin/tar,
which may or may not exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2007 10:02 AM
12-28-2007 10:02 AM
Re: gnu tar v1.19 installation error messages
Happy New Year.
Best Regards,
Jan