Re: [libvirt-users] Libvirt remote-client compilation for RHEL4

2013-03-07 Thread Saravanan Shanmugham (sarvi)
BTW, does the following work for you? --prefix=/home/berrange/libvirt --localstatedir=/var --sysconfdir=/etc For me make succeeds, but "make install" fails. I got around it by changing src/remote/remote_driver.h to the following and got things to work. But that¹s a hack. # define LIBVIRTD_PRIV_U

Re: [libvirt-users] Libvirt remote-client compilation for RHEL4

2013-03-07 Thread Saravanan Shanmugham (sarvi)
Thanks for the patch, Daniel. On 3/7/13 8:29 AM, "Daniel P. Berrange" wrote: >On Thu, Mar 07, 2013 at 01:05:22AM +, Saravanan Shanmugham (sarvi) >wrote: >> I am using the following configure to minimize dependencies and avoid >>anything unrelated to getting a libvirt remote client going. Tu

Re: [libvirt-users] Libvirt remote-client compilation for RHEL4

2013-03-07 Thread Daniel P. Berrange
On Thu, Mar 07, 2013 at 01:05:22AM +, Saravanan Shanmugham (sarvi) wrote: > I am using the following configure to minimize dependencies and avoid > anything unrelated to getting a libvirt remote client going. Turned on > —with-remote=yes, --with-python=yes —with-rhel5-api=yes > > ./configure

Re: [libvirt-users] Libvirt remote-client compilation for RHEL4

2013-03-07 Thread Eric Blake
On 03/06/2013 06:05 PM, Saravanan Shanmugham (sarvi) wrote: > I am using the following configure to minimize dependencies and avoid > anything unrelated to getting a libvirt remote client going. Turned on > —with-remote=yes, --with-python=yes —with-rhel5-api=yes [your mailer doesn't wrap long li

Re: [libvirt-users] Libvirt remote-client compilation for RHEL4

2013-03-07 Thread Eric Blake
On 03/06/2013 04:41 PM, Saravanan Shanmugham (sarvi) wrote: > > > Hi, >We are trying to compile Libvirt 1.02 from source for an RHEL4 target. Good luck. Unfortunately, upstream libvirt does not target RHEL4 (we have only tested that upstream libvirt can build on RHEL5), so there are probabl

Re: [libvirt-users] Libvirt remote-client compilation for RHEL4

2013-03-06 Thread Saravanan Shanmugham (sarvi)
I am using the following configure to minimize dependencies and avoid anything unrelated to getting a libvirt remote client going. Turned on —with-remote=yes, --with-python=yes —with-rhel5-api=yes ./configure --with-python --with-apparmor=no --with-apparmor-mount=no --with-attr=no --with-audit=