Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Basic Extraction 1: Fixing Tar

UBBFriend: Email this page to someone!    
Author Topic: Basic Extraction 1: Fixing Tar
jasont
Member
Member # 16

posted August 14, 2001 08:55 PM      Profile for jasont     Send New Private Message      Edit/Delete Post  Reply With Quote 
Look quickly when you run tar -zxvf as everyone does. Do you ever see something like
code:

tar: Unable to set file uid/gid of <directory>/<directory>/<filename> <No such file or directory>

This is caused by tar not extracting symbolic links correctly. You may not see this very often, but it can and does occur.

Solution:
Get the latest version of gnu tar with

code:

wget ftp://ftp.gnu.org/gnu/tar/tar-1.13.tar.gz
tar -zxvf tar-1.13.tar.gz
cd tar-1.13
cp /usr/libexec/config.guess ./
cp /usr/libexec/config.sub ./
./configure
make


now, you can either choose to make install it or do what I did and just run it from the src directory. I haven't tested the make install, but it should work.
-j

[ August 14, 2001: Message edited by: jasont ]


Posts: 50 | From: Palo Alto, CA | Registered: Aug 2001  |  IP: Logged
jasont
Member
Member # 16

posted August 15, 2001 11:00 PM      Profile for jasont     Send New Private Message      Edit/Delete Post  Reply With Quote 
If you make install this you will get tar in /usr/local/bin/tar you may want to replace the one you have in /usr/bin with it.
-j

Posts: 50 | From: Palo Alto, CA | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted August 15, 2001 11:13 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Since Jason pointed this out (I always wondered what those errors were about) I've packaged up the latest version of tar and added it to the site. It is installed in /usr/bin/ in place of Apple's tar.

Thank you for pointing out the problem and the fix Jason


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2