Re: [xml] Issue in building for arm...

2021-01-18 Thread Abu Muttalib via xml
Thanks Nick.

Tried that. With this option disabled, I do not get the shared library.

With static library the test_onvif does not build.


On Mon, Jan 18, 2021, 5:26 PM Nick Wellnhofer  wrote:

> On 18/01/2021 12:30, Abu Muttalib via xml wrote:
> > In file included from /usr/include/python2.7/Python.h:8:0,
> >   from libxml.c:15:
> > /usr/include/python2.7/pyconfig.h:14:54: fatal error:
> > arm-linux-gnueabihf/python2.7/pyconfig.h: No such file or directory
> > compilation terminated.
>
> Simply disable the Python bindings:
>
>  ./configure --without-python
>
> Nick
>
>
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml


Re: [xml] Issue in building for arm...

2021-01-18 Thread Nick Wellnhofer via xml

On 18/01/2021 12:30, Abu Muttalib via xml wrote:

In file included from /usr/include/python2.7/Python.h:8:0,
                  from libxml.c:15:
/usr/include/python2.7/pyconfig.h:14:54: fatal error: 
arm-linux-gnueabihf/python2.7/pyconfig.h: No such file or directory

compilation terminated.


Simply disable the Python bindings:

./configure --without-python

Nick

___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml


[xml] Issue in building for arm...

2021-01-18 Thread Abu Muttalib via xml
Hi There...

I am keeping the request short so that it does not take much of your time.

I have downloaded libxml (2.9.10) and trying to build it for arm board, but
facing some issues.
I have configured libxml as below
./configure CFLAGS=-std=gnu99 --host=arm --prefix=/opt/_install_4/
--without-zlib
It configures without any issue but when I run make I run into problem,
below,

make[2]: Entering directory `/home/abu/codebase/onvif/libxml2-master/python'
make  all-recursive
make[3]: Entering directory `/home/abu/codebase/onvif/libxml2-master/python'
Making all in .
make[4]: Entering directory `/home/abu/codebase/onvif/libxml2-master/python'
  CC   libxml.lo
In file included from /usr/include/python2.7/Python.h:8:0,
 from libxml.c:15:
/usr/include/python2.7/pyconfig.h:14:54: fatal error:
arm-linux-gnueabihf/python2.7/pyconfig.h: No such file or directory
compilation terminated.
make[4]: *** [libxml.lo] Error 1
make[4]: Leaving directory `/home/abu/codebase/onvif/libxml2-master/python'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/abu/codebase/onvif/libxml2-master/python'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/abu/codebase/onvif/libxml2-master/python'

Any pointer on how to solve it will be of great help.

Thanks in anticipation.

Thanks & Regards,
Abu
___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml