I just compiled and installed pygtk and gnome-python 1.99.15 and
cannot import gnome.ui

    >>> import gnome
    >>> import gnome.ui
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    ImportError: No module named ui

My configure reported:

    The following modules will be built:

    gnome
    gnome.ui
    gnome.canvas
    gnome.vfs
    gconf
    bonobo
    bonobo.activation
    bonobo.ui
    gnome.applet
    nautilus

    The following modules will NOT be built:

    zvt
    gtkhtml2
    gnomeprint
    gnomeprint.ui

But ui does not appear to have been built in the gnome-python gnome
subdir

    video:/var/tmp/gnome-python-1.99.15> ls gnome/ui*
    gnome/ui.defs  gnome/ui.override  gnome/uimodule.c

The output of 'configure' and 'make' are available at:

    http://nitace.bsd.uchicago.edu:8080/summer/jdh/make.out
    http://nitace.bsd.uchicago.edu:8080/summer/jdh/config.out

I have the same problem when I build with 'python setup.py build'.
When I capture the output of the build, and then grep for 'building',
I get

    video:/var/tmp/gnome-python-1.99.15> grep building setup.py.out
    building 'gnome._gnome' extension
    building 'gnome.canvas' extension
    building 'gnome.vfs' extension
    building 'gnome.gconf' extension
    building 'gnome.applet' extension

Any suggestions? 

Thanks,
John Hunter

Redhat Linux 8.0

video:~> gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

video:~> python
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to