Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33997 closed defect (invalid)

glib2: C compiler cannot create executables

Reported by: lgcletter@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: glib2

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

glib2 don`t compile with sudo port install glib2

-->  Computing dependencies for glib2
--->  Configuring glib2
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
Error: Status 1 encountered during processing.

Attachments (1)

main.log (17.1 KB) - added by lgcletter@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by lgcletter@…

Attachment: main.log added

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

Cc: ryandesign@… added
Description: modified (diff)
Port: glib2 added
Resolution: invalid
Status: newclosed
Summary: error to install glib2glib2: C compiler cannot create executables

Please remember to use WikiFormatting, fill in the port field, Cc the port's maintainer.

The error message in the log—"C compiler cannot create executables"—is one of the first items in our FAQ, and usually means Xcode is not installed, or not installed properly.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Also, the lines in the log that say "Skipping completed" show this was not a clean build attempt. After you fix your Xcode installation, please "sudo port clean glib2" before you try to build again.

Note: See TracTickets for help on using tickets.