From mboxrd@z Thu Jan 1 00:00:00 1970 From: Safa Hamza Subject: Re: error while compiling Xen from the source Date: Fri, 10 Jun 2016 16:03:30 +0100 Message-ID: References: <20160602152656.GC5714@citrix.com> <20160603152350.GN14588@citrix.com> <20160610132357.GH28116@citrix.com> <20160610143344.GI28116@citrix.com> <20160610144726.GJ28116@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0931382545908039132==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBNyA-00075D-IA for xen-devel@lists.xenproject.org; Fri, 10 Jun 2016 15:03:34 +0000 Received: by mail-oi0-f65.google.com with SMTP id e205so8387756oig.0 for ; Fri, 10 Jun 2016 08:03:32 -0700 (PDT) In-Reply-To: <20160610144726.GJ28116@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Wei Liu Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============0931382545908039132== Content-Type: multipart/alternative; boundary=001a113cd17883ea6c0534edd73c --001a113cd17883ea6c0534edd73c Content-Type: text/plain; charset=UTF-8 i'm really confused i build xen from the source in pc running ubuntu mate but while trying to do the same steps in order to build xen on other pc running 12.04 i got this error this is the log where xen is build successfully checking for python-config... /usr/bin/python-config checking Python.h usability... yes checking Python.h presence... yes checking for Python.h... yes checking for PyArg_ParseTuple in -lpython2.7... yes checking whether Python setup.py brokenly enables -D_FORTIFY_SOURCE... yes checking for xgettext... /usr/bin/xgettext checking for iasl... /usr/bin/iasl checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes *checking for uuid_clear in -luuid... yeschecking uuid.h usability... nochecking uuid.h presence... nochecking for uuid.h... no* checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for clear in -lcurses... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes and this is the log where the error is shown checking uuid/uuid.h usability... yes > checking uuid/uuid.h presence... yes > checking for uuid/uuid.h... yes > *checking for uuid_clear in -luuid... no > checking uuid.h usability... no > checking uuid.h presence... no > checking for uuid.h... no* > configure: error: cannot find a valid uuid library > configure: error: ./configure failed for tools > the problem is there is no difference On Fri, Jun 10, 2016 at 3:47 PM, Wei Liu wrote: > On Fri, Jun 10, 2016 at 04:41:01PM +0200, Safa Hamza wrote: > > but in this case .. this error is back > > > > checking uuid/uuid.h usability... yes > > checking uuid/uuid.h presence... yes > > checking for uuid/uuid.h... yes > > checking for uuid_clear in -luuid... no > > checking uuid.h usability... no > > checking uuid.h presence... no > > checking for uuid.h... no > > configure: error: cannot find a valid uuid library > > configure: error: ./configure failed for tools > > > > despite i installed the uuid-dev package > > > > You can read various logs (say config.log) to figure out what went > wrong. But even if you manage to fix that, the experience is not going > to be useful in general. > > I'm afraid I don't have other further suggestions other than having a > clean and working build environment. Personally I use Debian, but I know > other developers who use Arch, Gentoo, Fedora, Ubuntu, OpenSuse and > CentOS. You can try to build xen in a clean installation of one of the > above. > > Wei. > --001a113cd17883ea6c0534edd73c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i'm really confused
i build xen from the source in= pc running ubuntu mate but while trying to do the same steps in order to b= uild xen on other pc running 12.04 i got this error

this is the log where xen is build successfully

checking for pyth= on-config... /usr/bin/python-config
checking Python.h usability... yeschecking Python.h presence... yes
checking for Python.h... yes
chec= king for PyArg_ParseTuple in -lpython2.7... yes
checking whether Python = setup.py brokenly enables -D_FORTIFY_SOURCE... yes
checking for xgettext= ... /usr/bin/xgettext
checking for iasl... /usr/bin/iasl
checking uui= d/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checki= ng for uuid/uuid.h... yes
checking for uuid_clear in -luuid... yes
checking uuid.h usabilit= y... no
checking uuid.h presence... no
checking for uuid.h... no
<= /span>
checking curses.h usability... yes
checking curses.h presence.= .. yes
checking for curses.h... yes
checking for clear in -lcurses...= yes
checking ncurses.h usability... yes
checking ncurses.h presence.= .. yes
checking for ncurses.h... yes

=C2=A0and this is= the log where the error is shown

checking uuid/u= uid.h usability... yes
> checking uuid/uuid.h presence... yes
> checking for uuid/uuid.h... yes
> checking for uuid_clear in -luuid... no
> checking uuid.h usability... no
> checking uuid.h presence... no
> checking for uuid.h... no

> configure: error: cannot find a valid uuid library
> configure: error: ./configure failed for tools
>


the problem is there is no differe= nce

On Fri, Jun 10, 2016 at 3:47 PM, Wei Liu <wei.liu2@citrix.com&g= t; wrote:
On Fri,= Jun 10, 2016 at 04:41:01PM +0200, Safa Hamza wrote:
> but in this case .. this error is back
>
> checking uuid/uuid.h usability... yes
> checking uuid/uuid.h presence... yes
> checking for uuid/uuid.h... yes
> checking for uuid_clear in -luuid... no
> checking uuid.h usability... no
> checking uuid.h presence... no
> checking for uuid.h... no
> configure: error: cannot find a valid uuid library
> configure: error: ./configure failed for tools
>
> despite i installed the uuid-dev package
>

You can read various logs (say config.log) to figure out what went wrong. But even if you manage to fix that, the experience is not going
to be useful in general.

I'm afraid I don't have other further suggestions other than having= a
clean and working build environment. Personally I use Debian, but I know other developers who use Arch, Gentoo, Fedora, Ubuntu, OpenSuse and
CentOS. You can try to build xen in a clean installation of one of the
above.

Wei.

--001a113cd17883ea6c0534edd73c-- --===============0931382545908039132== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============0931382545908039132==--