Re: [Pkg-xen-devel] Xen advice requested
Paul van der Vlis wrote:
> Thomas Goirand schreef:
>> Paul van der Vlis wrote:
>>>> sys.path.append( '/usr/lib/python' )
>>>> import xen.xm.main as xenxm
>>>> id = int(xenxm.sxp.child_value(info, 'id', '-1'))
>>>> networkDeviceName="vif%s" % id
>>>> As /usr/lib/python/xen doesn't exist, but instead there is a
>>>> /usr/lib/python/xen-VERSION, the import fails if using the Debian package...
>>> For me it worked out of the box. Maybe the problems were corrected
>>> later? I use tools like xen-create-image and xm without problems.
>> Can you do "ls -lah /usr/lib/python" in your setup, and show me the
> xen:~# ls -lah /usr/lib/python
> ls: /usr/lib/python: No such file or directory
> xen:~# ls -ld /usr/lib/python*
> drwxr-xr-x 3 root root 80 2008-03-29 18:42 /usr/lib/python2.3
> drwxr-xr-x 19 root root 12072 2008-04-29 17:05 /usr/lib/python2.4
> drwxr-xr-x 3 root root 80 2008-03-29 18:47 /usr/lib/python2.5
> drwxr-xr-x 5 root root 136 2008-03-29 18:47 /usr/lib/python-support
> xen:~# ls -lah /usr/lib/python2.4
That's exactly what I said, I didn't remember in details, by hart... I
love Debian, and the fact that it sets things where they should be (conf
files in /etc, etc.), but in that case, it just messes everything. How
can I then include things that are supposed to be in /usr/lib/python/xen
in a "normal" system? What's the Debian way, or the pkg-xen-devel way?
Where's located the "xm" python source code in the Debian package?