[MacPorts] #38642: webkit-gtk: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C compilation (was: webkit-gtk configuration error)

MacPorts noreply at macports.org
Tue Apr 2 15:04:29 PDT 2013


#38642: webkit-gtk: error: Compiler GCC >= 4.7 or Clang >= 3.0 is required for C
compilation
-------------------------+------------------------
  Reporter:  steve@…     |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.3
Resolution:              |   Keywords:
      Port:  webkit-gtk  |
-------------------------+------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => jeremyhu@…
 * keywords:  configure webkit-gtk =>
 * port:  latest => webkit-gtk


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/38642#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list