#50504: webkit2-gtk build error -----------------------------+------------------------ Reporter: m.venkadesan@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: webkit2-gtk | -----------------------------+------------------------ Comment (by m.venkadesan@…): I will be certain to copy the maintainers in the future. I am not building +quartz. The build of webkit2-gtk was launched by "port upgrade outdated" after a selfupdate. I migrated to El Capitan several months ago, and followed all posted instructions, including uninstall + reinstall of Macports and the latest Xcode (verified once again using xcodebuild -version). As for gtk3, that also seems to installed fine on the computer, including gdkx.h. On a whim, I looked up /opt/local/include/gtk-2.0/gdk/gdkx.h and found that to be missing. The folder is around and has other .h files in it, just not gdkx.h. This is strange because "port installed webkit2-gtk" says, "None of the specified ports are installed". On my second computer that is running El Capitan, and successfully upgraded yelp, the gdkx.h file exists inside the gtk-2.0 tree. Replying to [comment:2 devans@…]:
From a reexamination of the attached log file, it appears that this is not a +quartz but an X11 build on El Capitan. The log shows that the port is configured for an X11 build and that gtk3 +x11 is installed and install paths recognized. In particular the gtk3 include path is configured as /opt/local/include/gtk-3.0. gtk3 installs gdk/gdkx.h at /opt/local/include/gtk-3.0/gdk/gdkx.h so the build should work (and does on my machine).
Please make sure gtk3 is installed correctly and /opt/local/include/gtk-3.0/gdk/gdkx.h exists. If not you should reinstall gtk3. Please also make sure that in upgrading to El Capitan you followed all the [wiki:Migration Migration instructions] including the uninstall and reinstall of MacPorts and that you are using the latest Xcode 7.2 for El Capitan.
-- Ticket URL: <https://trac.macports.org/ticket/50504#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X