[libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt

Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19. I found several links talking about this error and I downloaded 3 files (configure.ac, m4/virt-yajl.m4, src/qemu/qemu_capabilities.c) from the link given by Daniel Berrange (http://libvirt.org/git/?p=libvirt.git;a=commit;h=654c709baaa6fdcff6b6d38abb0...) , but it does not work. Am I missing something? Best regards, Cheng

On 07/01/2014 09:00 AM, WANG Cheng D wrote:
Dear all,
I am installing the libvirt 1.2.5 on my newly installed Fedora19.
When I run ./configure, an error is reported: “You must install the libyajl library & headers to compile libvirt”
In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
Do you have the yajl-devel package installed as well? Jan

Dear Jan, I tried to install yajl-devel package, but system said "it is already installed". I tried to install libvirt-1.2.0, and the same error occurs. There are several links talking about this error. It seems that this is a bug which was also reported in " http://comments.gmane.org/gmane.comp.emulators.libvirt/84763" .It seemed that the reporter has solved the problem, but I didn't. I had ever successfully installed libvirt 1.0.3 on fedora16, but failed to install 1.2.0 and 1.2.5 on fedoar16. I tried to install 1.0.3, 1.2.0 and 1.2.5 on fedora19, all the installations failed :-( Thank you for your response. Cheng -----Original Message----- From: Ján Tomko [mailto:jtomko@redhat.com] Sent: 2014年7月1日 15:56 To: WANG Cheng D; libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt On 07/01/2014 09:00 AM, WANG Cheng D wrote:
Dear all,
I am installing the libvirt 1.2.5 on my newly installed Fedora19.
When I run ./configure, an error is reported: “You must install the libyajl library & headers to compile libvirt”
In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
Do you have the yajl-devel package installed as well? Jan

Sorry. I confused yajl with yajl-devel. I will try again Thanks cheng -----Original Message----- From: Ján Tomko [mailto:jtomko@redhat.com] Sent: 2014年7月1日 15:56 To: WANG Cheng D; libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt On 07/01/2014 09:00 AM, WANG Cheng D wrote:
Dear all,
I am installing the libvirt 1.2.5 on my newly installed Fedora19.
When I run ./configure, an error is reported: “You must install the libyajl library & headers to compile libvirt”
In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
Do you have the yajl-devel package installed as well? Jan

Dear Jan, I installed yajl-devel and 4 other rpm packags.,then it works Thanks a lot for your help Cheng -----Original Message----- From: Ján Tomko [mailto:jtomko@redhat.com] Sent: 2014年7月1日 15:56 To: WANG Cheng D; libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt On 07/01/2014 09:00 AM, WANG Cheng D wrote:
Dear all,
I am installing the libvirt 1.2.5 on my newly installed Fedora19.
When I run ./configure, an error is reported: “You must install the libyajl library & headers to compile libvirt”
In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
Do you have the yajl-devel package installed as well? Jan

At Tue, 1 Jul 2014 07:00:29 +0000, WANG Cheng D wrote:
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
You need to install the yajl-devel package. Claudio

Dear Claudio, I tried to install yajl-devel package, but system said "it is already installed". I tried to install libvirt-1.2.0, and the same error occurs. There are several links talking about this error. It seems that this is a bug which was also reported in " http://comments.gmane.org/gmane.comp.emulators.libvirt/84763" .It seemed that the reporter has solved the problem, but I didn't. As I know, the libvirt installation always has different problem on different version of fedora :-(. Thank you for your response :-) Cheng -----Original Message----- From: Claudio Bley [mailto:cbley@av-test.de] Sent: 2014年7月1日 15:57 To: WANG Cheng D Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt At Tue, 1 Jul 2014 07:00:29 +0000, WANG Cheng D wrote:
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
You need to install the yajl-devel package. Claudio

Sorry. I confused yajl with yajl-devel. I will try again Thanks cheng -----Original Message----- From: Claudio Bley [mailto:cbley@av-test.de] Sent: 2014年7月1日 15:57 To: WANG Cheng D Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt At Tue, 1 Jul 2014 07:00:29 +0000, WANG Cheng D wrote:
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
You need to install the yajl-devel package. Claudio

Yes, I installed yajl-devel and 4 other rpm packags.,then it works Thanks a lot for your help Cheng -----Original Message----- From: Claudio Bley [mailto:cbley@av-test.de] Sent: 2014年7月1日 15:57 To: WANG Cheng D Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt At Tue, 1 Jul 2014 07:00:29 +0000, WANG Cheng D wrote:
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
You need to install the yajl-devel package. Claudio

On Tue, Jul 01, 2014 at 07:00:29AM +0000, WANG Cheng D wrote:
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19. I found several links talking about this error and I downloaded 3 files (configure.ac, m4/virt-yajl.m4, src/qemu/qemu_capabilities.c) from the link given by Daniel Berrange (http://libvirt.org/git/?p=libvirt.git;a=commit;h=654c709baaa6fdcff6b6d38abb0...) , but it does not work.
Am I missing something?
For development you probably need yajl-devel or yajl-libs or whatever's the name. Easiest way to get most of the needed development packages you need is to run "yum-builddep libvirt". Martin

Yes, I installed yajl-devel and 4 other rpm packags.,then it works Thank a lot for your response. Cheng -----Original Message----- From: Martin Kletzander [mailto:mkletzan@redhat.com] Sent: 2014年7月1日 17:58 To: WANG Cheng D Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Libvirt installion error: You must install the libyajl library & headers to compile libvirt On Tue, Jul 01, 2014 at 07:00:29AM +0000, WANG Cheng D wrote:
Dear all, I am installing the libvirt 1.2.5 on my newly installed Fedora19. When I run ./configure, an error is reported: "You must install the libyajl library & headers to compile libvirt" In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19. I found several links talking about this error and I downloaded 3 files (configure.ac, m4/virt-yajl.m4, src/qemu/qemu_capabilities.c) from the link given by Daniel Berrange (http://libvirt.org/git/?p=libvirt.git;a=commit;h=654c709baaa6fdcff6b6d38abb0...) , but it does not work.
Am I missing something?
For development you probably need yajl-devel or yajl-libs or whatever's the name. Easiest way to get most of the needed development packages you need is to run "yum-builddep libvirt". Martin
participants (4)
-
Claudio Bley
-
Ján Tomko
-
Martin Kletzander
-
WANG Cheng D