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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Luc,

Thanks for the reply.

I visited your site, but it's not clear to me whether you were
cross-compiling for SPARC on your x86 system.  If so, did you use the
standard --host= and --target= options to point to your cross-compiler
when building Apache?  Also, did you configure PHP using both --host=
and --with-apxs2= options?

The problem I'm seeing is the same ./apache/bin directory that contains
the apxs PERL script also contains the cross-compiled httpd daemon.  In
the above example, the daemon would have been compiled and linked for
SPARC, which (naturally) isn't executable under x86, so PHP configure
fails.

If you were able to build libphp5.so for SPARC on your Solaris x86
system using Apache 2.2.3 apxs, I'd appreciate seeing your ./configure
lines.

Thanks,
Larry

-----Original Message-----
From: Luc I. Suryo [mailto:luc@xxxxxxxxx] 
Sent: Friday, October 06, 2006 11:40 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Cross-compiling Apache 2.2.3 and PHP 5.1.6


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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux