GNU tar on SUN 9


 
Thread Tools Search this Thread
Operating Systems Solaris GNU tar on SUN 9
# 1  
Old 03-17-2005
GNU tar on SUN 9

I downloaded GNUtar from sunfreeware.con and installed it on a sparc running sun 9.
Performed pkgadd -d on the required lib and tar file and everything seemed to be ok.
I tried to extract a file from a tar created using the sun version with no success. Tar ran for several hours working on the extraction but never finished and gave no error messages.
I moved the tar file to another machine running suse and was able to extract the file without any problems.
Can anyone point me to what to check?
# 2  
Old 03-17-2005
Make sure you are providing the absolut path to the GNU tar. I believe it's /usr/local/bin/tar
# 3  
Old 03-17-2005
It might also be called gtar instead of tar.
# 4  
Old 03-17-2005
I agree with dangral. Most of the packages from the sunfreeware site installs in /usr/local/bin.
# 5  
Old 03-17-2005
Quote:
Originally Posted by dangral
Make sure you are providing the absolut path to the GNU tar. I believe it's /usr/local/bin/tar
I did make sure that I was running the GNU version. Any other ideas?
# 6  
Old 03-17-2005
Try to tar something small, that way when you test it wont run for hours. Then do a tar xvf with the GNU tar and post the results back.
# 7  
Old 03-18-2005
OK, I got it figured out finally primarily thanks to renard who had similar issues on a message he had posted in the "Unix for Advanced & Expert Users" forum.
First, the GNU version of tar I downloaded does not support the command format "tar --extract --file=file.tar filename"
the --extract and --file arguments are deprecated in the version I downloaded even though they still work in the version supplied with Suse and Fedora. The command I should have used was "tar -xvf file.tar /exactpath/filename"
I was able to extract a single file without any problems. I guess that using the --extract/--file flags does not give an error message since I never received one.
Thanks for the help
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. AIX

GNU TAR vs NATIVE AIX TAR

Hello, Getting this very strange error, made tar/zip through gnu tar GNU Tar ( successful tar and zip without any errors ) /opt/freeware/bin/tar cvf - /oraapp| gzip > /backup/bkp_15_6_16_oraapp.tgz GNU unTar error root@test8:/>gunzip < /config1/bkp_15_6_16_oraapp.tgz |... (5 Replies)
Discussion started by: filosophizer
5 Replies

2. Emergency UNIX and Linux Support

extraction of directory and below using gnu tar

i need to restore everything in a certain directory and lower. I have a tgz archive of all of the files, and i need to restore everything in /user/home/xxxx/ and below. this is a users home directory. this is a dumb question and i know when i see the answer i am going to say DUH, but i am... (2 Replies)
Discussion started by: frankkahle
2 Replies

3. AIX

GNU Tar with compression for AIX 4.2 already compiled ?

Is there a GNU Tar available with compression option available for AIX 4.2 that I can directly use (not having to compile anything, simple installation) ? (1 Reply)
Discussion started by: Browser_ice
1 Replies

4. UNIX for Advanced & Expert Users

GNU tar automatic gz detection/decompression

I stumbled on this feature on a SLES10 system yesterday... if you tar tf filename.tar.gz or tar xf filename.tar.gz it automatically gunzips the data for you. Has this feature been around for a while? I have 1.12 on my system, which doesn't, but the 1.20 manual mentions it... (3 Replies)
Discussion started by: Annihilannic
3 Replies

5. UNIX for Dummies Questions & Answers

Problems with GNU tar installation

Hi all, Need some help here. I've been trying to install GNU tar version 1.12 into my Solaris 9 machine. steps that I have done was: -untar the package file -run "./configure" -run "make" command (got stuck at this point) Got the following error messages after hitting the make... (2 Replies)
Discussion started by: suffer0
2 Replies

6. UNIX for Dummies Questions & Answers

gnu tar on Solaris 8

Here is how I got where I am: I tried untarring tomcat and at the end of the untar I get the following: So I downloaded GNU tar and did a pkgadd -d, which installed the package. But when I run /usr/local/bin/tar, I get this message: (1 Reply)
Discussion started by: dangral
1 Replies
Login or Register to Ask a Question