[MacPorts] #37190: install issue in py27-webkitgtk

MacPorts noreply at macports.org
Mon Dec 3 03:51:27 PST 2012

#37190: install issue in py27-webkitgtk
 Reporter:  guillaume.bonfante@…  |      Owner:  macports-tickets@…
     Type:  defect                |     Status:  new
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.1.2
 Keywords:                        |       Port:
 I'm working with OS X 10.6,
 When installing py27-webkitgtk +universal,
 I got the message:

 :info:build In file included from
 :info:build                  from
 :info:build                  from ./webkit/webkit.override:29:
 /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h:81: error:
 expected '=', ',', ';', 'asm' or '__attribute__' before ':' token

 After I removed the two comments at lines 81 and 133 in
 the installation ended smoothly.
 All right.
 After the complete installation, I tried

 #!/usr/bin/env python
 import gtk
 import webkit

 which does not work:

 emma:$ python
 Python 2.7.3 (default, Nov 30 2012, 14:00:47)
 [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import gtk
 Xlib:  extension "RANDR" missing on display "/tmp/launch-IVuuun/org.x:0".
 >>> import webkit
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 /site-packages/webkit/__init__.py", line 21, in <module>
     import webkit
 /site-packages/webkit/webkit.so, 2): Symbol not found:
   Referenced from: /opt/local/lib/libwebkitgtk-1.0.0.dylib
   Expected in: flat namespace
  in /opt/local/lib/libwebkitgtk-1.0.0.dylib

 Any idea?

Ticket URL: <https://trac.macports.org/ticket/37190>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list