返回信息流最近移植php4.4.8,make 之后没有libphp4.so文件啊。。。求指点
这是一条镜像帖。来源:北邮人论坛 / embedded-system / #11057同步于 2011/9/2
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Embedded_System机器人发帖
求助:哪位大牛移植过PHP啊?求指点
tboliu
2011/9/2镜像同步6 回复
订阅后,新回复会通过你的通知中心匿名送达。
6 条回复
【 在 tinyx 的大作中提到: 】
: configure --enable-share ?
: --
./configure --prefix=/data0/php --with-apxs=/data0/apache/bin/apxs --enable-pdo=shared --with-sqlite=shared  --with-pdo-sqlite=shared --with-zlib --host=arm-linux --enable-track-vars --with-xml
这是我的配置,make成功后,生成了libphp4.so,但make install出现/data0/apache/bin/httpd无法执行,这个确实是交叉编译后的。。。该怎么解决啊?
【 在 tinyx 的大作中提到: 】
: httpd执行时报什么错?把出错信息贴上来
: --
配置信息:
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
这错误不是很明显么,重新编译apache吧
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'.
【 在 tboliu (rabbit) 的大作中提到: 】
: 配置信息:
: 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
: configure都没过。。。就报这个错误说是httpd不能执行,一直卡在这里,即使把configure的错误都注释掉,make install时还是有这个问题,httpd不能执行,无法install,大侠帮看看呗?~
: ...................