Re: [libvirt] compile error: cannot open < gnulib/lib/gnulib.mk: No such file or directory

2011-07-30 Thread ajia

On 07/30/2011 11:01 PM, Eric Blake wrote:

On 07/30/2011 08:30 AM, ajia wrote:

Hi all,
When I get latest libvirt and then runnning make && make install, I met
the following error:
# make && make install
INFO: gnulib update required; running ./autogen.sh first
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/root/libvirt/build-aux/missing --run aclocal-1.11 -I m4 -I gnulib/m4
cd . && /bin/sh /root/libvirt/build-aux/missing --run automake-1.11 
--gnu

automake-1.11: cannot open < gnulib/lib/gnulib.mk: No such file or
directory
make: *** [Makefile.in] Error 1

Has anybody met this issue recently?


Yes, this is what happens with incremental builds; it won't happen 
with a fresh checkout.  To fix it, run ./bootstrap before running make.



Eric, Matthias, thanks a lot :)

Regards,
Alex

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] compile error: cannot open < gnulib/lib/gnulib.mk: No such file or directory

2011-07-30 Thread Matthias Bolte
2011/7/30 ajia :
> On 07/30/2011 10:30 PM, ajia wrote:
>>
>> Hi all,
>> When I get latest libvirt and then runnning make && make install, I met
>> the following error:
>> # make &&  make install
>> INFO: gnulib update required; running ./autogen.sh first
>> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
>> /root/libvirt/build-aux/missing --run aclocal-1.11 -I m4 -I gnulib/m4
>>  cd . && /bin/sh /root/libvirt/build-aux/missing --run automake-1.11 --gnu
>> automake-1.11: cannot open < gnulib/lib/gnulib.mk: No such file or
>> directory
>> make: *** [Makefile.in] Error 1
>>
>> Has anybody met this issue recently?
>>
>> BTW, my current commit id is a8be259d0cca071c5735c70580c247e9b44b2ebd.
>>
>>
>> Thanks,
>> Alex
>>
>> --
>> libvir-list mailing list
>> libvir-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/libvir-list
>
> This issue is introduced by b590866 freebsd: Fix build problem due to
> picking up the wrong libvirt.h,
> please correct me if I'm wrong, thanks.

Correct, rerunning ./bootstrap should fix this.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] compile error: cannot open < gnulib/lib/gnulib.mk: No such file or directory

2011-07-30 Thread Eric Blake

On 07/30/2011 08:30 AM, ajia wrote:

Hi all,
When I get latest libvirt and then runnning make && make install, I met
the following error:
# make && make install
INFO: gnulib update required; running ./autogen.sh first
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/root/libvirt/build-aux/missing --run aclocal-1.11 -I m4 -I gnulib/m4
cd . && /bin/sh /root/libvirt/build-aux/missing --run automake-1.11 --gnu
automake-1.11: cannot open < gnulib/lib/gnulib.mk: No such file or
directory
make: *** [Makefile.in] Error 1

Has anybody met this issue recently?


Yes, this is what happens with incremental builds; it won't happen with 
a fresh checkout.  To fix it, run ./bootstrap before running make.


--
Eric Blake   ebl...@redhat.com+1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] compile error: cannot open < gnulib/lib/gnulib.mk: No such file or directory

2011-07-30 Thread ajia

On 07/30/2011 10:30 PM, ajia wrote:

Hi all,
When I get latest libvirt and then runnning make && make install, I 
met the following error:

# make &&  make install
INFO: gnulib update required; running ./autogen.sh first
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/root/libvirt/build-aux/missing --run aclocal-1.11 -I m4 -I gnulib/m4
 cd . && /bin/sh /root/libvirt/build-aux/missing --run automake-1.11 
--gnu
automake-1.11: cannot open < gnulib/lib/gnulib.mk: No such file or 
directory

make: *** [Makefile.in] Error 1

Has anybody met this issue recently?

BTW, my current commit id is a8be259d0cca071c5735c70580c247e9b44b2ebd.


Thanks,
Alex

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
This issue is introduced by b590866 freebsd: Fix build problem due to 
picking up the wrong libvirt.h,

please correct me if I'm wrong, thanks.

Regards,
Alex

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] compile error: cannot open < gnulib/lib/gnulib.mk: No such file or directory

2011-07-30 Thread ajia

Hi all,
When I get latest libvirt and then runnning make && make install, I met 
the following error:

# make &&  make install
INFO: gnulib update required; running ./autogen.sh first
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/root/libvirt/build-aux/missing --run aclocal-1.11 -I m4 -I gnulib/m4

 cd . && /bin/sh /root/libvirt/build-aux/missing --run automake-1.11 --gnu
automake-1.11: cannot open < gnulib/lib/gnulib.mk: No such file or directory
make: *** [Makefile.in] Error 1

Has anybody met this issue recently?

BTW, my current commit id is a8be259d0cca071c5735c70580c247e9b44b2ebd.


Thanks,
Alex

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list