xen newbie questions

Rick Stevens rstevens at vitalstream.com
Fri Feb 2 23:43:17 UTC 2007


On Fri, 2007-02-02 at 23:53 +0100, Mogens Kjaer wrote:
> Rick Stevens wrote:
> ...
> > You need to install the gtk2 RPMs:
> > 
> > 	yum install gtk2
> > 
> > If you have the space, might as well install all gtk2 stuff:
> > 
> > 	yum install gtk2*
> 
> # yum install gtk2*
> ...
> =============================================================================
>   Package                 Arch       Version          Repository 
> Size
> =============================================================================
> Installing:
>   gtk2-devel              i386       2.10.8-1.fc6     updates 
> 3.0 M
>   gtk2hs-doc              i386       0.9.10.2-0.1.fc6  extras 
>   842 k
> Installing for dependencies:
>   atk-devel               i386       1.12.2-1.fc6     core 
> 125 k
>   libXi-devel             i386       1.0.1-3.1        core 
>   52 k
>   libXinerama-devel       i386       1.0.1-2.1        core 
> 5.2 k
>   pango-devel             i386       1.14.8-1.fc6     updates 
> 281 k
> 
> Transaction Summary
> =============================================================================
> ...
> 
> # xm
> Traceback (most recent call last):
>    File "/usr/sbin/xm", line 8, in ?
>      from xen.xm import main
> ImportError: No module named xen.xm
> 
> Sorry, this didn't help.

It got you past the gtk issue.  xen.xm module is part of the xen RPM.
You have that installed, right?  If so, then there's something weird.
The module should be in /usr/lib[64]/python2.4/site-packages.  It's
looking for "/usr/lib[64]/python2.4/site-packages/xen/xm/main.pyc".

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-                   To err is human, to moo bovine.                  -
----------------------------------------------------------------------




More information about the users mailing list