bzr-gtk and Solaris 10
Russel Winder
russel.winder at concertant.com
Mon Aug 25 11:11:03 BST 2008
Harald,
On Mon, 2008-08-25 at 11:58 +0200, Harald Meland wrote:
> [Russel Winder]
>
> > It seems that the configuration expected by bzr-gtk is not consistent
> > with the set up of Solaris 10 and Sunfreeware installation of python,
> > pygtk and gtk+:
>
> What is the output of (assuming you're using bash):
>
> type -a python
> /path/to/bin/python -c "import pygtk"
|> type -a python
python is /usr/local/bin/python
python is /usr/sfw/bin/python
|> /usr/local/bin/python -c "import pygtk"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pygtk
|> /usr/sfw/bin/python -c "import pygtk"
Traceback (most recent call last):
File "<string>", line 1, in ?
ImportError: No module named pygtk
|>
The loaded demo prograzm is:
|> more /usr/local/bin/pygtk-demo
#! /usr/local/bin/python
import sys
import os.path
pygtklibdir = os.path.join("/usr/local/lib", "pygtk", "2.0")
sys.path.insert(0, pygtklibdir)
execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))
|>
However:
|> pygtk-demo
Traceback (most recent call last):
File "/usr/local/bin/pygtk-demo", line 7, in <module>
execfile(os.path.join(pygtklibdir, "pygtk-demo.py"))
File "/usr/local/lib/pygtk/2.0/pygtk-demo.py", line 18, in <module>
import gobject
File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py", line 30, in <module>
from gobject.constants import *
File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gobject/constants.py", line 22, in <module>
from _gobject import type_from_name
ImportError: ld.so.1: python: fatal: libffi-2.00-beta.so: open failed: No such file or directory
|>
|> PYTHONPATH=/usr/local/lib/pygtk/2.0 python -c "import pygtk"
|>
So I guess we put in a bug report that the pygtk package is inconsistent
with the python package.
--
Russel.
====================================================
Dr Russel Winder Partner
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084
London SW11 1EN, UK. m: +44 7770 465 077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080825/38b444cb/attachment.pgp
More information about the bazaar
mailing list