On 20/12/12 09:55, Tobias Gasser wrote:
> who has and why is libvirt removed from the book?
> 
> 
> i still try to get a vnc client. vinagre shows only part of the screen 
> (gtk2 and gtk3 versions - i meanwhile updated almost everything to gtk3 
> where possible).
> 
> vnc4 shows the whole screen but i have problems with the keyboard. us/en 
> works fine, but german fails with strange keyboard layout. as the newest 
> source i could find (4.4.1+X4.3.0 from debian) is a little outdated 
> (2010) i don't want to spend to much time on vnc4.
> 
> so i wanted to try the virt-viewer which requires libvirt...
> 
> 
> i try to build libvirt but have errors.
> 
> 
> with both 0.9.3 and 1.0.1 i get:
> 
> ./remote/remote_protocol.c: In function 'xdr_remote_vcpu_info':
> ./remote/remote_protocol.c:257:10: warning: implicit declaration of 
> function 'xdr_u_int64_t' [-Wimplicit-function-declaration]
> ./remote/remote_protocol.c:257:10: warning: nested extern declaration of 
> 'xdr_u_int64_t' [-Wnested-externs]
> ./remote/remote_protocol.c: In function 
> 'xdr_remote_node_get_cells_free_memory_ret':
> ./remote/remote_protocol.c:623:48: error: 'xdr_u_int64_t' undeclared 
> (first use in this function)
> ./remote/remote_protocol.c:623:48: note: each undeclared identifier is 
> reported only once for each function it appears in
> make[3]: *** [libvirt_driver_remote_la-remote_protocol.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> with the keywords "libvirt xdr_u_int64_t undeclared" google points to an 
> entry in blfs-book:
> 
> http://archives.linuxfromscratch.org/mail-archives/blfs-book/2012-April/032144.html
> 
> the mentionned flags don't solve the problem with 0.9.3 or 1.0.1.
> 
> thanks
> tobias
> 
> 

I'm not sure who or why it was removed. I've currently have version
1.0.0 built. Do you have libtirpc installed?

I have the following notes/instructions:

Dependencies.

Required:
curl
libgcrypt
libxml2
libnl
gnutls
util-linux
libxslt
python

Recommended:
lvm2
polkit
yajl
libtirpc
qemu-kvm

Optional:
avahi
parted
libpciaccess
iproute2


CPPFLAGS="-I/usr/include/tirpc" ./configure --prefix=/usr
--libexecdir=/usr/lib/libvirt --disable-static
make
make install

Regards,
Wayne.


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to