Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#35737 closed defect (fixed)

webkit-gtk @1.8.2_0 +quartz+video "configure: error: OpenGL header not found"

Reported by: sasoph@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), whcordis@…, lyle@…, sutra (Sutra Zhou), kitchen.andy@…, LenoreHorner, diochnos, todmorrison (Tod Morrison)
Port: webkit-gtk

Description

10.5.8 PPC, Xcode 3.1.4

checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
configure: error: OpenGL header not found

Attachments (1)

main.log (18.0 KB) - added by sasoph@… 7 years ago.

Download all attachments as: .zip

Change History (19)

Changed 7 years ago by sasoph@…

Attachment: main.log added

comment:1 Changed 7 years ago by sasoph@…

Cc: sasoph@… added

Cc Me!

comment:2 in reply to:  1 Changed 7 years ago by sasoph@…

I was unable to add devans@… to Cc:. All that appears is "CcMe!" which I inadvertently clicked.

comment:3 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: jeremyhu@… added; sasoph@… removed
Owner: changed from macports-tickets@… to devans@…

comment:4 Changed 7 years ago by whcordis@…

Cc: whcordis@… added

Cc Me!

comment:5 Changed 7 years ago by whcordis@…

I'm also seeing this on 10.8.0 with Xcode 4.4.1

comment:6 Changed 7 years ago by lyle@…

Cc: lyle@… added

Cc Me!

comment:7 Changed 7 years ago by sutra (Sutra Zhou)

I am encountering this problem too. Mac OS X 10.7.4, Xcode 4.4.1.

comment:8 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: zhoushuqun@… kitchen.andy@… LenoreHorner@… diochnos@… added

Has duplicate #35724.

comment:9 Changed 7 years ago by kitchen.andy@…

Same here, Mac OS X 10.8, Xcode 4.4.1

comment:10 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:11 Changed 7 years ago by todmorrison (Tod Morrison)

Resolution: fixed
Status: closedreopened

Adding mesa as a dependency now causes a significant number of xorg packages to be pulled in as dependencies to "webkit-gtk +quartz", which kind of defeats the purpose of "+quartz". A better solution might be to a "webgl" variant that conflicts with "quartz".

comment:12 Changed 7 years ago by todmorrison (Tod Morrison)

Cc: todmorrison@… added

Cc Me!

comment:13 Changed 7 years ago by royliu@…

Cc: royliu@… added

Cc Me!

comment:14 Changed 7 years ago by royliu@…

Cc: royliu@… removed

Cc Me!

comment:15 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

comment:16 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

todmorrison, since you use the +quartz variant, can you please confirm if webkit-gtk actually builds ok with OpenGL.framework using the quartz path?

Try deleting this line in the Portfile:

configure.args-delete --enable-webgl

comment:17 Changed 7 years ago by todmorrison (Tod Morrison)

Hi. First, no, webkit-gtk won't actually build with OpenGL.framework (i.e. OpenGL/gl.h) since it also requires GLX (i.e. glx.h), which it does not provide (I believe the equivalent is Core OpenGL, CGL). As for building without webgl, I just successfully built with the latest portfile (where +quartz, disables webgl).

comment:18 Changed 7 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Ok thanks. There must be some conflict somewhere in webkit where it is assuming that GTK implies X11 and therefore GTK+WebGL needs GLX ... WebKit itself obviously works fine with OpenGL.framework since it's being used just fine on Safari. This is out of my area of concern since the entire reason I'm using webkit-gtk is to test X11. I plan on just leaving +quartz without webgl until someone else fixes it.

Note: See TracTickets for help on using tickets.