You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Lawrence Stefani <LS...@fortresstech.com> on 2006/10/06 14:55:32 UTC

[users@httpd] Cross-compiling Apache 2.2.3 and PHP 5.1.6

Hello,
Has anyone successfully cross-compiled Apache 2.2.3 and PHP 5.1.6 for
any platform?
The Apache eXtenSion tool (apxs) as a PERL script is platform
independent, but it relies on executing httpd, which having been
cross-compiled, can't be executed natively.
The problem first appears when configuring PHP.  When you pass the
--with-apxs2= option on the ./configure line, it runs apxs, which fails
to execute httpd.  Since apxs is built dynamically and most build
information is found in the ./build directory, why does it need to
execute httpd?
How can apxs become truly platform independent, so it can run
successfully in a cross-compiled environment?
I've also entered this in Bugzilla
(http://issues.apache.org/bugzilla/show_bug.cgi?id=40653) for tracking
purposes.
Thanks,
Larry Stefani 
lstefani@fortresstech.com 


Re: [users@httpd] Cross-compiling Apache 2.2.3 and PHP 5.1.6

Posted by "Luc I. Suryo" <lu...@suryo.com>.
i have: Solaris 10 x86...
no issues... and i have the packages available at ftp://ftp.patriots.net

for the Solaris users: I have not tested my SMF (manifest/xml file..)




> Has anyone successfully cross-compiled Apache 2.2.3 and PHP 5.1.6 for
> any platform?
> The Apache eXtenSion tool (apxs) as a PERL script is platform
> independent, but it relies on executing httpd, which having been
> cross-compiled, can't be executed natively.
> The problem first appears when configuring PHP.  When you pass the
> --with-apxs2= option on the ./configure line, it runs apxs, which fails
> to execute httpd.  Since apxs is built dynamically and most build
> information is found in the ./build directory, why does it need to
> execute httpd?
> How can apxs become truly platform independent, so it can run
> successfully in a cross-compiled environment?
> I've also entered this in Bugzilla
> (http://issues.apache.org/bugzilla/show_bug.cgi?id=40653) for tracking
> purposes.

-ls

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org