[PHP-INSTALL] Re: PHP 7.1.10 compile error on embedded ARM device

Mr Dini <[email protected]> Tue, 24 Oct 2017 18:31:18 +0200
Newsgroups gmane.comp.php.install
Message-ID <CANVNt1Ya771WpRYvYj4hNd374GSeFAKBBvFQBQxToAaz-DOxAg@mail.gmail.com>
--f403045ff95001926f055c4d7849
Content-Type: text/plain; charset="UTF-8"

Hi,

I have an embedded NAS with ARMv5 processor, and I decided to compile the
latest PHP tarball on it. Unfortunately the make throws an error, like
this: https://pastebin.com/raw/ikZB6686

What Can I do? I have mariadb 10.0.21 installed (also self-compiled), and
the box has uClibc 0.9.33.3.

The configure flags, that I used:

--with-apxs2=/ffp/apache2/bin/apxs --prefix=/ffp --sbindir=/ffp/bin
--sysconfdir=/ffp/etc/php --enable-fpm --with-layout=GNU
--with-config-file-path=/ffp/etc/php
--with-config-file-scan-dir=/ffp/etc/php/conf.d
--enable-hash --enable-session --enable-posix=shared
--enable-sockets=shared --enable-sysvsem=shared --enable-calendar=shared
--enable-ctype=shared --enable-dba=shared --enable-dom=shared
--with-gd=shared --enable-gd-native-ttf --enable-xmlreader=shared
--enable-libxml --enable-simplexml=shared --enable-soap=shared
--with-libxml-dir=/ffp --enable-mbstring=shared --enable-mbregex=shared
--enable-tokenizer=shared --enable-ftp=shared --enable-pcntl
--with-pcre-regex=/ffp --with-pcre-dir=/ffp --with-sqlite3=shared,/ffp
--with-pdo-sqlite=shared,/ffp --with-pdo-mysql=shared,/ffp
--with-mysql-sock=/ffp/var/run/mysqld/mysqld.sock
--with-mysqli=shared,/ffp/bin/mysql_config --enable-embedded-mysqli
--with-zlib=/ffp --with-zlib-dir=/ffp --enable-zip=shared,/ffp
--with-bz2=shared,/ffp --with-openssl=/ffp --with-openssl-dir=/ffp
--with-gdbm=shared,/ffp --with-gmp=shared,/ffp --with-curl=shared,/ffp
--with-jpeg-dir=/ffp --with-png-dir=/ffp --enable-exif=shared,/ffp
--with-freetype-dir=/ffp --with-gettext=shared,/ffp
--with-iconv=shared,/ffp --with-iconv-dir=/ffp --with-icu-dir=/ffp
--enable-intl=shared --with-readline=/ffp --with-xmlrpc=shared
--with-xsl=shared,/ffp

What Can I do?

Many thanks.

--f403045ff95001926f055c4d7849
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<br><div class=3D"gmail_extra"><div class=3D"gmail_quot=
e"><div><div><div><div><div><br></div>I have an embedded NAS with ARMv5 pro=
cessor, and I decided to compile the latest PHP tarball on it. Unfortunatel=
y the make throws an error, like this: <a href=3D"https://pastebin.com/raw/=
ikZB6686" target=3D"_blank">https://pastebin.com/raw/ikZB6<wbr>686</a><br><=
br></div>What Can I do? I have mariadb 10.0.21 installed (also self-compile=
d), and the box has uClibc 0.9.33.3.<br><br></div>The configure flags, that=
 I used:<br><br><div style=3D"margin-left:40px"><span style=3D"font-family:=
monospace,monospace">--with-apxs2=3D/ffp/apache2/bin/<wbr>apxs --prefix=3D/=
ffp --sbindir=3D/ffp/bin --sysconfdir=3D/ffp/etc/php --enable-fpm --with-la=
yout=3DGNU --with-config-file-path=3D/ffp/e<wbr>tc/php --with-config-file-s=
can-dir=3D/f<wbr>fp/etc/php/conf.d --enable-hash --enable-session --enable-=
posix=3Dshared --enable-sockets=3Dshared --enable-sysvsem=3Dshared --enable=
-calendar=3Dshared --enable-ctype=3Dshared --enable-dba=3Dshared --enable-d=
om=3Dshared --with-gd=3Dshared --enable-gd-native-ttf --enable-xmlreader=3D=
shared --enable-libxml --enable-simplexml=3Dshared --enable-soap=3Dshared -=
-with-libxml-dir=3D/ffp --enable-mbstring=3Dshared --enable-mbregex=3Dshare=
d --enable-tokenizer=3Dshared --enable-ftp=3Dshared --enable-pcntl --with-p=
cre-regex=3D/ffp --with-pcre-dir=3D/ffp --with-sqlite3=3Dshared,/ffp --with=
-pdo-sqlite=3Dshared,/ffp --with-pdo-mysql=3Dshared,/ffp --with-mysql-sock=
=3D/ffp/var/run<wbr>/mysqld/mysqld.sock --with-mysqli=3Dshared,/ffp/bin/<wb=
r>mysql_config --enable-embedded-mysqli --with-zlib=3D/ffp --with-zlib-dir=
=3D/ffp --enable-zip=3Dshared,/ffp --with-bz2=3Dshared,/ffp --with-openssl=
=3D/ffp --with-openssl-dir=3D/ffp --with-gdbm=3Dshared,/ffp --with-gmp=3Dsh=
ared,/ffp --with-curl=3Dshared,/ffp --with-jpeg-dir=3D/ffp --with-png-dir=
=3D/ffp --enable-exif=3Dshared,/ffp --with-freetype-dir=3D/ffp --with-gette=
xt=3Dshared,/ffp --with-iconv=3Dshared,/ffp --with-iconv-dir=3D/ffp --with-=
icu-dir=3D/ffp --enable-intl=3Dshared --with-readline=3D/ffp --with-xmlrpc=
=3Dshared --with-xsl=3Dshared,/ffp</span></div><div style=3D"margin-left:40=
px"><span style=3D"font-family:monospace,monospace"><br></span></div><span =
style=3D"font-family:monospace,monospace"><font face=3D"arial,helvetica,san=
s-serif">What Can I do?<br><br></font></span></div><span style=3D"font-fami=
ly:monospace,monospace"><font face=3D"arial,helvetica,sans-serif">Many than=
ks.<br></font></span><div><div><div><div><br><br></div></div></div></div></=
div>
</div><br></div></div>

--f403045ff95001926f055c4d7849--