Opened 12 years ago

Closed 12 years ago

#36868 closed defect (invalid)

apple-gcc42: C compiler cannot create executables

Reported by: tsmail05@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: apple-gcc42

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

s@petunia ~ 0% sudo port install apple-gcc42 
--->  Computing dependencies for apple-gcc42
--->  Fetching archive for apple-gcc42
--->  Attempting to fetch apple-gcc42-5666.3_9.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/apple-gcc42
--->  Attempting to fetch apple-gcc42-5666.3_9.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/apple-gcc42
--->  Attempting to fetch apple-gcc42-5666.3_9.darwin_11.x86_64.tbz2 from http://packages.macports.org/apple-gcc42
--->  Fetching distfiles for apple-gcc42
--->  Verifying checksum(s) for apple-gcc42
--->  Extracting apple-gcc42
--->  Applying patches to apple-gcc42
--->  Configuring apple-gcc42
--->  Building apple-gcc42
Error: org.macports.build for port apple-gcc42 returned: command execution failed
Please see the log file for port apple-gcc42 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port apple-gcc42 failed

on on lion osx 10.7.5 xcode 4.5.2

Attachments (1)

main.log (45.0 KB) - added by tsmail05@… 12 years ago.
sudo port install apple-gcc42

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by tsmail05@…

Attachment: main.log added

sudo port install apple-gcc42

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

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: apple-gcc42 added
Summary: install apple-gcc42 @5666.3 failsapple-gcc42: C compiler cannot create executables

Please remember to use WikiFormatting when writing in Trac, and remember to fill in the Port field and to Cc the maintainer of that port.

The log you attached says:

:info:build configure: error: installation or configuration problem: C compiler cannot create executables.

So this is likely the same problem as in your other ticket #36867: you haven't installed the required Xcode command line tools.

comment:2 Changed 12 years ago by tsmail05@…

Yes, installing XCode command line tools resolved this as well.

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.