This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] failed to build xen from source code

To: <jeremy@xxxxxxxx>, <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] failed to build xen from source code
From: <wenche_chang@xxxxxxxxxxxx>
Date: Fri, 28 May 2010 15:33:54 +0800
Delivery-date: Fri, 28 May 2010 00:41:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43FEA041821E5247942BF0802912D9387572D4@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <4BFF444A.7020606@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr+HQHIuJtJkKHTQgOyavtB0oLPeQAGx5/Y
Thread-topic: [Xen-devel] failed to build xen from source code
after install these two RPMs , I can build and install the xen 4.0.1
But there are some troubles about xend , the error message is shown as below
[root@localhost ~]# xm list
 Unable to connect to xend: No such file or directory. Is xend running?
[root@localhost ~]# xend
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
  File "/usr/sbin/xend", line 36, in <module>
    from xen.xend.server import SrvDaemon
  File "/usr/lib64/python2.6/site-packages/xen/xend/server/SrvDaemon.py", line 26, in <module>
    import relocate
  File "/usr/lib64/python2.6/site-packages/xen/xend/server/relocate.py", line 28, in <module>
    from xen.xend import XendDomain
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 36, in <module>
    from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 20, in <module>
    from xen.xend import balloon, sxp, image
  File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 46, in <module>
    xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, 'Internal error', 'Could not obtain handle on privileged command interface (2 = No such file or directory)')
Any idea?

From: Jeremy Fitzhardinge [mailto:jeremy@xxxxxxxx]
Sent: 2010/5/28 [星期五] 下午 12:19
To: Wen Che Chang (RD-TW)
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] failed to build xen from source code

On 05/27/2010 08:47 PM, wenche_chang@xxxxxxxxxxxx wrote:
> Hi
> I tried to install Xen 4.0.1 from
> http://*xen*bits.*xen*.org/*xen*-*4.0*-testing.hg
> <http://xenbits.xen.org/xen-4.0-testing.hg>
> I use the installation step in Xen wiki as shown below
> yum groupinstall "Development Libraries"
> yum groupinstall "Development Tools"
> yum install transfig texi2html libaio-devel dev86 glibc-devel e2fsprogs-devel gitk mkinitrd iasl xz-devel bzip2-devel
> hg clone http://xenbits.xen.org/xen-4.0-testing.hg
> cd xen-4.0-testing.hg
> make xen
> make tools
> make stubdom
> I failed in  "make tools" and it shows
> /usr/bin/ld: cannot find -lpci

I think you also need pciutils-libs and pciutils-devel.


The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.
Xen-devel mailing list