Changes between Version 116 and Version 117 of ProblemHotlist


Ignore:
Timestamp:
May 30, 2014, 12:51:57 AM (10 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

Retire #xcode-eula, MacPorts >= 2.3.0 checks for that.

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v116 v117  
    2929
    3030Note you might have an older version of the `xcode-select` tool in case you installed Xcode 4.2 after installing the Mac OS X 10.7.3 update. If the command `xcode-select -version` returns `version 2003`, this is from Xcode 4.2 and we recommend to install the update once again with the [http://support.apple.com/kb/DL1484 Mac OS X 10.7.3 combo updater]. The current `xcode-select` version that comes with Mac OS X 10.7.3 identifies itself as `version 2307`.
    31 
    32 === Xcode License Agreement === #xcode-eula
    33 
    34 When attempting to build a port which compiles an OS X app (e.g., gimp-app), the compilation may fail with an xcodebuild error. One of the possible causes of this is that an initial run of xcodebuild from the terminal may be needed to accept the EULA before any compilation can proceed. Run:
    35 {{{
    36 xcodebuild -license
    37 }}}
    38 from a terminal window and follow the prompts. After accepting the EULA, rebuild the port again.
    39 
    40 With some ports and some versions of Xcode (e.g. libunwind-headers with Xcode 4.4+) you may need to accept the license as root, i.e.:
    41 {{{
    42 sudo xcodebuild -license
    43 }}}
    44 
    45 This will need to be repeated after any Xcode upgrade.
    4631
    4732== Error message from "port upgrade outdated": uninstall failure: "an invalid entry was passed" == #interrupteduninstall
     
    303288}}}
    304289}}}
     290
     291== Xcode License Agreement == #xcode-eula
     292Starting with Xcode 4.3, compilation of ports could fail if the Xcode EULA wasn't accepted. Run:
     293{{{
     294xcodebuild -license
     295}}}
     296from a terminal window and follow the prompts. After accepting the EULA, retry building the port.
     297
     298With some ports and some versions of Xcode (e.g. libunwind-headers with Xcode 4.4+ or any version of Xcode 5) you may need to accept the license as root, i.e.:
     299{{{
     300sudo xcodebuild -license
     301}}}
     302
     303This may need to be repeated after any Xcode upgrade.
     304
     305{{{#!div class="important" style="background: #99d8c9; border-color: #2ca25f; color: #00441b;"
     306'''Note:''' MacPorts >= 2.3.0 will print an error message and abort if it detects this situation. The message will read:
     307{{{
     308It seems you have not accepted the Xcode license; most ports will fail to build.
     309Agree to the license by opening Xcode or running `sudo xcodebuild -license'.
     310}}}
     311}}}