chdir warning when opening .tar file on OS X

Posted by denonth on Super User See other posts from Super User or by denonth
Published on 2012-04-15T21:14:42Z Indexed on 2012/04/16 11:33 UTC
Read the original article Hit count: 271

Filed under:
|
|

I need to unarchive a file to the /Developer folder.

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

When I perform the operation I get the information:

Lions-Mac:Documents User$ tar -xf qt-everywhere-ios-4.8.0-arm7-nossl.tar.gz -C /Developer 
tar: could not chdir to '/Developer'

Any idea what is wrong?

© Super User or respective owner

Related posts about osx

Related posts about folder