xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* error while compiling Xen from the source
@ 2016-06-02 15:22 Safa Hamza
  2016-06-02 15:26 ` Wei Liu
  2016-06-15 15:32 ` Meng Xu
  0 siblings, 2 replies; 19+ messages in thread
From: Safa Hamza @ 2016-06-02 15:22 UTC (permalink / raw)
  To: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1583 bytes --]

hello
in order to build   Xen from the source on my host (Intel x86-x64 running
Ubuntu mate)
I downloaded Xen Source Code from
git clone git://xenbits.xen.org/xen.git    then
git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
I configured it successfully but when I want to compiled, an error showed up



cc1: all warnings being treated as errors
/home/safa/xen/tools/blktap/drivers/../../../tools/Rules.mk:89: recipe for
target 'block-qcow.o' failed
make[5]: *** [block-qcow.o] Error 1
make[5]: Leaving directory '/home/safa/xen/tools/blktap/drivers'
/home/safa/xen/tools/blktap/../../tools/Rules.mk:105: recipe for target
'subdir-install-drivers' failed
make[4]: *** [subdir-install-drivers] Error 2
make[4]: Leaving directory '/home/safa/xen/tools/blktap'
/home/safa/xen/tools/blktap/../../tools/Rules.mk:100: recipe for target
'subdirs-install' failed
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory '/home/safa/xen/tools/blktap'
/home/safa/xen/tools/../tools/Rules.mk:105: recipe for target
'subdir-install-blktap' failed
make[2]: *** [subdir-install-blktap] Error 2
make[2]: Leaving directory '/home/safa/xen/tools'
/home/safa/xen/tools/../tools/Rules.mk:100: recipe for target
'subdirs-install' failed
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory '/home/safa/xen/tools'
Makefile:74: recipe for target 'install-tools' failed
make: *** [install-tools] Error 2


how can I fix it... it may be a missing package!!  I didn't find the
solution after spending a long time googling
i  I’ll appreciate your help

[-- Attachment #1.2: Type: text/html, Size: 1810 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-02 15:22 error while compiling Xen from the source Safa Hamza
@ 2016-06-02 15:26 ` Wei Liu
  2016-06-03 15:21   ` Safa Hamza
  2016-06-15 15:32 ` Meng Xu
  1 sibling, 1 reply; 19+ messages in thread
From: Wei Liu @ 2016-06-02 15:26 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

On Thu, Jun 02, 2016 at 04:22:25PM +0100, Safa Hamza wrote:
> hello
> in order to build   Xen from the source on my host (Intel x86-x64 running
> Ubuntu mate)
> I downloaded Xen Source Code from
> git clone git://xenbits.xen.org/xen.git    then
> git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> I configured it successfully but when I want to compiled, an error showed up
> 
> 
> 
> cc1: all warnings being treated as errors

You happen to trim out the root cause of your failure.

Look for the warning message (maybe just a few lines above) and fix
that.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-02 15:26 ` Wei Liu
@ 2016-06-03 15:21   ` Safa Hamza
  2016-06-03 15:23     ` Wei Liu
  0 siblings, 1 reply; 19+ messages in thread
From: Safa Hamza @ 2016-06-03 15:21 UTC (permalink / raw)
  To: Wei Liu; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 904 bytes --]

i did what u asked me to do but there is no warning msg
but when i downloaded xen from the source  git clone git://
xenbits.xen.org/xen.git
 without this git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
it worked fine , i just wonder why !!


On Thu, Jun 2, 2016 at 5:26 PM, Wei Liu <wei.liu2@citrix.com> wrote:

> On Thu, Jun 02, 2016 at 04:22:25PM +0100, Safa Hamza wrote:
> > hello
> > in order to build   Xen from the source on my host (Intel x86-x64 running
> > Ubuntu mate)
> > I downloaded Xen Source Code from
> > git clone git://xenbits.xen.org/xen.git    then
> > git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > I configured it successfully but when I want to compiled, an error
> showed up
> >
> >
> >
> > cc1: all warnings being treated as errors
>
> You happen to trim out the root cause of your failure.
>
> Look for the warning message (maybe just a few lines above) and fix
> that.
>
> Wei.
>

[-- Attachment #1.2: Type: text/html, Size: 1770 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-03 15:21   ` Safa Hamza
@ 2016-06-03 15:23     ` Wei Liu
  2016-06-10 12:03       ` Safa Hamza
  0 siblings, 1 reply; 19+ messages in thread
From: Wei Liu @ 2016-06-03 15:23 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

On Fri, Jun 03, 2016 at 05:21:33PM +0200, Safa Hamza wrote:
> i did what u asked me to do but there is no warning msg
> but when i downloaded xen from the source  git clone git://
> xenbits.xen.org/xen.git
>  without this git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> it worked fine , i just wonder why !!
> 

Did you perhaps use -j$NUM? In that case please either go through all
the output or don't use -j.

Wei.

> 
> On Thu, Jun 2, 2016 at 5:26 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> 
> > On Thu, Jun 02, 2016 at 04:22:25PM +0100, Safa Hamza wrote:
> > > hello
> > > in order to build   Xen from the source on my host (Intel x86-x64 running
> > > Ubuntu mate)
> > > I downloaded Xen Source Code from
> > > git clone git://xenbits.xen.org/xen.git    then
> > > git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > > I configured it successfully but when I want to compiled, an error
> > showed up
> > >
> > >
> > >
> > > cc1: all warnings being treated as errors
> >
> > You happen to trim out the root cause of your failure.
> >
> > Look for the warning message (maybe just a few lines above) and fix
> > that.
> >
> > Wei.
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-03 15:23     ` Wei Liu
@ 2016-06-10 12:03       ` Safa Hamza
  2016-06-10 13:23         ` Wei Liu
  0 siblings, 1 reply; 19+ messages in thread
From: Safa Hamza @ 2016-06-10 12:03 UTC (permalink / raw)
  To: Wei Liu; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1875 bytes --]

i'm working now with another PC running ubuntu 12.04 ..
while configuring Xen from the source i got this error

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


i even build the uuid library from the source

cd libuuid-1.0.3

./configure --prefix=/usr/local

make

sudo make install

but still the same problem





On Fri, Jun 3, 2016 at 4:23 PM, Wei Liu <wei.liu2@citrix.com> wrote:

> On Fri, Jun 03, 2016 at 05:21:33PM +0200, Safa Hamza wrote:
> > i did what u asked me to do but there is no warning msg
> > but when i downloaded xen from the source  git clone git://
> > xenbits.xen.org/xen.git
> >  without this git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > it worked fine , i just wonder why !!
> >
>
> Did you perhaps use -j$NUM? In that case please either go through all
> the output or don't use -j.
>
> Wei.
>
> >
> > On Thu, Jun 2, 2016 at 5:26 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> >
> > > On Thu, Jun 02, 2016 at 04:22:25PM +0100, Safa Hamza wrote:
> > > > hello
> > > > in order to build   Xen from the source on my host (Intel x86-x64
> running
> > > > Ubuntu mate)
> > > > I downloaded Xen Source Code from
> > > > git clone git://xenbits.xen.org/xen.git    then
> > > > git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> > > > I configured it successfully but when I want to compiled, an error
> > > showed up
> > > >
> > > >
> > > >
> > > > cc1: all warnings being treated as errors
> > >
> > > You happen to trim out the root cause of your failure.
> > >
> > > Look for the warning message (maybe just a few lines above) and fix
> > > that.
> > >
> > > Wei.
> > >
>

[-- Attachment #1.2: Type: text/html, Size: 3025 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 12:03       ` Safa Hamza
@ 2016-06-10 13:23         ` Wei Liu
  2016-06-10 13:53           ` Safa Hamza
  0 siblings, 1 reply; 19+ messages in thread
From: Wei Liu @ 2016-06-10 13:23 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> i'm working now with another PC running ubuntu 12.04 ..
> while configuring Xen from the source i got this error
> 
> 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

This.

Please install the uuid development library in your distro.


Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 13:23         ` Wei Liu
@ 2016-06-10 13:53           ` Safa Hamza
  2016-06-10 14:25             ` Safa Hamza
  0 siblings, 1 reply; 19+ messages in thread
From: Safa Hamza @ 2016-06-10 13:53 UTC (permalink / raw)
  To: Wei Liu; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]

the uuid library is already installed.. i solved the problem by downloading
 libgcc.deb then i installed this package with "dpkg -i" command

On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu <wei.liu2@citrix.com> wrote:

> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> > i'm working now with another PC running ubuntu 12.04 ..
> > while configuring Xen from the source i got this error
> >
> > 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
>
> This.
>
> Please install the uuid development library in your distro.
>
>
> Wei.
>

[-- Attachment #1.2: Type: text/html, Size: 1284 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 13:53           ` Safa Hamza
@ 2016-06-10 14:25             ` Safa Hamza
  2016-06-10 14:33               ` Wei Liu
  0 siblings, 1 reply; 19+ messages in thread
From: Safa Hamza @ 2016-06-10 14:25 UTC (permalink / raw)
  To: Wei Liu; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1984 bytes --]

but while compiling xen (make dist) i got this error


lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_clear@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_generate@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_unparse@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_is_null@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_compare@UUID_1.0'
lib/libvhd.so: undefined reference to `uuid_parse@UUID_1.0'
collect2: error: ld returned 1 exit status
make[5]: *** [vhd-util] Error 1
make[5]: Leaving directory `/home/lauterbach/xen1/tools/blktap2/vhd'
make[4]: *** [subdir-install-vhd] Error 2
make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
make[2]: *** [subdir-install-blktap2] Error 2
make[2]: Leaving directory `/home/lauterbach/xen1/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/lauterbach/xen1/tools'
make: *** [install-tools] Error 2


On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza <safahamza1@gmail.com> wrote:

> the uuid library is already installed.. i solved the problem by
> downloading  libgcc.deb then i installed this package with "dpkg -i" command
>
> On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu <wei.liu2@citrix.com> wrote:
>
>> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
>> > i'm working now with another PC running ubuntu 12.04 ..
>> > while configuring Xen from the source i got this error
>> >
>> > 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
>>
>> This.
>>
>> Please install the uuid development library in your distro.
>>
>>
>> Wei.
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2869 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 14:25             ` Safa Hamza
@ 2016-06-10 14:33               ` Wei Liu
  2016-06-10 14:41                 ` Safa Hamza
  0 siblings, 1 reply; 19+ messages in thread
From: Wei Liu @ 2016-06-10 14:33 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

On Fri, Jun 10, 2016 at 03:25:40PM +0100, Safa Hamza wrote:
> but while compiling xen (make dist) i got this error
> 
> 
> lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0'
> lib/libvhd.so: undefined reference to `uuid_clear@UUID_1.0'
> lib/libvhd.so: undefined reference to `uuid_generate@UUID_1.0'
> lib/libvhd.so: undefined reference to `uuid_unparse@UUID_1.0'
> lib/libvhd.so: undefined reference to `uuid_is_null@UUID_1.0'
> lib/libvhd.so: undefined reference to `uuid_compare@UUID_1.0'
> lib/libvhd.so: undefined reference to `uuid_parse@UUID_1.0'
> collect2: error: ld returned 1 exit status
> make[5]: *** [vhd-util] Error 1
> make[5]: Leaving directory `/home/lauterbach/xen1/tools/blktap2/vhd'
> make[4]: *** [subdir-install-vhd] Error 2
> make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
> make[3]: *** [subdirs-install] Error 2
> make[3]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
> make[2]: *** [subdir-install-blktap2] Error 2
> make[2]: Leaving directory `/home/lauterbach/xen1/tools'
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory `/home/lauterbach/xen1/tools'
> make: *** [install-tools] Error 2
> 

The need to install libgcc.deb by hand and these error indicate
something very wrong with your build environment. I suggest you use a
clean slate install.

These errors have nothing to do with the Xen build system really.

Wei.

> 
> On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza <safahamza1@gmail.com> wrote:
> 
> > the uuid library is already installed.. i solved the problem by
> > downloading  libgcc.deb then i installed this package with "dpkg -i" command
> >
> > On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> >
> >> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> >> > i'm working now with another PC running ubuntu 12.04 ..
> >> > while configuring Xen from the source i got this error
> >> >
> >> > 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
> >>
> >> This.
> >>
> >> Please install the uuid development library in your distro.
> >>
> >>
> >> Wei.
> >>
> >
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 14:33               ` Wei Liu
@ 2016-06-10 14:41                 ` Safa Hamza
  2016-06-10 14:47                   ` Wei Liu
  0 siblings, 1 reply; 19+ messages in thread
From: Safa Hamza @ 2016-06-10 14:41 UTC (permalink / raw)
  To: Wei Liu; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2991 bytes --]

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

On Fri, Jun 10, 2016 at 4:33 PM, Wei Liu <wei.liu2@citrix.com> wrote:

> On Fri, Jun 10, 2016 at 03:25:40PM +0100, Safa Hamza wrote:
> > but while compiling xen (make dist) i got this error
> >
> >
> > lib/libvhd.so: undefined reference to `uuid_copy@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_clear@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_generate@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_unparse@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_is_null@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_compare@UUID_1.0'
> > lib/libvhd.so: undefined reference to `uuid_parse@UUID_1.0'
> > collect2: error: ld returned 1 exit status
> > make[5]: *** [vhd-util] Error 1
> > make[5]: Leaving directory `/home/lauterbach/xen1/tools/blktap2/vhd'
> > make[4]: *** [subdir-install-vhd] Error 2
> > make[4]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
> > make[3]: *** [subdirs-install] Error 2
> > make[3]: Leaving directory `/home/lauterbach/xen1/tools/blktap2'
> > make[2]: *** [subdir-install-blktap2] Error 2
> > make[2]: Leaving directory `/home/lauterbach/xen1/tools'
> > make[1]: *** [subdirs-install] Error 2
> > make[1]: Leaving directory `/home/lauterbach/xen1/tools'
> > make: *** [install-tools] Error 2
> >
>
> The need to install libgcc.deb by hand and these error indicate
> something very wrong with your build environment. I suggest you use a
> clean slate install.
>
> These errors have nothing to do with the Xen build system really.
>
> Wei.
>
> >
> > On Fri, Jun 10, 2016 at 2:53 PM, Safa Hamza <safahamza1@gmail.com>
> wrote:
> >
> > > the uuid library is already installed.. i solved the problem by
> > > downloading  libgcc.deb then i installed this package with "dpkg -i"
> command
> > >
> > > On Fri, Jun 10, 2016 at 3:23 PM, Wei Liu <wei.liu2@citrix.com> wrote:
> > >
> > >> On Fri, Jun 10, 2016 at 01:03:49PM +0100, Safa Hamza wrote:
> > >> > i'm working now with another PC running ubuntu 12.04 ..
> > >> > while configuring Xen from the source i got this error
> > >> >
> > >> > 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
> > >>
> > >> This.
> > >>
> > >> Please install the uuid development library in your distro.
> > >>
> > >>
> > >> Wei.
> > >>
> > >
> > >
>

[-- Attachment #1.2: Type: text/html, Size: 4786 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 14:41                 ` Safa Hamza
@ 2016-06-10 14:47                   ` Wei Liu
  2016-06-10 15:03                     ` Safa Hamza
  0 siblings, 1 reply; 19+ messages in thread
From: Wei Liu @ 2016-06-10 14:47 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 14:47                   ` Wei Liu
@ 2016-06-10 15:03                     ` Safa Hamza
  2016-06-10 15:11                       ` Wei Liu
  2016-06-15 15:07                       ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 19+ messages in thread
From: Safa Hamza @ 2016-06-10 15:03 UTC (permalink / raw)
  To: Wei Liu; +Cc: Xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2589 bytes --]

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 <wei.liu2@citrix.com> 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.
>

[-- Attachment #1.2: Type: text/html, Size: 3418 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 15:03                     ` Safa Hamza
@ 2016-06-10 15:11                       ` Wei Liu
  2016-06-15 15:07                       ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 19+ messages in thread
From: Wei Liu @ 2016-06-10 15:11 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

On Fri, Jun 10, 2016 at 04:03:30PM +0100, Safa Hamza wrote:
> 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
> 

The only way to find out what went wrong is to dig into all the
configure output files. And then take appropriate steps to fix your
system.

If you're not very familiar with GNU autotools I suggest you go get some
advice from people in your local area who might be comfortable working
with a Linux system and building software from source.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-10 15:03                     ` Safa Hamza
  2016-06-10 15:11                       ` Wei Liu
@ 2016-06-15 15:07                       ` Konrad Rzeszutek Wilk
  2016-06-15 15:26                         ` Wim ten Have
  1 sibling, 1 reply; 19+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-06-15 15:07 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel, Wei Liu

On Fri, Jun 10, 2016 at 04:03:30PM +0100, Safa Hamza wrote:
> i'm really confused
> i build xen from the source in pc running ubuntu mate but while trying to

Take a look at http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source#Build_Dependencies_-_Debian_.2F_Ubuntu
and follow the directions there.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-15 15:07                       ` Konrad Rzeszutek Wilk
@ 2016-06-15 15:26                         ` Wim ten Have
  2016-06-15 16:11                           ` Wei Liu
  2016-06-15 16:34                           ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 19+ messages in thread
From: Wim ten Have @ 2016-06-15 15:26 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Xen-devel, Wei Liu, Safa Hamza


[-- Attachment #1.1: Type: text/plain, Size: 942 bytes --]

Running F23 here seemed to go trough good with above URL (making up much
for my environment).

The only part causing me trouble is page specific direction setting the
branch:

$ cd xen;
*git checkout -b staging staging*


Instead I did here (and think it should be)

$ cd xen; *git checkout -b staging*

Example:


<wtenhave@kruimel:69> git checkout -b staging
Switched to a new branch 'staging'


On Wed, Jun 15, 2016 at 5:07 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

> On Fri, Jun 10, 2016 at 04:03:30PM +0100, Safa Hamza wrote:
> > i'm really confused
> > i build xen from the source in pc running ubuntu mate but while trying to
>
> Take a look at
> http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source#Build_Dependencies_-_Debian_.2F_Ubuntu
> and follow the directions there.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
>

[-- Attachment #1.2: Type: text/html, Size: 2062 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-02 15:22 error while compiling Xen from the source Safa Hamza
  2016-06-02 15:26 ` Wei Liu
@ 2016-06-15 15:32 ` Meng Xu
  1 sibling, 0 replies; 19+ messages in thread
From: Meng Xu @ 2016-06-15 15:32 UTC (permalink / raw)
  To: Safa Hamza; +Cc: Xen-devel

On Thu, Jun 2, 2016 at 11:22 AM, Safa Hamza <safahamza1@gmail.com> wrote:
> hello
> in order to build   Xen from the source on my host (Intel x86-x64 running
> Ubuntu mate)
> I downloaded Xen Source Code from
> git clone git://xenbits.xen.org/xen.git    then
> git checkout -b RELEASE-4.3.1 RELEASE-4.3.1
> I configured it successfully but when I want to compiled, an error showed up
>
>
>
> cc1: all warnings being treated as errors
> /home/safa/xen/tools/blktap/drivers/../../../tools/Rules.mk:89: recipe for
> target 'block-qcow.o' failed
> make[5]: *** [block-qcow.o] Error 1
> make[5]: Leaving directory '/home/safa/xen/tools/blktap/drivers'
> /home/safa/xen/tools/blktap/../../tools/Rules.mk:105: recipe for target
> 'subdir-install-drivers' failed
> make[4]: *** [subdir-install-drivers] Error 2
> make[4]: Leaving directory '/home/safa/xen/tools/blktap'
> /home/safa/xen/tools/blktap/../../tools/Rules.mk:100: recipe for target
> 'subdirs-install' failed
> make[3]: *** [subdirs-install] Error 2
> make[3]: Leaving directory '/home/safa/xen/tools/blktap'
> /home/safa/xen/tools/../tools/Rules.mk:105: recipe for target
> 'subdir-install-blktap' failed
> make[2]: *** [subdir-install-blktap] Error 2
> make[2]: Leaving directory '/home/safa/xen/tools'
> /home/safa/xen/tools/../tools/Rules.mk:100: recipe for target
> 'subdirs-install' failed
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory '/home/safa/xen/tools'
> Makefile:74: recipe for target 'install-tools' failed
> make: *** [install-tools] Error 2
>
>
> how can I fix it... it may be a missing package!!  I didn't find the
> solution after spending a long time googling
> i  I’ll appreciate your help
>

There is a video about how to install RT-Xen at [1]. Since the
installation of RT-Xen and Xen are exactly same, you may want to have
a look and follow the video's instruciton. Hopefully it will be
helpful..

https://www.youtube.com/watch?v=PCIG5clWROo

Best,

Meng
-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-15 15:26                         ` Wim ten Have
@ 2016-06-15 16:11                           ` Wei Liu
  2016-06-15 16:34                           ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 19+ messages in thread
From: Wei Liu @ 2016-06-15 16:11 UTC (permalink / raw)
  To: Wim ten Have; +Cc: Xen-devel, Wei Liu, Safa Hamza

On Wed, Jun 15, 2016 at 05:26:52PM +0200, Wim ten Have wrote:
> Running F23 here seemed to go trough good with above URL (making up much
> for my environment).
> 
> The only part causing me trouble is page specific direction setting the
> branch:
> 
> $ cd xen;
> *git checkout -b staging staging*
> 

It should have been

  git checkout -b staging origin/staging

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-15 15:26                         ` Wim ten Have
  2016-06-15 16:11                           ` Wei Liu
@ 2016-06-15 16:34                           ` Konrad Rzeszutek Wilk
  2016-06-15 17:11                             ` Wim ten Have
  1 sibling, 1 reply; 19+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-06-15 16:34 UTC (permalink / raw)
  To: Wim ten Have; +Cc: Xen-devel, Wei Liu, Safa Hamza

On Wed, Jun 15, 2016 at 05:26:52PM +0200, Wim ten Have wrote:
> Running F23 here seemed to go trough good with above URL (making up much
> for my environment).
> 
> The only part causing me trouble is page specific direction setting the
> branch:
> 
> $ cd xen;
> *git checkout -b staging staging*

It loooks to have missed the 'origin' part.

One usually does 'git checkout origin/staging -b staging'

> 
> 
> Instead I did here (and think it should be)
> 
> $ cd xen; *git checkout -b staging*
> 
> Example:
> 
> 
> <wtenhave@kruimel:69> git checkout -b staging
> Switched to a new branch 'staging'

The -b creates a new branch. And you called it staging.
But it may have nothing to do with the origin staging.

git branch -r

gives a good idea of the remote branches (so the ones you pull from)
vs the local ones:

git branch

Usually when you clone a tree it will clone the 'master' branch.
So I think your 'staging' is at the same commit as the 'master'.
If you want the latest, you would need to do:

git branch -d staging
git checkout origin/staging -b staging


P.S.
The Git Manual is very solid.
> 
> 
> On Wed, Jun 15, 2016 at 5:07 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@oracle.com> wrote:
> 
> > On Fri, Jun 10, 2016 at 04:03:30PM +0100, Safa Hamza wrote:
> > > i'm really confused
> > > i build xen from the source in pc running ubuntu mate but while trying to
> >
> > Take a look at
> > http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source#Build_Dependencies_-_Debian_.2F_Ubuntu
> > and follow the directions there.
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: error while compiling Xen from the source
  2016-06-15 16:34                           ` Konrad Rzeszutek Wilk
@ 2016-06-15 17:11                             ` Wim ten Have
  0 siblings, 0 replies; 19+ messages in thread
From: Wim ten Have @ 2016-06-15 17:11 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Xen-devel, Wei Liu, Safa Hamza


[-- Attachment #1.1: Type: text/plain, Size: 225 bytes --]

On Wed, Jun 15, 2016 at 6:34 PM, Konrad Rzeszutek Wilk <
konrad.wilk@oracle.com> wrote:

P.S.
The Git Manual is very solid.

That helped O:-) ... now reading

https://www.kernel.org/pub/software/scm/git/docs/user-manual.html

[-- Attachment #1.2: Type: text/html, Size: 533 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-06-15 17:11 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-02 15:22 error while compiling Xen from the source Safa Hamza
2016-06-02 15:26 ` Wei Liu
2016-06-03 15:21   ` Safa Hamza
2016-06-03 15:23     ` Wei Liu
2016-06-10 12:03       ` Safa Hamza
2016-06-10 13:23         ` Wei Liu
2016-06-10 13:53           ` Safa Hamza
2016-06-10 14:25             ` Safa Hamza
2016-06-10 14:33               ` Wei Liu
2016-06-10 14:41                 ` Safa Hamza
2016-06-10 14:47                   ` Wei Liu
2016-06-10 15:03                     ` Safa Hamza
2016-06-10 15:11                       ` Wei Liu
2016-06-15 15:07                       ` Konrad Rzeszutek Wilk
2016-06-15 15:26                         ` Wim ten Have
2016-06-15 16:11                           ` Wei Liu
2016-06-15 16:34                           ` Konrad Rzeszutek Wilk
2016-06-15 17:11                             ` Wim ten Have
2016-06-15 15:32 ` Meng Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).