Richard,
I put an #ifdef around the logic in py_guestfs_mount_9p and
py_guestfs_list_9p, I.e. Left the signatures but the functions just return
a a NULL PyObject. It now builds and installs with pip.
Thanks for all your help most appreciated.
Is there a better way to do this?, #ifdefs always seem a little hacky.
Regards
John
On 9/14/15, 12:47 PM, "Richard W.M. Jones" <rjones(a)redhat.com> wrote:
On Mon, Sep 14, 2015 at 07:06:48PM +0000, John McDowall wrote:
> Richard,
>
> It is looking better, but still getting error - see attached log.
>
> I removed all installed packages and yum installed libguestfs
> libguestfs-devel (1.28.1)
>
> Then reset my git repository to 1.28.1 and then
>
> $ make clean
> $ ./autogen.sh --disable-erlang --disable-perl --disable-lua
>--disable-ruby
> $ make
> $ make -C python sdist
> $ cd python/dist
> $ sudo pip install guestfs-1.28.1.tar.gz
That's pretty close to working. We remove the *_9p functions in RHEL
because they are not supportable, so if you edit guestfs-py.c by hand
to remove those bindings it may work.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
https://urldefense.proofpoint.com/v2/url?u=http-3A__people.redhat.com_-7Er
jones&d=AwIBAg&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDp
fOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=rMKmgqBnzomK9gZ2IFeCMAUQoOb0CIXOuHL0unS
akbw&s=Wd1vKCyHdDlv2mC5G5ESdLBSfiHAPPD971EH870rIBc&e=
Read my programming and virtualization blog:
https://urldefense.proofpoint.com/v2/url?u=http-3A__rwmj.wordpress.com&am...
wIBAg&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavDpfOdPQrz1E
D54jEjvAE36A8TVJroVlrOQ&m=rMKmgqBnzomK9gZ2IFeCMAUQoOb0CIXOuHL0unSakbw&s=FN
5LMvtC9ufnfnGV0YnkBv3OzG8wO768Y9b4VgxJ6W0&e=
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
https://urldefense.proofpoint.com/v2/url?u=http-3A__fedoraproject.org_wiki
_MinGW&d=AwIBAg&c=V9IgWpI5PvzTw83UyHGVSoW3Uc1MFWe5J8PTfkrzVSo&r=vZ6VUDaavD
pfOdPQrz1ED54jEjvAE36A8TVJroVlrOQ&m=rMKmgqBnzomK9gZ2IFeCMAUQoOb0CIXOuHL0un
Sakbw&s=B4XzrgRkrzOTaaxSxzhN0kt7_cwxFKtIPsRdaEualL0&e=