Dear all,
I am trying to cross compile php-5.6.9 for ARM and I tried to run the next configuration:
Code:
./configure --prefix=/usr/local/php CC=arm-xilinx-linux-gnueabi-gcc --host=arm-xilinx-linux-gnueabi --enable-pdo --with-mysql=/home/nordin/Xilinx/Software_arm/mysql_php_apache/mysql/usr/local/mysql --with-mysqli=/home/nordin/Xilinx/Software_arm/mysql_php_apache/mysql/usr/local/mysql/bin/mysql_config/bin/mysql_config --with-pdo-mysql --with-zlib=/home/nordin/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin --without-iconv
But the output is:
Configuring extensions
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works...
checking for OpenSSL support... no
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4... 1.2.8
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... no
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works...
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo support... yes
checking for strcasestr... configure: error: in `/home/usr/Xilinx/Software_arm/mysql_php_apache/php-5.6.9':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
usr@ubuntu:~/Xilinx/Software_arm/mysql_php_apache/php-5.6.9$ gedit config.log
I have attached config.log
Any suggestion suggestions?
Thanks in advance and best regards.