Opened 12 years ago

Last modified 11 years ago

#37190 closed defect

install issue in py27-webkitgtk — at Version 2

Reported by: guillaume.bonfante@… Owned by: elelay@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: nodamage@…
Port: webkit-gtk

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm working with OS X 10.6, When installing py27-webkitgtk +universal, I got the message:

:info:build In file included from /opt/local/include/webkitgtk-1.0/webkit/webkitdom.h:135,
:info:build                  from /opt/local/include/webkitgtk-1.0/webkit/webkit.h:27,
:info:build                  from ./webkit/webkit.override:29:
:info:build /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 /opt/local/include/webkitgtk-1.0/webkit/WebKitDOMNavigator.h 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>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/webkit/__init__.py", line 21, in <module>
    import webkit
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/webkit/webkit.so, 2): Symbol not found: _aglGetCurrentContext
  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?

Change History (2)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Cc: nodamage@… added
Owner: changed from macports-tickets@… to elelay@…
Port: py27-webkitgtk added

Please remember to fill in the Port field and Cc the maintainers.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.