Re: Help cross compiling PHP
| From: | José Luis Palacios Vergara | Date: | Thu, 19 May 2005 18:18:23 +0000 |
| Subject: | Re: Help cross compiling PHP | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16140@lists.php.net to get a copy of this message | ||
php-install-unsubscribe-jlpv=publivia.com@lists.php.net
----- Original Message -----
From: "Jason Sheets" <jsheets@idahoimageworks.com>
To: <php-install@lists.php.net>
Sent: Wednesday, May 18, 2005 9:00 PM
Subject: [PHP-INSTALL] Help cross compiling PHP
> 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