webkit error

Ryan Schmidt ryandesign at macports.org
Wed Dec 4 04:06:00 PST 2013


On Dec 4, 2013, at 05:16, David Epstein wrote:

> I'm using MacOsX 10.8.5 with Macports base version 2.2.1. There seem to be tickets related to webkit-gtk, but I'm too ignorant to understand whether they are saying anything relevant to me.
> 
> On giving the command
> sudo port upgrade outdated
> first a whole lot of installation and upgrading was done. At the end I got the following error message:.
> 
> Error: webkit-gtk is not supported for this installation of MacPorts.  It requires libc++ be selected as your C++ runtime.  Please use webkit-gtk-2.0 instead
> Error: org.macports.configure for port webkit-gtk returned: unsupported configuration
> 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_ports_www_webkit-gtk/webkit-gtk/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
>    http://guide.macports.org/#project.tickets
> 
> I then tried the following command
> sudo port install webkit-gtk-2.0
> and got
> --->  Computing dependencies for webkit-gtk-2.0
> Error: Unable to execute port: Can't install webkit-gtk-2.0 because conflicting ports are installed: webkit-gtk
> 
> I don't use any of this, but presumably programs, that I do use, need these packages. 

Presumably. Let’s find out for sure. What’s the output of:

port installed depends:webkit-gtk

Maybe webkit-gtk-2.0 is sufficient for those ports.

> Should I ignore these error messages, or try to do something about them?

You cannot ignore these errors; you must resolve the problem.

> What is libc++ and what is C++ runtime?

A C++ runtime is a library that programs that were written in C++ use. libc++ is the default C++ runtime on Mavericks and later, and libstdc++ is the default on Mountain Lion and earlier.

> Should I "select libc++ as my C++ runtime”?

Probably not.

> How do I do this?

Install MacPorts base from trunk and edit the relevant setting in macports.conf. I don’t recommend this.

> Would other programs continue to work if I did this?

You would have to uninstall and reinstall all ports, and hope that none of them use any of the operating system’s C++ libraries. I don’t recommend this.





More information about the macports-users mailing list