Hi,

Yes In my configure.in file there is condition which checks availability of 
libxml2 module as a Python Module i.e. it use AX_PYTHON_MODULE(libxml2,fatal).
Now in other Modules I have not seen any  kind checking of Python Libxml2 
module. i.e they don’t use AX_PYTHON_MODULE(libxml2,fatal).
As I stated earlier due to AX_PYTHON_MODULE condition it will check libxml2 
module in PC  if I am not inherit setuptools. ( In this case my PC have libxml2 
so no errors).
But if I inherit setuptools then it search for Cross Platform Libxml2 and it 
shows error.(  I guess this is correct way )

Yes in My bb file I am inherit pkgconfig also. But again it shows same error.

Any idea how to overcome above error ?

Regards,
Viraj Mistry

From: Khem Raj [mailto:[email protected]]
Sent: Wednesday, November 22, 2017 9:09 PM
To: Viraj Mistry <[email protected]>
Cc: [email protected]; Amit Gondaliya <[email protected]>
Subject: Re: [yocto] DEPENDS python-xml not working in pyro2.3

Check the configure logs, or post the logs somewhere. You should be looking at 
the test which is done to assert presence
of libxml2 and then see why its failing. btw. you might need to
inherit pkgconfig if pkgconfig is used for conguring lib deps.

On Tue, Nov 21, 2017 at 11:37 PM, Viraj Mistry 
<[email protected]<mailto:[email protected]>> wrote:
Hi KhemRaj,

Thank you for update.
Yes we have added libxml2 to DEPENDS but same error.
But what we observe is when we inherit setuptools then it is showing this error 
“checking python module: libxml2... no”.
But when we don’t inherit setuptools then it will take PC’s libxml2 package. 
However we want target libxml2 package.
In daisy version we used python-xml and it resolve our issue. However in pyro 
we are facing this issue.

Please help us in this matter.

Regards,
Viraj Mistry

From: Khem Raj [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, November 21, 2017 10:29 PM
To: Amit Gondaliya 
<[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>; Viraj Mistry 
<[email protected]<mailto:[email protected]>>
Subject: Re: [yocto] DEPENDS python-xml not working in pyro2.3

you might need to add libxml2 to DEPENDS

On Tue, Nov 21, 2017 at 3:26 AM, Amit Gondaliya 
<[email protected]<mailto:[email protected]>> wrote:

Hello All,



I am configuring one package using pyro 2.3 I sticked at below error..


checking python module: libxml2...
no
configure: error: failed to find required module libxml2
checking python module: curses... yes
checking python module: libxml2... no
configure: error: failed to find required module libxml2

I have "python-xml" in my "application.bb<http://application.bb>" file as 
DEPENDS variable, this is working fine yocto daisy1.6, however this is not 
working with yocto pyro2.3

Best Regards,
Amit Gondaliya





*************************************************************************************************************************************************************
 eInfochips Business Disclaimer: This e-mail message and all attachments 
transmitted with it are intended solely for the use of the addressee and may 
contain legally privileged and confidential information. If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited. If you have received this message in error, 
please notify the sender immediately by replying to this message and please 
delete it from your computer. Any views expressed in this message are those of 
the individual sender unless otherwise stated. Company has taken enough 
precautions to prevent the spread of viruses. However the company accepts no 
liability for any damage caused by any virus transmitted by this email. 
*************************************************************************************************************************************************************

--
_______________________________________________
yocto mailing list
[email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/yocto


-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to