Mailing List Archive

[Bug 1785] libxenstat python / perl bindings will not compile on 64bit
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1785


fh@mathias-kettner.de changed:

What |Removed |Added
----------------------------------------------------------------------------
URL| |http://lists.xensource.com/a
| |rchives/html/xen-users/2007-
| |09/msg00284.html




------- Comment #1 from fh@mathias-kettner.de 2011-09-30 10:08 -------
just found out this issue existed since 2007. :>


>>> import xenstat.py
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "xenstat.py", line 28, in ?
import _xenstat
ImportError: ./_xenstat.so: undefined symbol: xenstat_init


--
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@lists.xensource.com
http://lists.xensource.com/xen-bugs
[Bug 1785] libxenstat python / perl bindings will not compile on 64bit [ In reply to ]
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1785





------- Comment #2 from fh@mathias-kettner.de 2011-09-30 10:20 -------
Another thread:
http://lists.xensource.com/archives/html/xen-devel/2005-10/msg00877.html

Anthony said "install it" but a make install of the Xen tree doesnt seem to
install it. So there's another little makefile issue. Xentop is properly
installed.

root@localhost:/xen/xen-4.1-testing.hg/tools/xenstat# make install
make[1]: Entering directory `/xen/xen-4.1-testing.hg/tools/xenstat'
make -C libxenstat install
make[2]: Entering directory `/xen/xen-4.1-testing.hg/tools/xenstat/libxenstat'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/xen/xen-4.1-testing.hg/tools/xenstat/libxenstat'
make[1]: Leaving directory `/xen/xen-4.1-testing.hg/tools/xenstat'
make[1]: Entering directory `/xen/xen-4.1-testing.hg/tools/xenstat'
make -C xentop install
make[2]: Entering directory `/xen/xen-4.1-testing.hg/tools/xenstat/xentop'
../../../tools/cross-install -d -m0755 -p //usr/sbin
../../../tools/cross-install -m0755 -p xentop //usr/sbin/xentop
../../../tools/cross-install -d -m0755 -p //usr/share/man/man1
../../../tools/cross-install -m0644 -p xentop.1 //usr/share/man/man1/xentop.1
make[2]: Leaving directory `/xen/xen-4.1-testing.hg/tools/xenstat/xentop'
make[1]: Leaving directory `/xen/xen-4.1-testing.hg/tools/xenstat'

I of course copied "*.so* to /usr/lib to no avail.
I didnt install the python stuff to the python site install path since the
error at import seems to mean it doesn't work, not that it can't import.


Maybe it nneds *just* enough documentation to let Unix admins figure out how to
do it right, without requiring knowledge of SWIG or C... :>
I will try to get some help on this but that might take months till I find
someone who can fix this...


--
Configure bugmail: http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@lists.xensource.com
http://lists.xensource.com/xen-bugs