[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Error building latest release of xen-unstable



On Mon, Jan 30, 2012 at 10:02:25PM +0100, Sandi Romih wrote:
>    Hello,
>    I am trying to build the latest release of xen-unstable to test it with
>    pci-passthrough, but the process stops with errors.
>    I checked out the latest release of xen-unstable:
>    root@rom-xen:/usr/src$rev=24407;rev=24593;hg clone -r $rev
>    [1]http://xenbits.xensource.com/staging/xen-unstable.hg/
>    xen-unstable.hg-rev-${rev}
>    requesting all changes
>    adding changesets
>    adding manifests
>    adding file changes
>    added 24594 changesets with 124353 changes to 11427 files
>    updating to branch default
>    3240 files updated, 0 files merged, 0 files removed, 0 files unresolved
>    Then I go into the tool directory to run make so that qwmu gets checked
>    out, and I get this error (last few build messages showen below):
>    === PCI passthrough capability has been enabled ===
>    === PCI passthrough capability has been enabled ===
>    make[3]: Entering directory
>    
> `/usr/src/xen-unstable.hg-rev-24593/tools/qemu-xen-traditional-dir-remote/i386-dm'
>    /usr/src/xen-unstable.hg-rev-24593/tools/../tools/cross-install -d -m0755
>    -p "///usr/lib/xen/bin"
>    /usr/src/xen-unstable.hg-rev-24593/tools/../tools/cross-install -d -m0755
>    -p "///etc/xen/scripts"
>    /usr/src/xen-unstable.hg-rev-24593/tools/../tools/cross-install -m0755 -p
>    ../i386-dm/qemu-ifup-Linux "///etc/xen/scripts/qemu-ifup"
>    /usr/src/xen-unstable.hg-rev-24593/tools/../tools/cross-install -m 755 -s
>    qemu-dm "//usr/lib/xen/bin"
>    make[3]: Leaving directory
>    
> `/usr/src/xen-unstable.hg-rev-24593/tools/qemu-xen-traditional-dir-remote/i386-dm'
>    make[2]: Leaving directory
>    `/usr/src/xen-unstable.hg-rev-24593/tools/qemu-xen-traditional-dir-remote'
>    make[1]: Leaving directory `/usr/src/xen-unstable.hg-rev-24593/tools'
>    make[1]: Entering directory `/usr/src/xen-unstable.hg-rev-24593/tools'
>    if test -d git://[2]xenbits.xen.org/qemu-upstream-unstable.git ; then \
>                    mkdir -p qemu-xen-dir; \
>            else \
>                    export GIT=git; \
> 
>    /usr/src/xen-unstable.hg-rev-24593/tools/../scripts/git-checkout.sh
>    git://[3]xenbits.xen.org/qemu-upstream-unstable.git master qemu-xen-dir ;
>    \
>            fi
>    Cloning into qemu-xen-dir-remote.tmp...
>    remote: Counting objects: 92128, done.
>    remote: Compressing objects: 100% (19571/19571), done.
>    remote: Total 92128 (delta 72983), reused 91583 (delta 72438)
>    Receiving objects: 100% (92128/92128), 34.70 MiB | 1.66 MiB/s, done.
>    Resolving deltas: 100% (72983/72983), done.
>    Switched to a new branch 'dummy'
>    if test -d git://[4]xenbits.xen.org/qemu-upstream-unstable.git ; then \
> 
>    source=git://[5]xenbits.xen.org/qemu-upstream-unstable.git; \
>            else \
>                    source=.; \
>            fi; \
>            cd qemu-xen-dir; \
>            $source/configure --enable-xen --target-list=i386-softmmu \
>                    --source-path=$source \
> 
>    --extra-cflags="-I/usr/src/xen-unstable.hg-rev-24593/tools/../tools/include
>    \
>                    -I/usr/src/xen-unstable.hg-rev-24593/tools/../tools/libxc
>    \
> 
>    -I/usr/src/xen-unstable.hg-rev-24593/tools/../tools/xenstore" \
> 
>    --extra-ldflags="-L/usr/src/xen-unstable.hg-rev-24593/tools/../tools/libxc
>    \
> 
>    -L/usr/src/xen-unstable.hg-rev-24593/tools/../tools/xenstore" \
>                    --bindir=/usr/lib/xen/bin \
>                    --disable-kvm \
>                    ; \
>            make install
>    glib-2.0 required to compile QEMU


Based on that line.. do you have headers (development packages) for glib-2.0 
installed? 


>    make[2]: Entering directory
>    `/usr/src/xen-unstable.hg-rev-24593/tools/qemu-xen-dir-remote'
>    "/qemu"
>    /bin/sh: /qemu: not found
>    make[2]: *** [install-sysconfig] Error 127
>    make[2]: Leaving directory
>    `/usr/src/xen-unstable.hg-rev-24593/tools/qemu-xen-dir-remote'
>    make[1]: *** [subdir-all-qemu-xen-dir] Error 2
>    make[1]: Leaving directory `/usr/src/xen-unstable.hg-rev-24593/tools'
>    make: *** [subdirs-all] Error 2
>    I do not understand what is causing this error. But I think it is good
>    that the xen developers know about this.
>    If anyone wants the whole output from the build, I have it saved and can
>    attach it if need be.

See above.

-- Pasi


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.