All of lore.kernel.org
 help / color / mirror / Atom feed
* DEPENDS python-xml not working in pyro2.3
@ 2017-11-21 11:26 Amit Gondaliya
  2017-11-21 16:58 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Amit Gondaliya @ 2017-11-21 11:26 UTC (permalink / raw)
  To: yocto; +Cc: Viraj Mistry

[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]

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" 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. *************************************************************************************************************************************************************

[-- Attachment #2: Type: text/html, Size: 4325 bytes --]

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

* Re: DEPENDS python-xml not working in pyro2.3
  2017-11-21 11:26 DEPENDS python-xml not working in pyro2.3 Amit Gondaliya
@ 2017-11-21 16:58 ` Khem Raj
  2017-11-22  7:37   ` Viraj Mistry
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2017-11-21 16:58 UTC (permalink / raw)
  To: Amit Gondaliya; +Cc: Viraj Mistry, yocto

[-- Attachment #1: Type: text/plain, Size: 2179 bytes --]

you might need to add libxml2 to DEPENDS

On Tue, Nov 21, 2017 at 3:26 AM, Amit Gondaliya <
amit.gondaliya@einfochips.com> 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" file as *DEPEND**S* 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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 5063 bytes --]

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

* Re: DEPENDS python-xml not working in pyro2.3
  2017-11-21 16:58 ` Khem Raj
@ 2017-11-22  7:37   ` Viraj Mistry
  2017-11-22 15:38     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Viraj Mistry @ 2017-11-22  7:37 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2923 bytes --]

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:raj.khem@gmail.com]
Sent: Tuesday, November 21, 2017 10:29 PM
To: Amit Gondaliya <amit.gondaliya@einfochips.com>
Cc: yocto@yoctoproject.org; Viraj Mistry <Viraj.Mistry@einfochips.com>
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 <amit.gondaliya@einfochips.com<mailto:amit.gondaliya@einfochips.com>> 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
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Type: text/html, Size: 10591 bytes --]

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

* Re: DEPENDS python-xml not working in pyro2.3
  2017-11-22  7:37   ` Viraj Mistry
@ 2017-11-22 15:38     ` Khem Raj
  2017-11-23  4:42       ` Viraj Mistry
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2017-11-22 15:38 UTC (permalink / raw)
  To: Viraj Mistry; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3436 bytes --]

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 <Viraj.Mistry@einfochips.com>
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:raj.khem@gmail.com]
> *Sent:* Tuesday, November 21, 2017 10:29 PM
> *To:* Amit Gondaliya <amit.gondaliya@einfochips.com>
> *Cc:* yocto@yoctoproject.org; Viraj Mistry <Viraj.Mistry@einfochips.com>
> *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 <
> amit.gondaliya@einfochips.com> 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" 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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
>

[-- Attachment #2: Type: text/html, Size: 10152 bytes --]

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

* Re: DEPENDS python-xml not working in pyro2.3
  2017-11-22 15:38     ` Khem Raj
@ 2017-11-23  4:42       ` Viraj Mistry
  0 siblings, 0 replies; 5+ messages in thread
From: Viraj Mistry @ 2017-11-23  4:42 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4455 bytes --]

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:raj.khem@gmail.com]
Sent: Wednesday, November 22, 2017 9:09 PM
To: Viraj Mistry <Viraj.Mistry@einfochips.com>
Cc: yocto@yoctoproject.org; Amit Gondaliya <amit.gondaliya@einfochips.com>
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 <Viraj.Mistry@einfochips.com<mailto:Viraj.Mistry@einfochips.com>> 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:raj.khem@gmail.com<mailto:raj.khem@gmail.com>]
Sent: Tuesday, November 21, 2017 10:29 PM
To: Amit Gondaliya <amit.gondaliya@einfochips.com<mailto:amit.gondaliya@einfochips.com>>
Cc: yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>; Viraj Mistry <Viraj.Mistry@einfochips.com<mailto:Viraj.Mistry@einfochips.com>>
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 <amit.gondaliya@einfochips.com<mailto:amit.gondaliya@einfochips.com>> 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
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto



[-- Attachment #2: Type: text/html, Size: 16561 bytes --]

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

end of thread, other threads:[~2017-11-23  4:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-21 11:26 DEPENDS python-xml not working in pyro2.3 Amit Gondaliya
2017-11-21 16:58 ` Khem Raj
2017-11-22  7:37   ` Viraj Mistry
2017-11-22 15:38     ` Khem Raj
2017-11-23  4:42       ` Viraj Mistry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.