<div dir="ltr"><div><div><div>Hi Rich<br><br></div>One more quiry.<br><br></div>When I'm trying to execute the binary on the powerpc ubuntu, it gives /usr/bin/supermin error.However it works fine on x86 ubuntu.Below are the logs...<br>
<br>PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin
<br>SELinux: sh: getenforce: command not found
<br>guestfs_get_append: (null)
<br>guestfs_get_autosync: 1
<br>guestfs_get_backend: direct
<br>guestfs_get_backend_settings: []
<br>guestfs_get_cachedir: /var/tmp
<br>guestfs_get_direct: 0
<br>guestfs_get_hv: /usr/bin/kvm
<br>guestfs_get_memsize: 768
<br>guestfs_get_network: 0
<br>guestfs_get_path: /usr/local/lib/guestfs
<br>guestfs_get_pgroup: 0
<br>guestfs_get_program: libguestfs-test-tool
<br>guestfs_get_recovery_proc: 1
<br>guestfs_get_selinux: 0
<br>guestfs_get_smp: 1
<br>guestfs_get_tmpdir: /tmp
<br>guestfs_get_trace: 0
<br>guestfs_get_verbose: 1
<br>host_cpu: powerpc64
<br>Launching appliance, timeout set to 600 seconds.
<br>libguestfs: launch: program=libguestfs-test-tool
<br>libguestfs: launch: version=1.26.1
<br>libguestfs: launch: backend registered: unix
<br>libguestfs: launch: backend registered: uml
<br>libguestfs: launch: backend registered: direct
<br>libguestfs: launch: backend=direct
<br>libguestfs: launch: tmpdir=/tmp/libguestfsvnUxG2
<br>libguestfs: launch: umask=0002
<br>libguestfs: launch: euid=1000
<br>libguestfs: [00000ms] begin building supermin appliance
<br>libguestfs: [00000ms] run supermin
<br>libguestfs: command: run: /usr/bin/supermin
<br>libguestfs: command: run: \ --build
<br>libguestfs: command: run: \ --verbose
<br>libguestfs: command: run: \ --if-newer
<br>libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
<br>libguestfs: command: run: \ --copy-kernel
<br>libguestfs: command: run: \ -f ext2
<br>libguestfs: command: run: \ --host-cpu powerpc64
<br>libguestfs: command: run: \ /usr/local/lib/guestfs/supermin.d
<br>libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
<br>supermin: version: 5.1.8
<br>supermin: package handler: debian/dpkg
<br>supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
<br>supermin: build: /usr/local/lib/guestfs/supermin.d
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/base.tar.gz type gzip base image (tar)
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar)
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/excludefiles type uncompressed excludefiles
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/hostfiles type uncompressed hostfiles
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/init.tar.gz type gzip base image (tar)
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/packages type uncompressed packages
<br>supermin: build: visiting /usr/local/lib/guestfs/supermin.d/udev-rules.tar.gz type gzip base image (tar)
<br>supermin: build: 121 packages, including dependencies
<br>supermin: build: 7109 files
<br>supermin: build: 7109 files, after removing unreadable files
<br>supermin: build: 4939 files, after matching excludefiles
<br>supermin: build: 4941 files, after adding hostfiles
<br>supermin: build: 4944 files, after munging
<br>supermin: failed to find a suitable kernel (host_cpu=powerpc64).
<br> <br>I looked for kernels in /boot and modules in /lib/modules.
<br> <br>If this is a Xen guest, and you only have Xen domU kernels
<br>installed, try installing a fullvirt kernel (only for
<br>supermin use, you shouldn't boot the Xen guest with it).
<br>libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above
<br>libguestfs-test-tool: failed to launch appliance
<br>libguestfs: closing guestfs handle 0x10016848 (state 0)
<br>libguestfs: command: run: rm
<br>libguestfs: command: run: \ -rf /tmp/libguestfsvnUxG2<br><br><br><br></div><div>Also while compiling libguesfs for powerpc ubuntu,it required supermin_5.1.8-2_powerpc.deb package .<br><br></div><div>Please help regarding this.<br>
<br><br></div><div>Thanks<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 9:57 PM, abhishek jain <span dir="ltr"><<a href="mailto:ashujain9727@gmail.com" target="_blank">ashujain9727@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Glad Buddy.:-)<br><br></div>It worked.<br>Thanks a lot.<br></div><br></div>I'm having some urgent deliverable and this would really help me alot.<br>
<br></div>Thanks again.<br><br>
</div>Would love to trouble you again .<br><br><br><div><div><div><div><div><br><br></div></div></div></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 29, 2014 at 9:34 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, May 29, 2014 at 09:30:45PM +0530, abhishek jain wrote:<br>
[...]<br>
<div>> checking for main in -lreadline... no<br>
> checking for append_history... no<br>
> checking for completion_matches... no<br>
> checking for rl_completion_matches... no<br>
<br>
</div>OK here's your problem.<br>
<br>
You need to install libreadline-dev and rerun configure.<br>
<div><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
</div>virt-p2v converts physical machines to virtual machines.  Boot with a<br>
live CD or over the network (PXE) and turn machines into KVM guests.<br>
<a href="http://libguestfs.org/virt-v2v" target="_blank">http://libguestfs.org/virt-v2v</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>