arm-linux-gcc 4.3.2
php-5.2.9
apache-1.3.41
apache的配置信息如下:
CC=arm-linux-gcc ./configure –prefix=/usr/local/apache/ --without-execstrip –enable-module=so
交叉编译很顺利,但是配置Php时就是不能通过,如下:  CC=arm-linux-gcc ./configure --with-apxs=/usr/local/apache-arm2/bin/apxs --prefix=/usr/local/php-arm2 --with-libxml-dir=/usr/local/arm/4.3.2/arm-none-linux-gnueabi/ --with-pdo-sqlite=/home/liubonan/arm/sqlite-3.3.8/ --with-iconv-dir=/usr/local/arm/4.3.2/arm-none-linux-gnueabi/ --with-zlib-dir=/usr/local/arm/4.3.2/arm-none-linux-gnueabi/ --host=arm-linux 
  
configure都没过就报这个错误说是httpd不能执行,一直卡在这里,即使把configure的错误都注释掉,make install时还是有这个问题,httpd不能执行,无法install,大侠帮看看呗?~ Configuring SAPI modules 
checking for AOLserver support... no 
checking for Apache 1.x module support via DSO through APXS...  
  
Sorry, I was not able to successfully run APXS.  Possible reasons: 
  
1.  Perl is not installed; 
2.  Apache was not compiled with DSO support (--enable-module=so); 
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs 
The output of /usr/local/apache-arm2/bin/apxs follows 
/usr/local/apache-arm2/bin/httpd: /usr/local/apache-arm2/bin/httpd: cannot execute binary file 
apxs:Error: Sorry, no DSO support for Apache available 
apxs:Error: under your platform. Make sure the Apache 
apxs:Error: module mod_so is compiled into your server 
apxs:Error: binary `/usr/local/apache-arm2/bin/httpd'. 
configure: error: Aborting