Opened 12 years ago

Closed 12 years ago

#38642 closed defect (duplicate)

webkit-gtk: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation

Reported by: clemson472 (Dr. D. E. Stevenson) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: webkit-gtk

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

Mac OS X version 10.6.8, Intel 2.2 GHz, core i7 4GB.

Attempting to install openvrml. Message is

:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.0.0" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-webkit2 --disable-introspection --enable-svg --enable-geolocation --enable-media-stream --enable-webgl --enable-video 
:info:configure Exit code: 1
:error:configure org.macports.configure for port webkit-gtk returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for webkit-gtk: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port webkit-gtk for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/main.log

Attachments (1)

main.log.gz (8.7 KB) - added by clemson472 (Dr. D. E. Stevenson) 12 years ago.
gzipped "main.log"

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by clemson472 (Dr. D. E. Stevenson)

Attachment: main.log.gz added

gzipped "main.log"

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

Description: modified (diff)
Keywords: configure webkit-gtk removed
Owner: changed from macports-tickets@… to jeremyhu@…
Port: webkit-gtk added; latest removed
Summary: webkit-gtk configuration errorwebkit-gtk: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation

The log says:

error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation

Try installing the clang-3.2 port and using it for webkit-gtk:

sudo port install clang-3.2
sudo port clean webkit-gtk
sudo port install webkit-gtk configure.compiler=macports-clang-3.2

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

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