For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > May 2005 > Help cross compiling PHP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help cross compiling PHP
Jason Sheets

2005-05-19, 3:58 am

Hello,

I am attempting to cross compile PHP 5.02 for the powerpc platform,
using a i386 platform, I have a functionining cross compile and
libraries compiled however I am running into some problems getting PHP's
configure script to complete.

Configuration:

Source: i386 Linux
Target: 603-powerpc-linux

Config Line: ./configure --host=powerpc-603-linux-gnu

Result:

checking for fopencookie ... yes
configure: error can not run test program while cross compiling

Looking at the configure script it appears the configure script is set
to exit 1 when it detects a cross compile is being performed, is there
any way to cross compile PHP?

Thank you.

Jason
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com