Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42295 closed defect (invalid)

error installing gdb on Mavericks

Reported by: mfadams@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.1
Keywords: Cc:
Port:

Description

I have reinstalled macports after my Mavericks upgrade, done selfupdate, and now get a error in upgrading gdb.

Attachments (1)

main.log (6.2 KB) - added by mfadams@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by mfadams@…

Attachment: main.log added

comment:1 Changed 11 years ago by neverpanic (Clemens Lang)

Component: portsbase
Resolution: invalid
Status: newclosed
configure: error: C compiler cannot create executables

Please install the command line tools by executing xcode-select --install. Also make sure that you have accepted the Xcode license using sudo xcodebuild -license.

This is not a bug. Trac is for bug reports, submissions and requests only. Please use the macports-users mailing list for tech support.

comment:2 in reply to:  1 Changed 11 years ago by seanfarley (Sean Farley)

Replying to cal@…:

configure: error: C compiler cannot create executables

Please install the command line tools by executing xcode-select --install. Also make sure that you have accepted the Xcode license using sudo xcodebuild -license.

This is not a bug. Trac is for bug reports, submissions and requests only. Please use the macports-users mailing list for tech support.

I empathize here a little with the user since this happened to me not too long ago. To be fair, it is incredibly confusing when this error is encountered because there is not even a hint that command line tools aren't installed or the license hasn't been accepted. There was talk about having MacPorts check this type of thing. Is that still a possibility?

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Already present in r115900, which will be part of MacPorts 2.3.

comment:4 in reply to:  3 Changed 11 years ago by seanfarley (Sean Farley)

Replying to cal@…:

Already present in r115900, which will be part of MacPorts 2.3.

Ah, great. Thanks for the link.

Note: See TracTickets for help on using tickets.