Guest User

Untitled

a guest
Sep 19th, 2018
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. [Mar 12 17:04] [jnovack@yourmom ~]$ defaults read /var/db/receipts/com.apple.pkg.DeveloperToolsCLI.plist
  2. {
  3. InstallDate = "2012-12-26 22:45:54 +0000";
  4. InstallPrefixPath = "/";
  5. InstallProcessName = Xcode;
  6. PackageFileName = "DeveloperToolsCLI.pkg";
  7. PackageGroups = (
  8. "com.apple.FindSystemFiles.pkg-group",
  9. "com.apple.DevToolsBoth.pkg-group",
  10. "com.apple.DevToolsNonRelocatableShared.pkg-group"
  11. );
  12. PackageIdentifier = "com.apple.pkg.DeveloperToolsCLI";
  13. PackageVersion = "4.5.0.0.1.1249367152";
  14. PathACLs = {
  15. Library = "!#acl 1\ngroup:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete\n";
  16. System = "!#acl 1\ngroup:ABCDEFAB-CDEF-ABCD-EFAB-CDEF0000000C:everyone:12:deny:delete\n";
  17. };
  18. }
  19.  
  20. System Preferences > Users and Groups > (select user) > Change password
  21.  
  22. $ dsenableroot
  23. username = mac_admin_user
  24. user password:
  25. root password:
  26. verify root password:
  27.  
  28. dsenableroot:: ***Successfully enabled root user.
  29.  
  30. sudo gcc
  31.  
  32. sudo make
  33.  
  34. WARNING: Improper use of the sudo command could lead to data loss
  35. or the deletion of important system files. Please double-check your
  36. typing when using sudo. Type "man sudo" for more information.
  37.  
  38. To proceed, enter your password, or type Ctrl-C to abort.
  39.  
  40. Password:
  41.  
  42.  
  43. You have not agreed to the Xcode license agreements. You must agree to
  44. both license agreements below in order to use Xcode.
  45.  
  46. Hit the Enter key to view the license agreements at
  47. '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'
  48.  
  49. IMPORTANT: BY USING THIS SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE
  50. FOLLOWING APPLE TERMS:
  51.  
  52. //...
  53.  
  54. By typing 'agree' you are agreeing to the terms of the software license
  55. agreements. Type 'print' to print them or anything else to cancel,
  56. [agree, print, cancel]
  57.  
  58. clang: error: no input files
  59.  
  60. $ xcode-select -p
  61. /Applications/Xcode.app/Contents/Developer
  62.  
  63. $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
  64. No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
  65.  
  66. $ xcode-select --install
  67.  
  68. $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
  69. package-id: com.apple.pkg.CLTools_Executables
  70. version: 5.0.1.0.1.1382131676
  71. volume: /
  72. location: /
  73. install-time: 1384149984
  74. groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group
  75.  
  76. $ pkgutil --pkg-info=com.apple.pkg.DeveloperToolsCLI
  77. No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
  78.  
  79. xcode-select --version
  80.  
  81. // if installed you will see the below with the version found in your system
  82. // xcode-select version 1234.
  83.  
  84. xcode-select --install
  85.  
  86. xcode-select -p
  87.  
  88. /Applications/Xcode.app/Contents/Developer
  89.  
  90. pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
  91.  
  92. package-id: com.apple.pkg.CLTools_Executables
  93. version: 8.2.0.0.1.1480973914
  94. volume: /
  95. location: /
  96. install-time: 1486372375
Add Comment
Please, Sign In to add comment