LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-07-2015, 03:04 PM   #1
MagicPhoton
LQ Newbie
 
Registered: Jun 2015
Posts: 5

Rep: Reputation: Disabled
cross compiling php-5.6.9 for arm


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.
Attached Files
File Type: log config.log (223.6 KB, 31 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compiling apache-2.0.54 for arm jkeertir Linux - Newbie 3 09-11-2014 01:35 PM
Cross Compiling For ARM ExternalUse Linux - Software 1 06-27-2014 01:39 AM
Cross compiling for CX-919 ARM linuxhippy Linux - Kernel 3 02-11-2014 08:46 AM
[SOLVED] cross compiling for arm with buildroot brooko Slackware 3 01-29-2011 11:42 AM
Cross compiling for ARM Hachaso Programming 1 06-26-2009 06:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration