tar fails to open .tar file on OS X
- by denonth
I need to unarchive a file to the /Developer folder.
My file is in /Users/User/Desktop/VMware/Downloads
And I am trying
tar -xf qt-everywhere-ios-4.8.0-arm7-nossl.tar.gz -C /Developer
and keep getting:
Lions-Mac:Downloads User$ tar -xf qt-everywhere-ios-4.8.0-arm7-nossl.tar -C /Developer
tar: Error opening archive: Failed to open 'qt-everywhere-ios-4.8.0-arm7-nossl.tar'
How can I achieve this?
Install Qt for iOS SDK
The Qt for iOS SDK has been configured to be
installed in the default Xcode installation location /Developer. It is
not possible to install the SDK into another location without first
rebuilding it, as the install location is contained within the qmake
executable, and that is built as part of Qt.
To install the Qt for iOS
SDK, open ‘Terminal’ and type the following from the command-line:
tar –xf qt-everywhere-ios-4.8.0-xxx.tar.gz –C /Developer
(where xxx is an identifier which can be used to determine the build
of the iOS SDK eg. arm7--nossl) This will install the Qt for iOS SDK
into the following path:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/share/qt-everywhere-ios-4.8.0