[xml] Issue in building for arm...

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,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]