Opened 11 years ago

Closed 11 years ago

#40695 closed defect (invalid)

gperf @3.0.4_2 (devel) +universal C compiler cannot create executables

Reported by: ashton@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: gperf

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Installation of gperf +universal fails with "C compiler cannot create executables"

$ sudo port install gperf +universal
....
--->  Configuring gperf
Error: Failed to configure gperf, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gperf/gperf/work/gperf-3.0.4/config.log
Error: org.macports.configure for port gperf returned: configure failure: command execution failed
...

Exhibits behavior similar to this ticket: #29862

I attempted to use different compilers as instructed in the hotlist (cleaning between each attempt):

$ sudo port install gperf +universal configure.compiler=apple-gcc-4.2
$ sudo port install gperf +universal configure.compiler=llvm-gcc-4.2

Same results.

OS: OSX 10.7.5
Processor: Intel Core i7
Xcode Version: 4.6.2 (4H1003)

Attachments (2)

config.log (3.6 KB) - added by ashton@… 11 years ago.
Config.log
main.log (7.1 KB) - added by ashton@… 11 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by ashton@…

Attachment: config.log added

Config.log

Changed 11 years ago by ashton@…

Attachment: main.log added

main.log

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcalhoun@… openmaintainer@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to mcalhoun@…
Port: gperf added

comment:2 Changed 11 years ago by beirne@…

I had this problem this afternoon. In my case the problems was due to the terms needing to be accepted for Xcode after upgrading to Mavericks. I fixed this by running "sudo xcodebuild -license" and agreeing to the terms. After that gperf built fine and the rest of the upgrade procedure continued.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Indeed, it appears that the Xcode command line tools were not installed.

Note: See TracTickets for help on using tickets.