[MacPorts] #41217: m4 @1.4.16: C compiler cannot create executables

MacPorts noreply at macports.org
Tue Nov 12 20:59:22 PST 2013


#41217: m4 @1.4.16: C compiler cannot create executables
-----------------------+--------------------------------
  Reporter:  kc5tja@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.2.1
Resolution:  invalid   |   Keywords:  mavericks
      Port:  m4        |
-----------------------+--------------------------------

Comment (by anders+macports@…):

 I had the same problem. I looked at the config.log file, and found the
 problem. You have to "agree to the license agreement" the first time you
 run clang, and "sudo port" does not do that for you. Once I did that, I
 was able to compile with no errors. See below for details.

 Relevant error in config.log:

 configure:4245: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c
 >&5


 Agreeing to the Xcode/iOS license requires admin privileges, please re-run
 as root via sudo.

 So, I just ran sudo clang… and…

 $ sudo clang


 You have not agreed to the Xcode license agreements. You must agree to
 both license agreements below in order to use Xcode.

 Hit the Enter key to view the license agreements at
 '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'

 …yadda…yadda…yadda…

 By typing 'agree' you are agreeing to the terms of the software license
 agreements. Type 'print' to print them or anything else to cancel, [agree,
 print, cancel] agree

-- 
Ticket URL: <https://trac.macports.org/ticket/41217#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list