[MacPorts] #37190: install issue in py27-webkitgtk
MacPorts
noreply at macports.org
Sun Dec 9 10:04:32 PST 2012
#37190: install issue in py27-webkitgtk
-----------------------------------+----------------------
Reporter: guillaume.bonfante@… | Owner: elelay@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: py27-webkitgtk |
-----------------------------------+----------------------
Description changed by ryandesign@…:
Old 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?
New 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?
--
--
Ticket URL: <https://trac.macports.org/ticket/37190#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list