Issue in building for arm...
Abu Muttalib via xml <[email protected]> Mon, 18 Jan 2021 17:00:04 +0530
| Newsgroups | gmane.comp.gnome.lib.xml.general |
|---|---|
| Message-ID | <CAB907MkfzhRwybB2GoCFga8PEupfFztO8V+=A13RPAfwbOi63Q@mail.gmail.com> |
--===============3192165433545192193==
Content-Type: multipart/alternative; boundary="000000000000c5d87a05b92b0b88"
--000000000000c5d87a05b92b0b88
Content-Type: text/plain; charset="UTF-8"
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
--000000000000c5d87a05b92b0b88
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:trebuche=
t ms,sans-serif;color:#0b5394">Hi There...</div><div class=3D"gmail_default=
" style=3D"font-family:trebuchet ms,sans-serif;color:#0b5394"><br></div><di=
v class=3D"gmail_default" style=3D"font-family:trebuchet ms,sans-serif;colo=
r:#0b5394">I am keeping the request short so that it does not take much of =
your time.</div><div class=3D"gmail_default" style=3D"font-family:trebuchet=
ms,sans-serif;color:#0b5394"><br></div><div class=3D"gmail_default" style=
=3D"font-family:trebuchet ms,sans-serif;color:#0b5394">I have downloaded li=
bxml (2.9.10) and trying to build it for arm board, but facing some issues.=
</div><div class=3D"gmail_default" style=3D"font-family:trebuchet ms,sans-s=
erif;color:#0b5394">I have configured libxml as below</div><div class=3D"gm=
ail_default" style=3D"font-family:trebuchet ms,sans-serif;color:#0b5394">./=
configure CFLAGS=3D-std=3Dgnu99 --host=3Darm --prefix=3D/opt/_install_4/ --=
without-zlib</div><div class=3D"gmail_default" style=3D"font-family:trebuch=
et ms,sans-serif;color:#0b5394">It configures without any issue but when I =
run make I run into problem, below,</div><div class=3D"gmail_default" style=
=3D"font-family:trebuchet ms,sans-serif;color:#0b5394"><br></div><div class=
=3D"gmail_default" style=3D"font-family:trebuchet ms,sans-serif;color:#0b53=
94">make[2]: Entering directory `/home/abu/codebase/onvif/libxml2-master/py=
thon'<br>make =C2=A0all-recursive<br>make[3]: Entering directory `/home=
/abu/codebase/onvif/libxml2-master/python'<br>Making all in .<br>make[4=
]: Entering directory `/home/abu/codebase/onvif/libxml2-master/python'<=
br>=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 libxml.lo<br>In file included from /usr/i=
nclude/python2.7/Python.h:8:0,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0from libxml.c:15:<br>/usr/include/python2.7/pyconfig.h=
:14:54: fatal error: arm-linux-gnueabihf/python2.7/pyconfig.h: No such file=
or directory<br>compilation terminated.<br>make[4]: *** [libxml.lo] Error =
1<br>make[4]: Leaving directory `/home/abu/codebase/onvif/libxml2-master/py=
thon'<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving direc=
tory `/home/abu/codebase/onvif/libxml2-master/python'<br>make[2]: *** [=
all] Error 2<br>make[2]: Leaving directory `/home/abu/codebase/onvif/libxml=
2-master/python'</div><div class=3D"gmail_default" style=3D"font-family=
:trebuchet ms,sans-serif;color:#0b5394"><br></div><div class=3D"gmail_defau=
lt" style=3D"font-family:trebuchet ms,sans-serif;color:#0b5394">Any pointer=
on how to solve it will be of great help.</div><div class=3D"gmail_default=
" style=3D"font-family:trebuchet ms,sans-serif;color:#0b5394"><br></div><di=
v class=3D"gmail_default" style=3D"font-family:trebuchet ms,sans-serif;colo=
r:#0b5394">Thanks in anticipation.<br></div><div><div dir=3D"ltr" class=3D"=
gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><=
font color=3D"#0b5394"><font size=3D"2"><font face=3D"trebuchet ms,sans-ser=
if"><br>Thanks & Regards,<br></font></font></font></div><font color=3D"=
#0b5394"><font size=3D"2"><font face=3D"trebuchet ms,sans-serif">Abu<br></f=
ont></font></font></div></div></div></div>
--000000000000c5d87a05b92b0b88--
--===============3192165433545192193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml
--===============3192165433545192193==--