Opened 12 years ago
Last modified 11 years ago
#37190 closed defect
install issue in py27-webkitgtk — at Initial Version
Reported by: | guillaume.bonfante@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | webkit-gtk |
Description
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?